Lexis
1.0.0
Vocabulary of events and shared objects for BBP and HBP software
|
Public Types | |
typedef ::zerobuf::Vector< char > | Operation |
Public Member Functions | |
Progress::Operation & | getOperation () |
Get a reference to the char dynamic member. More... | |
const Progress::Operation & | getOperation () const |
void | setOperation (char const *value, size_t size) |
Set the value of the char dynamic object from a char* and size. More... | |
std::string | getOperationString () const |
void | setOperation (const std::string &value) |
Set the value of the char dynamic object from a std::string. More... | |
float | getAmount () const |
void | setAmount (float value) |
Set the value of the float fixed size member. More... | |
void | compact (float threshold=0.1f) final |
Progress (const std::string &operationValue, const float &amountValue) | |
Progress (const Progress &rhs) | |
Progress (Progress &&rhs) noexcept | |
Progress (const ::zerobuf::Zerobuf &rhs) | |
Progress (::zerobuf::AllocatorPtr allocator) | |
Progress & | operator= (const Progress &rhs) |
Progress & | operator= (Progress &&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 20 of file progress.h.
Progress::Operation& lexis::data::detail::Progress::getOperation | ( | ) |
Get a reference to the char dynamic member.
WARNING: If the reference is used to modify the object, notifyChanged() needs to be explicitly called afterwards.
void lexis::data::detail::Progress::setAmount | ( | float | value | ) |
Set the value of the float fixed size member.
notifyChanged() is internally called after the change has been done.
value | the float value to be set in the current object |
void lexis::data::detail::Progress::setOperation | ( | char const * | value, |
size_t | size | ||
) |
Set the value of the char dynamic object from a char* 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::data::detail::Progress::setOperation | ( | const std::string & | value | ) |
Set the value of the char dynamic object from a std::string.
notifyChanged() is internally called after the change has been done.
value | a std::string with the data to be set in the current object |