LibMultiSense
LibMultiSense Documentation
SecondaryAppConfigMessage.hh
Go to the documentation of this file.
1 
39 #ifndef LibMultiSense_SecondaryAppConfig
40 #define LibMultiSense_SecondaryAppConfig
41 
42 #include "utility/Portability.hh"
43 #include "wire/Protocol.hh"
44 
45 namespace crl {
46 namespace multisense {
47 namespace details {
48 namespace wire {
49 
51 public:
54 
55  //
56  // Parameters representing the current camera configuration
57  uint32_t dataLength;
58  uint8_t data[1024];
59 
60  //
61  // Constructors
62 
64  serialize(r,v);
65  };
66 
68  dataLength(0),
69  data()
70  {};
71 
72  //
73  // Serialization routine
74 
75  template<class Archive>
76  void serialize(Archive& message,
77  const VersionType version)
78  {
79  (void) version;
80  message & dataLength;
81 
82  for (size_t i = 0; i < dataLength; i++)
83  {
84  message & data[i];
85  }
86  }
87 };
88 
89 }}}} // namespaces
90 
91 #endif
crl::multisense::details::wire::SecondaryAppConfig::data
uint8_t data[1024]
Definition: SecondaryAppConfigMessage.hh:58
crl::multisense::details::wire::SecondaryAppConfig::SecondaryAppConfig
SecondaryAppConfig()
Definition: SecondaryAppConfigMessage.hh:67
crl::multisense::details::wire::ID_DATA_SECONDARY_APP_CONFIG
static CRL_CONSTEXPR IdType ID_DATA_SECONDARY_APP_CONFIG
Definition: Protocol.hh:243
Portability.hh
Protocol.hh
CRL_CONSTEXPR
#define CRL_CONSTEXPR
Definition: Portability.hh:49
crl
Definition: BufferStream.hh:51
crl::multisense::details::wire::VersionType
uint16_t VersionType
Definition: Protocol.hh:137
crl::multisense::details::wire::SecondaryAppConfig::SecondaryAppConfig
SecondaryAppConfig(utility::BufferStreamReader &r, VersionType v)
Definition: SecondaryAppConfigMessage.hh:63
crl::multisense::details::utility::BufferStreamReader
Definition: BufferStream.hh:192
multisense
Definition: MultiSenseChannel.hh:44
crl::multisense::details::wire::SecondaryAppConfig::VERSION
static CRL_CONSTEXPR VersionType VERSION
Definition: SecondaryAppConfigMessage.hh:53
crl::multisense::details::wire::SecondaryAppConfig::dataLength
uint32_t dataLength
Definition: SecondaryAppConfigMessage.hh:57
crl::multisense::details::wire::SecondaryAppConfig::ID
static CRL_CONSTEXPR IdType ID
Definition: SecondaryAppConfigMessage.hh:52
crl::multisense::details::wire::SecondaryAppConfig::serialize
void serialize(Archive &message, const VersionType version)
Definition: SecondaryAppConfigMessage.hh:76
crl::multisense::details::wire::SecondaryAppConfig
Definition: SecondaryAppConfigMessage.hh:50
crl::multisense::details::wire::IdType
uint16_t IdType
Definition: Protocol.hh:136