1 #ifndef __DFTPD__DATABUFFER_HPP__
2 #define __DFTPD__DATABUFFER_HPP__
4 #include <boost/shared_ptr.hpp>
15 virtual ~DataBuffer() {}
16 virtual int Read( void* ptr
, int size
) { throw "Read not supported"; }
17 virtual int Write( void* ptr
, int size
) { throw "Write not supported"; }
18 virtual void Store( void* ptr
, int size
) { throw "Store not supported"; }
24 typedef boost::shared_ptr
<DataBuffer
> DataBufferPtr
;