#include <Blob.h>
Public Types | |
typedef std::vector< value_type > | Buffer |
typedef boost::shared_ptr< Buffer > | BufferPtr |
typedef boost::shared_ptr < const Buffer > | ConstBufferPtr |
typedef boost::shared_ptr < ::blob::Blob_ < ContainerAllocator > const > | ConstPtr |
typedef boost::shared_ptr < ::blob::Blob_ < ContainerAllocator > > | Ptr |
typedef uint32_t | size_type |
typedef Blob_< ContainerAllocator > | Type |
typedef uint8_t | value_type |
Public Member Functions | |
ShapeShifter | asMessage () const |
const value_type * | begin () const |
Blob_ () | |
Blob_ (const ContainerAllocator &_alloc) | |
Blob_ (const void *data, size_type size, bool compressed=false) | |
void | clear () |
void | copy () |
void | copy (const value_type *data, size_type size) |
const value_type * | data () const |
bool | empty () const |
const value_type * | end () const |
ConstBufferPtr | getCompressedBlob () const |
ConstBufferPtr | getCopy () |
template<typename M > | |
boost::shared_ptr< M > | instantiate () const |
bool | isCompressed () const |
bool | isCopy () const |
Blob_< ContainerAllocator > & | operator= (const Blob_< ContainerAllocator > &other) |
template<typename Stream > | |
void | read (Stream &stream) |
template<typename M > | |
void | serialize (const M &message) |
uint32_t | serializedLength () const |
void | set (const void *data, size_type size) |
void | set (ConstBufferPtr data) |
void | setCompressed (bool compressed) |
bool | setFromCompressedData (const void *data, uint32_t size) |
size_type | size () const |
template<typename Stream > | |
void | write (Stream &stream) const |
Public Attributes | |
boost::shared_ptr< std::map < std::string, std::string > > | __connection_header |
Private Member Functions | |
bool | compress () const |
bool | decompress (const uint8_t *data, uint32_t size) |
Private Attributes | |
bool | compressed_ |
ConstBufferPtr | compressed_blob_ |
ConstBufferPtr | copy_ |
const value_type * | pointer_ |
size_type | size_ |
typedef std::vector<value_type> blob::Blob_< ContainerAllocator >::Buffer |
typedef boost::shared_ptr<Buffer> blob::Blob_< ContainerAllocator >::BufferPtr |
typedef boost::shared_ptr<const Buffer> blob::Blob_< ContainerAllocator >::ConstBufferPtr |
typedef boost::shared_ptr< ::blob::Blob_<ContainerAllocator> const> blob::Blob_< ContainerAllocator >::ConstPtr |
typedef boost::shared_ptr< ::blob::Blob_<ContainerAllocator> > blob::Blob_< ContainerAllocator >::Ptr |
typedef uint32_t blob::Blob_< ContainerAllocator >::size_type |
typedef Blob_<ContainerAllocator> blob::Blob_< ContainerAllocator >::Type |
typedef uint8_t blob::Blob_< ContainerAllocator >::value_type |
blob::Blob_< ContainerAllocator >::Blob_ | ( | ) | [inline] |
blob::Blob_< ContainerAllocator >::Blob_ | ( | const ContainerAllocator & | _alloc | ) | [inline] |
blob::Blob_< ContainerAllocator >::Blob_ | ( | const void * | data, |
size_type | size, | ||
bool | compressed = false |
||
) | [inline] |
ShapeShifter blob::Blob_< ContainerAllocator >::asMessage | ( | ) | const |
Definition at line 96 of file shape_shifter.h.
const value_type* blob::Blob_< ContainerAllocator >::begin | ( | ) | const [inline] |
void blob::Blob_< ContainerAllocator >::clear | ( | ) | [inline] |
bool blob::Blob_< ContainerAllocator >::compress | ( | ) | const [inline, private] |
void blob::Blob_< ContainerAllocator >::copy | ( | ) | [inline] |
void blob::Blob_< ContainerAllocator >::copy | ( | const value_type * | data, |
size_type | size | ||
) | [inline] |
const value_type* blob::Blob_< ContainerAllocator >::data | ( | ) | const [inline] |
bool blob::Blob_< ContainerAllocator >::decompress | ( | const uint8_t * | data, |
uint32_t | size | ||
) | [inline, private] |
bool blob::Blob_< ContainerAllocator >::empty | ( | ) | const [inline] |
const value_type* blob::Blob_< ContainerAllocator >::end | ( | ) | const [inline] |
ConstBufferPtr blob::Blob_< ContainerAllocator >::getCompressedBlob | ( | ) | const [inline] |
ConstBufferPtr blob::Blob_< ContainerAllocator >::getCopy | ( | ) | [inline] |
boost::shared_ptr<M> blob::Blob_< ContainerAllocator >::instantiate | ( | ) | const [inline] |
bool blob::Blob_< ContainerAllocator >::isCompressed | ( | ) | const [inline] |
bool blob::Blob_< ContainerAllocator >::isCopy | ( | ) | const [inline] |
Blob_<ContainerAllocator>& blob::Blob_< ContainerAllocator >::operator= | ( | const Blob_< ContainerAllocator > & | other | ) | [inline] |
void blob::Blob_< ContainerAllocator >::read | ( | Stream & | stream | ) | [inline] |
void blob::Blob_< ContainerAllocator >::serialize | ( | const M & | message | ) | [inline] |
uint32_t blob::Blob_< ContainerAllocator >::serializedLength | ( | ) | const [inline] |
void blob::Blob_< ContainerAllocator >::set | ( | const void * | data, |
size_type | size | ||
) | [inline] |
void blob::Blob_< ContainerAllocator >::set | ( | ConstBufferPtr | data | ) | [inline] |
void blob::Blob_< ContainerAllocator >::setCompressed | ( | bool | compressed | ) | [inline] |
bool blob::Blob_< ContainerAllocator >::setFromCompressedData | ( | const void * | data, |
uint32_t | size | ||
) | [inline] |
size_type blob::Blob_< ContainerAllocator >::size | ( | ) | const [inline] |
void blob::Blob_< ContainerAllocator >::write | ( | Stream & | stream | ) | const [inline] |
boost::shared_ptr<std::map<std::string, std::string> > blob::Blob_< ContainerAllocator >::__connection_header |
bool blob::Blob_< ContainerAllocator >::compressed_ [private] |
ConstBufferPtr blob::Blob_< ContainerAllocator >::compressed_blob_ [mutable, private] |
ConstBufferPtr blob::Blob_< ContainerAllocator >::copy_ [private] |
const value_type* blob::Blob_< ContainerAllocator >::pointer_ [private] |
size_type blob::Blob_< ContainerAllocator >::size_ [private] |