SysMtuMessage.h
Go to the documentation of this file.
1 
38 #ifndef LibMultiSense_SysMtuMessage
39 #define LibMultiSense_SysMtuMessage
40 
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
static CRL_CONSTEXPR IdType ID
Definition: SysMtuMessage.h:50
void serialize(Archive &message, const VersionType version)
Definition: SysMtuMessage.h:68
Definition: channel.cc:56
static CRL_CONSTEXPR VersionType VERSION
Definition: SysMtuMessage.h:51
SysMtu(utility::BufferStreamReader &r, VersionType v)
Definition: SysMtuMessage.h:61
static CRL_CONSTEXPR IdType ID_CMD_SYS_MTU
Definition: Protocol.h:167
#define CRL_CONSTEXPR
Definition: Portability.hh:51


multisense_lib
Author(s):
autogenerated on Sun Mar 14 2021 02:34:50