OpenJAUS Software Development Kit
4.3.1
|
#include <ImageFrameBlob.h>
Inherits openjaus::model::fields::Blob.
Public Types | |
enum | { JPEG = 0, GIF = 1, PNG = 2, BMP = 3, TIFF = 4, PPM = 5, PGM = 6, PNM = 7, NEF = 8, CR_2 = 9, DNG = 10 } |
Public Member Functions | |
ImageFrameBlob () | |
~ImageFrameBlob () | |
void | copy (ImageFrameBlob &source) |
virtual int | to (system::Buffer *dst) |
Operation to. More... | |
virtual int | from (system::Buffer *src) |
Operation from. More... | |
virtual int | length (void) |
Serializes object to internal transport buffer. More... | |
std::string | toXml (unsigned char ojIndentLevel=0) const |
uint8_t | getFormat () |
std::string | formatToString () const |
bool | setPayload (uint8_t format, system::Buffer &payload) |
![]() | |
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 std::string | toString () const |
![]() | |
virtual | ~ComplexField () |
![]() | |
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... | |
![]() | |
virtual | ~Transportable () |
Transportable () | |
Protected Attributes | |
uint8_t | format |
![]() | |
TypesUnsigned | sizeType |
std::vector< BlobType *> | types |
system::Buffer | payload |
![]() | |
std::string | name |
openjaus::environment::ImageFrameBlob::ImageFrameBlob | ( | ) |
openjaus::environment::ImageFrameBlob::~ImageFrameBlob | ( | ) |
void openjaus::environment::ImageFrameBlob::copy | ( | ImageFrameBlob & | source | ) |
std::string openjaus::environment::ImageFrameBlob::formatToString | ( | ) | const |
|
virtual |
src |
Reimplemented from openjaus::model::fields::Blob.
uint8_t openjaus::environment::ImageFrameBlob::getFormat | ( | ) |
|
virtual |
Reimplemented from openjaus::model::fields::Blob.
bool openjaus::environment::ImageFrameBlob::setPayload | ( | uint8_t | format, |
system::Buffer & | payload | ||
) |
|
virtual |
dst |
Reimplemented from openjaus::model::fields::Blob.
std::string openjaus::environment::ImageFrameBlob::toXml | ( | unsigned char | ojIndentLevel = 0 | ) | const |
|
protected |