LibMultiSense
LibMultiSense Documentation
Loading...
Searching...
No Matches
SysSetPtpMessage.hh
Go to the documentation of this file.
1
39#ifndef LibMultiSense_SysSetPtpMessage
40#define LibMultiSense_SysSetPtpMessage
41
43
44namespace crl {
45namespace multisense {
46namespace details {
47namespace wire {
48
49class SysSetPtp {
50public:
53
54 //
55 // If non-zero, the sensor will attempt to synchronize to an external PTP master
56
57 uint8_t enable;
58
59 //
60 // Constructors
61
63 SysSetPtp(uint8_t e=0) : enable(e){};
64
65 //
66 // Serialization routine
67
68 template<class Archive>
69 void serialize(Archive& message,
70 const VersionType version)
71 {
72 (void) version;
73 message & enable;
74 }
75};
76
77}}}} // namespaces
78
79#endif
Macros and symbols to help portability between different compiler versions.
#define CRL_CONSTEXPR
static CRL_CONSTEXPR VersionType VERSION
SysSetPtp(utility::BufferStreamReader &r, VersionType v)
void serialize(Archive &message, const VersionType version)
static CRL_CONSTEXPR IdType ID_CMD_SYS_SET_PTP
Definition Protocol.hh:189