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  message & ppsNanoSeconds;
71  }
72 };
73 
74 }}}}; // namespaces
75 
76 #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:197
static CRL_CONSTEXPR VersionType VERSION
Definition: SysPpsMessage.h:50
static CRL_CONSTEXPR IdType ID
Definition: SysPpsMessage.h:49
#define CRL_CONSTEXPR
Definition: Portability.hh:38


multisense_lib
Author(s):
autogenerated on Sat Apr 6 2019 02:16:46