OpenJAUS Software Development Kit
4.3.1
|
This is a brief description. More...
#include <Blob.h>
Inherits openjaus::model::fields::ComplexField, openjaus::model::fields::Field, and openjaus::system::Transportable.
Inherited by openjaus::environment::CompressedDataBlob, and openjaus::environment::ImageFrameBlob.
Public Member Functions | |
Blob () | |
virtual | ~Blob () |
TypesUnsigned | getSizeType () const |
Accessor to get the value of sizeType. More... | |
bool | setSizeType (TypesUnsigned sizeType) |
Accessor to set value of sizeType. More... | |
const std::vector< BlobType *> & | getTypes () const |
Accessor to get the value of types. More... | |
bool | setTypes (const BlobType &types) |
Accessor to set value of types. More... | |
const system::Buffer & | getPayload () const |
Accessor to get the value of payload. More... | |
bool | setPayload (const system::Buffer &payload) |
Accessor to set value of payload. More... | |
virtual int | to (system::Buffer *dst) |
Operation to. More... | |
virtual int | from (system::Buffer *src) |
Operation from. More... | |
virtual int | length () |
Serializes object to internal transport buffer. More... | |
virtual std::string | toString () const |
Public Member Functions inherited from openjaus::model::fields::ComplexField | |
virtual | ~ComplexField () |
Public Member Functions inherited from openjaus::model::fields::Field | |
Field () | |
virtual | ~Field () |
std::string | getName () const |
Accessor to get the value of name. More... | |
bool | setName (std::string name) |
Accessor to set value of name. More... | |
Public Member Functions inherited from openjaus::system::Transportable | |
virtual | ~Transportable () |
Transportable () | |
Protected Attributes | |
TypesUnsigned | sizeType |
std::vector< BlobType *> | types |
system::Buffer | payload |
Protected Attributes inherited from openjaus::model::fields::Field | |
std::string | name |
Friends | |
OPENJAUS_EXPORT friend std::ostream & | operator<< (std::ostream &output, const Blob &object) |
OPENJAUS_EXPORT friend std::ostream & | operator<< (std::ostream &output, const Blob *object) |
Detailed description.
openjaus::model::fields::Blob::Blob | ( | ) |
|
virtual |
|
virtual |
src |
Implements openjaus::system::Transportable.
Reimplemented in openjaus::environment::CompressedDataBlob, and openjaus::environment::ImageFrameBlob.
const system::Buffer & openjaus::model::fields::Blob::getPayload | ( | ) | const |
TypesUnsigned openjaus::model::fields::Blob::getSizeType | ( | ) | const |
const std::vector< BlobType *> & openjaus::model::fields::Blob::getTypes | ( | ) | const |
|
virtual |
Implements openjaus::system::Transportable.
Reimplemented in openjaus::environment::CompressedDataBlob, and openjaus::environment::ImageFrameBlob.
bool openjaus::model::fields::Blob::setPayload | ( | const system::Buffer & | payload | ) |
payload | The value of the new payload. |
bool openjaus::model::fields::Blob::setSizeType | ( | TypesUnsigned | sizeType | ) |
sizeType | The value of the new sizeType. |
bool openjaus::model::fields::Blob::setTypes | ( | const BlobType & | types | ) |
types | The value of the new types. |
|
virtual |
dst |
Implements openjaus::system::Transportable.
Reimplemented in openjaus::environment::CompressedDataBlob, and openjaus::environment::ImageFrameBlob.
|
virtual |
Reimplemented from openjaus::model::fields::Field.
|
friend |
|
friend |
|
protected |
|
protected |
|
protected |