Lexis
1.1.0
Vocabulary of events and shared objects for BBP and HBP software
|
Public Types | |
typedef ::zerobuf::Vector< uint64_t > | Bins |
Public Member Functions | |
Histogram::Bins & | getBins () |
Get a reference to the Bins dynamic member. More... | |
const Histogram::Bins & | getBins () const |
void | setBins (uint64_t const *value, size_t size) |
Set the value of the Bins dynamic object from a uint64_t* and size. More... | |
std::vector< uint64_t > | getBinsVector () const |
void | setBins (const std::vector< uint64_t > &value) |
Set the value of the Bins dynamic object from a std::vector< uint64_t >. More... | |
float | getMin () const |
void | setMin (float value) |
Set the Min value. More... | |
float | getMax () const |
void | setMax (float value) |
Set the Max value. More... | |
void | compact (float threshold=0.1f) final |
Histogram (const std::vector< uint64_t > &binsValue, const float &minValue, const float &maxValue) | |
Histogram (const Histogram &rhs) | |
Histogram (Histogram &&rhs) noexcept | |
Histogram (const ::zerobuf::Zerobuf &rhs) | |
Histogram (::zerobuf::AllocatorPtr allocator) | |
Histogram & | operator= (const Histogram &rhs) |
Histogram & | operator= (Histogram &&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 histogram.h.
Histogram::Bins& lexis::render::Histogram::getBins | ( | ) |
Get a reference to the Bins dynamic member.
void lexis::render::Histogram::setBins | ( | uint64_t const * | value, |
size_t | size | ||
) |
Set the value of the Bins dynamic object from a uint64_t* and size.
notifyChanged() is internally called after the data has been copied.
value | a uint64_t* to the data to be set in the current object |
size | the size of the data to be set |
void lexis::render::Histogram::setBins | ( | const std::vector< uint64_t > & | value | ) |
Set the value of the Bins dynamic object from a std::vector< uint64_t >.
notifyChanged() is internally called after the data has been copied.
value | a std::vector< uint64_t > object with the data to be set |
void lexis::render::Histogram::setMax | ( | float | value | ) |
Set the Max value.
notifyChanged() is internally called after the change has been done.
value | the Max value |
void lexis::render::Histogram::setMin | ( | float | value | ) |
Set the Min value.
notifyChanged() is internally called after the change has been done.
value | the Min value |