LibMultiSense
LibMultiSense Documentation
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
SysMtuMessage.hh
Go to the documentation of this file.
1 
38 #ifndef LibMultiSense_SysMtuMessage
39 #define LibMultiSense_SysMtuMessage
40 
41 #include "utility/Portability.hh"
42 
43 namespace crl {
44 namespace multisense {
45 namespace details {
46 namespace wire {
47 
48 class SysMtu {
49 public:
52 
53  //
54  // Parameters
55 
56  uint32_t mtu;
57 
58  //
59  // Constructors
60 
62  SysMtu(uint32_t m=0) : mtu(m) {};
63 
64  //
65  // Serialization routine
66 
67  template<class Archive>
68  void serialize(Archive& message,
69  const VersionType version)
70  {
71  (void) version;
72  message & mtu;
73  }
74 };
75 
76 }}}} // namespaces
77 
78 #endif
crl::multisense::details::wire::SysMtu::VERSION
static CRL_CONSTEXPR VersionType VERSION
Definition: SysMtuMessage.hh:51
Portability.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::SysMtu::serialize
void serialize(Archive &message, const VersionType version)
Definition: SysMtuMessage.hh:68
crl::multisense::details::wire::SysMtu::SysMtu
SysMtu(uint32_t m=0)
Definition: SysMtuMessage.hh:62
crl::multisense::details::utility::BufferStreamReader
Definition: BufferStream.hh:192
multisense
Definition: MultiSenseChannel.hh:44
crl::multisense::details::wire::SysMtu::SysMtu
SysMtu(utility::BufferStreamReader &r, VersionType v)
Definition: SysMtuMessage.hh:61
crl::multisense::details::wire::SysMtu
Definition: SysMtuMessage.hh:48
crl::multisense::details::wire::IdType
uint16_t IdType
Definition: Protocol.hh:136
crl::multisense::details::wire::ID_CMD_SYS_MTU
static CRL_CONSTEXPR IdType ID_CMD_SYS_MTU
Definition: Protocol.hh:168
crl::multisense::details::wire::SysMtu::ID
static CRL_CONSTEXPR IdType ID
Definition: SysMtuMessage.hh:50
crl::multisense::details::wire::SysMtu::mtu
uint32_t mtu
Definition: SysMtuMessage.hh:56