ZeroBuf  0.2.0
Zero-copy, zero-serialize, zero-hassle protocol buffers
zerobuf::render::LookupTable1D Class Reference
+ Inheritance diagram for zerobuf::render::LookupTable1D:
+ Collaboration diagram for zerobuf::render::LookupTable1D:

Public Member Functions

uint8_t * getLut ()
 
const uint8_t * getLut () const
 
std::vector< uint8_t > getLutVector () const
 
void setLut (uint8_t value[1024])
 
void setLut (const std::vector< uint8_t > &value)
 
void setLut (const std::string &value)
 
size_t getLutSize () const
 
 LookupTable1D (const std::vector< uint8_t > &lutValue)
 
 LookupTable1D (const LookupTable1D &rhs)
 
 LookupTable1D (LookupTable1D &&rhs) throw ()
 
 LookupTable1D (const ::zerobuf::Zerobuf &rhs)
 
 LookupTable1D (::zerobuf::AllocatorPtr allocator)
 
LookupTable1Doperator= (const LookupTable1D &rhs)
 
LookupTable1Doperator= (LookupTable1D &&rhs)
 
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
 
- Public Member Functions inherited from zerobuf::Zerobuf
virtual void notifyChanging ()
 Called if any data in this object is about to change. More...
 
virtual void compact (float threshold=0.1f)
 Remove unused holes from the zerobuf. More...
 
Zerobufoperator= (const Zerobuf &rhs)
 Assignment operator. More...
 
 Zerobuf (Zerobuf &&rhs)
 Move ctor. More...
 
Zerobufoperator= (Zerobuf &&rhs)
 Move operator. More...
 
bool operator== (const Zerobuf &rhs) const
 
bool operator!= (const Zerobuf &rhs) const
 
void reset (AllocatorPtr allocator)
 
void check () const
 

Static Public Member Functions

static size_t ZEROBUF_STATIC_SIZE ()
 
static size_t ZEROBUF_NUM_DYNAMICS ()
 

Additional Inherited Members

- Protected Member Functions inherited from zerobuf::Zerobuf
 Zerobuf (AllocatorPtr alloc)
 
const AllocatorgetAllocator () const
 
AllocatorgetAllocator ()
 
void _copyZerobufArray (const void *data, size_t size, size_t arrayNum)
 

Detailed Description

Definition at line 12 of file lookupTable1D.h.

Member Function Documentation

size_t zerobuf::render::LookupTable1D::getZerobufNumDynamics ( ) const
inlinefinalvirtual
Returns
the number of dynamics fields of this object.

Implements zerobuf::Zerobuf.

Definition at line 40 of file lookupTable1D.h.

size_t zerobuf::render::LookupTable1D::getZerobufStaticSize ( ) const
inlinefinalvirtual
Returns
the static size of this object in bytes.

Implements zerobuf::Zerobuf.

Definition at line 38 of file lookupTable1D.h.


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