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

Public Member Functions

float getX () const
 
void setX (float value)
 
float getY () const
 
void setY (float value)
 
float getZ () const
 
void setZ (float value)
 
 Vector3f (const float &xValue, const float &yValue, const float &zValue)
 
 Vector3f (const Vector3f &rhs)
 
 Vector3f (Vector3f &&rhs) throw ()
 
 Vector3f (const ::zerobuf::Zerobuf &rhs)
 
 Vector3f (::zerobuf::AllocatorPtr allocator)
 
Vector3foperator= (const Vector3f &rhs)
 
Vector3foperator= (Vector3f &&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 camera.h.

Member Function Documentation

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

Implements zerobuf::Zerobuf.

Definition at line 41 of file camera.h.

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

Implements zerobuf::Zerobuf.

Definition at line 39 of file camera.h.


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