Lexis
1.0.0
Vocabulary of events and shared objects for BBP and HBP software
|
Public Types | |
typedef ::zerobuf::Vector< uint8_t > | Data |
Public Member Functions | |
ImageJPEG::Data & | getData () |
Get a reference to the uint8_t dynamic member. More... | |
const ImageJPEG::Data & | getData () const |
void | setData (uint8_t const *value, size_t size) |
Set the value of the uint8_t dynamic object from a uint8_t* and size. More... | |
std::vector< uint8_t > | getDataVector () const |
void | setData (const std::vector< uint8_t > &value) |
Set the value of the uint8_t dynamic object from a uint8_t std::vector. More... | |
void | compact (float threshold=0.1f) final |
ImageJPEG (const std::vector< uint8_t > &dataValue) | |
ImageJPEG (const ImageJPEG &rhs) | |
ImageJPEG (ImageJPEG &&rhs) noexcept | |
ImageJPEG (const ::zerobuf::Zerobuf &rhs) | |
ImageJPEG (::zerobuf::AllocatorPtr allocator) | |
ImageJPEG & | operator= (const ImageJPEG &rhs) |
ImageJPEG & | operator= (ImageJPEG &&rhs) |
std::string | getSchema () const final |
std::string | getTypeName () const final |
::zerobuf::uint128_t | getTypeIdentifier () const final |
size_t | getZerobufStaticSize () const final |
size_t | getZerobufNumDynamics () const final |
void | _parseJSON (const Json::Value &json) final |
void | _createJSON (Json::Value &json) const final |
Definition at line 18 of file imageJPEG.h.
ImageJPEG::Data& lexis::render::ImageJPEG::getData | ( | ) |
Get a reference to the uint8_t dynamic member.
WARNING: If the reference is used to modify the object, notifyChanged() needs to be explicitly called afterwards.
void lexis::render::ImageJPEG::setData | ( | uint8_t const * | value, |
size_t | size | ||
) |
Set the value of the uint8_t dynamic object from a uint8_t* and size.
notifyChanged() is internally called after the change has been done.
value | a pointer to the data to be set in the current object |
size | the size of the data to be set |
void lexis::render::ImageJPEG::setData | ( | const std::vector< uint8_t > & | value | ) |
Set the value of the uint8_t dynamic object from a uint8_t std::vector.
notifyChanged() is internally called after the change has been done.
value | a std::vector< uint8_t > object with the data to be set in the current object |