4 #include <zerobuf/ConstAllocator.h> 5 #include <zerobuf/Vector.h> 6 #include <zerobuf/Zerobuf.h> 16 typedef std::unique_ptr< const LookOut > ConstLookOutPtr;
29 std::vector< double > getMatrixVector()
const;
43 void setMatrix(
const std::vector< double >& value );
44 size_t getMatrixSize()
const;
47 LookOut(
const std::vector< double >& matrixValue );
50 LookOut( const ::zerobuf::Zerobuf& rhs );
51 explicit LookOut( ::zerobuf::AllocatorPtr allocator );
53 LookOut& operator = (
const LookOut& rhs ) { ::zerobuf::Zerobuf::operator = ( rhs );
return *
this; }
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 )))); }
69 void _parseJSON(
const Json::Value& json )
final;
70 void _createJSON( Json::Value& json )
const final;
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*.