Line data Source code
1 : /////////////////////////////////////////////////////////////////////////// 2 : // Spetabaru - Berenger Bramas MPCDF - 2017 3 : // Under LGPL Licence, please you must read the LICENCE file. 4 : /////////////////////////////////////////////////////////////////////////// 5 : #ifndef SPABSTRACTBUFFERMANAGER_HPP 6 : #define SPABSTRACTBUFFERMANAGER_HPP 7 : 8 : template <class TargetType> 9 : class SpAbstractBufferManager{ 10 : public: 11 2 : virtual ~SpAbstractBufferManager(){} 12 : 13 : virtual TargetType* getABuffer() = 0; 14 : virtual void releaseABuffer(TargetType*) = 0; 15 : }; 16 : 17 : #endif