Lexis  1.1.0
Vocabulary of events and shared objects for BBP and HBP software
lookOut.h
1 // Generated by zerobufCxx.py
2 
3 #pragma once
4 #include <zerobuf/ConstAllocator.h> // static create
5 #include <zerobuf/Vector.h> // member
6 #include <zerobuf/Zerobuf.h> // base class
7 #include <array> // member
8 #include <memory> // std::unique_ptr
9 
10 namespace lexis
11 {
12 namespace render
13 {
14 
15 class LookOut;
16 typedef std::unique_ptr< const LookOut > ConstLookOutPtr;
17 
18 class LookOut : public ::zerobuf::Zerobuf
19 {
20 public:
27  double* getMatrix();
28  const double* getMatrix() const;
29  std::vector< double > getMatrixVector() const;
36  void setMatrix( double value[ 16 ] );
43  void setMatrix( const std::vector< double >& value );
44  size_t getMatrixSize() const;
45 
46  LookOut();
47  LookOut( const std::vector< double >& matrixValue );
48  LookOut( const LookOut& rhs );
49  LookOut( LookOut&& rhs ) noexcept;
50  LookOut( const ::zerobuf::Zerobuf& rhs );
51  explicit LookOut( ::zerobuf::AllocatorPtr allocator );
52  virtual ~LookOut();
53  LookOut& operator = ( const LookOut& rhs ) { ::zerobuf::Zerobuf::operator = ( rhs ); return *this; }
54  LookOut& operator = ( LookOut&& rhs );
55 
56  // Introspection
57  std::string getSchema() const final;
58  static std::string ZEROBUF_SCHEMA();
59  std::string getTypeName() const final { return "lexis::render::LookOut"; }
60  static std::string ZEROBUF_TYPE_NAME() { return "lexis::render::LookOut"; }
61  ::zerobuf::uint128_t getTypeIdentifier() const final { return ::zerobuf::uint128_t( 0x5e346775a362856aull, 0xa9dc42d55720cec1ull ); }
62  static ::zerobuf::uint128_t ZEROBUF_TYPE_IDENTIFIER() { return ::zerobuf::uint128_t( 0x5e346775a362856aull, 0xa9dc42d55720cec1ull ); }
63  size_t getZerobufStaticSize() const final { return 132; }
64  static size_t ZEROBUF_STATIC_SIZE() { return 132; }
65  size_t getZerobufNumDynamics() const final { return 0; }
66  static size_t ZEROBUF_NUM_DYNAMICS() { return 0; }
67  static ConstLookOutPtr create( const void* data, const size_t size ) { return ConstLookOutPtr( new LookOut( ::zerobuf::AllocatorPtr( new ::zerobuf::ConstAllocator( reinterpret_cast< const uint8_t* >( data ), size )))); }
68 
69  void _parseJSON( const Json::Value& json ) final;
70  void _createJSON( Json::Value& json ) const final;
71 };
72 
73 }
74 }
75 namespace zerobuf
76 {
77 }
78 
double * getMatrix()
Get a pointer to the Matrix fixed size array.
void setMatrix(double value[16])
Set the value of the Matrix fixed size array from a double*.