SysPpsMessage.h
Go to the documentation of this file.
1 
37 #ifndef LibMultiSense_SysPpsMessage
38 #define LibMultiSense_SysPpsMessage
39 
41 
42 namespace crl {
43 namespace multisense {
44 namespace details {
45 namespace wire {
46 
47 class SysPps {
48 public:
51 
52  //
53  // Sensor system clock at time of last PPS pulse
54 
55  int64_t ppsNanoSeconds;
56 
57  //
58  // Constructors
59 
61  SysPps(int64_t t=0) : ppsNanoSeconds(t) {};
62 
63  //
64  // Serialization routine
65 
66  template<class Archive>
67  void serialize(Archive& message,
68  const VersionType version)
69  {
70  (void) version;
71  message & ppsNanoSeconds;
72  }
73 };
74 
75 }}}} // namespaces
76 
77 #endif
void serialize(Archive &message, const VersionType version)
Definition: SysPpsMessage.h:67
SysPps(utility::BufferStreamReader &r, VersionType v)
Definition: SysPpsMessage.h:60
Definition: channel.cc:56
static CRL_CONSTEXPR IdType ID_DATA_SYS_PPS
Definition: Protocol.h:208
static CRL_CONSTEXPR VersionType VERSION
Definition: SysPpsMessage.h:50
static CRL_CONSTEXPR IdType ID
Definition: SysPpsMessage.h:49
#define CRL_CONSTEXPR
Definition: Portability.hh:51


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