OpenJAUS Software Development Kit  4.3.1
Public Types | Public Member Functions | Protected Attributes | List of all members
openjaus::environment::ImageFrameBlob Class Reference

#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)
 
- Public Member Functions inherited from openjaus::model::fields::Blob
 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::BuffergetPayload () 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
 
- 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

uint8_t format
 
- Protected Attributes inherited from openjaus::model::fields::Blob
TypesUnsigned sizeType
 
std::vector< BlobType *> types
 
system::Buffer payload
 
- Protected Attributes inherited from openjaus::model::fields::Field
std::string name
 

Member Enumeration Documentation

§ anonymous enum

anonymous enum
Enumerator
JPEG 
GIF 
PNG 
BMP 
TIFF 
PPM 
PGM 
PNM 
NEF 
CR_2 
DNG 

Constructor & Destructor Documentation

§ ImageFrameBlob()

openjaus::environment::ImageFrameBlob::ImageFrameBlob ( )

§ ~ImageFrameBlob()

openjaus::environment::ImageFrameBlob::~ImageFrameBlob ( )

Member Function Documentation

§ copy()

void openjaus::environment::ImageFrameBlob::copy ( ImageFrameBlob source)

§ formatToString()

std::string openjaus::environment::ImageFrameBlob::formatToString ( ) const

§ from()

int openjaus::environment::ImageFrameBlob::from ( system::Buffer src)
virtual
Parameters
src

Reimplemented from openjaus::model::fields::Blob.

§ getFormat()

uint8_t openjaus::environment::ImageFrameBlob::getFormat ( )

§ length()

int openjaus::environment::ImageFrameBlob::length ( void  )
virtual

Reimplemented from openjaus::model::fields::Blob.

§ setPayload()

bool openjaus::environment::ImageFrameBlob::setPayload ( uint8_t  format,
system::Buffer payload 
)

§ to()

int openjaus::environment::ImageFrameBlob::to ( system::Buffer dst)
virtual
Parameters
dst

Reimplemented from openjaus::model::fields::Blob.

§ toXml()

std::string openjaus::environment::ImageFrameBlob::toXml ( unsigned char  ojIndentLevel = 0) const

Member Data Documentation

§ format

uint8_t openjaus::environment::ImageFrameBlob::format
protected

The documentation for this class was generated from the following files: