CamSetTriggerSourceMessage.h
Go to the documentation of this file.
1 
39 #ifndef LibMultiSense_CamSetTriggerSourceMessage
40 #define LibMultiSense_CamSetTriggerSourceMessage
41 
43 
44 namespace crl {
45 namespace multisense {
46 namespace details {
47 namespace wire {
48 
50 public:
53 
54  static CRL_CONSTEXPR uint32_t SOURCE_INTERNAL = 0;
55  static CRL_CONSTEXPR uint32_t SOURCE_EXTERNAL = 1; // OPTO_RX
56 
57  //
58  // Parameters
59 
60  uint32_t source;
61 
62  //
63  // Constructors
64 
66  CamSetTriggerSource(uint32_t s=SOURCE_INTERNAL) : source(s) {};
67 
68  //
69  // Serialization routine
70 
71  template<class Archive>
72  void serialize(Archive& message,
73  const VersionType version)
74  {
75  message & source;
76  }
77 };
78 
79 }}}}; // namespaces
80 
81 #endif
Definition: channel.cc:56
void serialize(Archive &message, const VersionType version)
static CRL_CONSTEXPR IdType ID_CMD_CAM_SET_TRIGGER_SOURCE
Definition: Protocol.h:168
CamSetTriggerSource(utility::BufferStreamReader &r, VersionType v)
#define CRL_CONSTEXPR
Definition: Portability.hh:38


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