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  static CRL_CONSTEXPR uint32_t SOURCE_EXTERNAL_INVERTED = 2; // OPTO_RX
57  static CRL_CONSTEXPR uint32_t SOURCE_PTP = 3;
58 
59  //
60  // Parameters
61 
62  uint32_t source;
63 
64  //
65  // Constructors
66 
68  CamSetTriggerSource(uint32_t s=SOURCE_INTERNAL) : source(s) {};
69 
70  //
71  // Serialization routine
72 
73  template<class Archive>
74  void serialize(Archive& message,
75  const VersionType version)
76  {
77  (void) version;
78  message & source;
79  }
80 };
81 
82 }}}} // namespaces
83 
84 #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:177
CamSetTriggerSource(utility::BufferStreamReader &r, VersionType v)
#define CRL_CONSTEXPR
Definition: Portability.hh:51


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