4 #ifndef FIRE_DATA_BUFFER_HPP_INCLUDED
5 #define FIRE_DATA_BUFFER_HPP_INCLUDED
7 #include <boost/shared_ptr.hpp>
8 #include <boost/scoped_array.hpp>
9 #include <fire/gear/threading/types.hpp>
14 #include "fire/gis/export.hpp"
34 Buffer(
unsigned char* buff,
size_t const & size);
37 void reset(
unsigned char * buff,
const size_t &size);
38 unsigned char const * getData()
const;
39 unsigned char * getData();
40 size_t getSize()
const;
47 boost::scoped_array< unsigned char > _data;
49 mutable boost::mutex _mtx;
Definition: BufferSh.hpp:20
Oggetto che incapsula un array di byte con la sua lunghezza.
Definition: Buffer.hpp:27