Lexis  1.1.0
Vocabulary of events and shared objects for BBP and HBP software
lexis::render::LookupTable1D Class Reference
+ Inheritance diagram for lexis::render::LookupTable1D:
+ Collaboration diagram for lexis::render::LookupTable1D:

Public Member Functions

uint8_t * getLut ()
 Get a pointer to the Lut fixed size array. More...
 
const uint8_t * getLut () const
 
std::vector< uint8_t > getLutVector () const
 
void setLut (uint8_t value[1024])
 Set the value of the Lut fixed size array from a uint8_t*. More...
 
void setLut (const std::vector< uint8_t > &value)
 Set the value of the Lut fixed size array object from a std::vector< uint8_t >. More...
 
size_t getLutSize () const
 
 LookupTable1D (const std::vector< uint8_t > &lutValue)
 
 LookupTable1D (const LookupTable1D &rhs)
 
 LookupTable1D (LookupTable1D &&rhs) noexcept
 
 LookupTable1D (const ::zerobuf::Zerobuf &rhs)
 
 LookupTable1D (::zerobuf::AllocatorPtr allocator)
 
LookupTable1Doperator= (const LookupTable1D &rhs)
 
LookupTable1Doperator= (LookupTable1D &&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
 

Static Public Member Functions

static std::string ZEROBUF_SCHEMA ()
 
static std::string ZEROBUF_TYPE_NAME ()
 
::zerobuf::uint128_t ZEROBUF_TYPE_IDENTIFIER ()
 
static size_t ZEROBUF_STATIC_SIZE ()
 
static size_t ZEROBUF_NUM_DYNAMICS ()
 
static ConstLookupTable1DPtr create (const void *data, const size_t size)
 

Detailed Description

Definition at line 18 of file lookupTable1D.h.

Member Function Documentation

uint8_t* lexis::render::LookupTable1D::getLut ( )

Get a pointer to the Lut fixed size array.

Warning
: If the pointer is used to modify the object, notifyChanged() needs to be explicitly called afterwards.
Returns
a pointer to the Lut fixed size array object (uint8_t*).
void lexis::render::LookupTable1D::setLut ( uint8_t  value[1024])

Set the value of the Lut fixed size array from a uint8_t*.

notifyChanged() is internally called after the data has been copied.

Parameters
valuea 1024-length uint8_t array with the data to be set
void lexis::render::LookupTable1D::setLut ( const std::vector< uint8_t > &  value)

Set the value of the Lut fixed size array object from a std::vector< uint8_t >.

notifyChanged() is internally called after the change has been done.

Parameters
valuea std::vector< uint8_t > with the data to be set

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