ZeroBuf  0.1.0
ZeroBuf is a replacement for FlatBuffers
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
camera.h
1 // Generated by zerobufCxx.py
2 
3 #pragma once
4 #include <zerobuf/ConstVector.h>
5 #include <zerobuf/NonMovingAllocator.h>
6 #include <zerobuf/Schema.h>
7 #include <zerobuf/Vector.h>
8 #include <zerobuf/Zerobuf.h>
9 
10 namespace zerobuf
11 {
12 namespace render
13 {
14 template< class Alloc = zerobuf::NonMovingAllocator >
16 {
17 public:
18  float* getOrigin();
19  const float* getOrigin() const;
20  std::vector< float > getOriginVector() const;
21  void setOrigin( float value[ 3 ] );
22  void setOrigin( const std::vector< float >& value );
23  void setOrigin( const std::string& value );
24 
25  float* getLookAt();
26  const float* getLookAt() const;
27  std::vector< float > getLookAtVector() const;
28  void setLookAt( float value[ 3 ] );
29  void setLookAt( const std::vector< float >& value );
30  void setLookAt( const std::string& value );
31 
32  float* getUp();
33  const float* getUp() const;
34  std::vector< float > getUpVector() const;
35  void setUp( float value[ 3 ] );
36  void setUp( const std::vector< float >& value );
37  void setUp( const std::string& value );
38 
39  CameraBase();
40  explicit CameraBase( const ::zerobuf::Zerobuf& from );
41  CameraBase( const CameraBase& from );
42  virtual ~CameraBase() {}
43 
44  CameraBase& operator = ( const CameraBase& rhs )
45  { ::zerobuf::Zerobuf::operator = ( rhs ); return *this; }
46 
47  static bool isEmptyZerobuf() { return false; }
48  static bool isStaticZerobuf() { return true; }
49  servus::uint128_t getZerobufType() const override
50  { return servus::uint128_t( 0xa43b250fbcd843ebull, 0x1af5d3dd0c957543ull ); }
51 
52  static ::zerobuf::Schema schema();
53  ::zerobuf::Schema getSchema() const override { return schema(); }
54 
55 private:
56 };
57 
59 
60 }
61 }
62 
63 #include "camera.ipp"
64 
A runtime and optimized representation of the schema file input, which describes the data layout of a...
Definition: Schema.h:21
Base class for all zerobufs.
Definition: Zerobuf.h:22