LibMultiSense
LibMultiSense Documentation
SecondaryAppActivateMessage.hh
Go to the documentation of this file.
1 
39 #ifndef LibMultiSense_SecondaryAppActivate
40 #define LibMultiSense_SecondaryAppActivate
41 
42 #include "utility/Portability.hh"
43 #include "wire/Protocol.hh"
44 
45 namespace crl {
46 namespace multisense {
47 namespace details {
48 namespace wire {
49 
51 public:
54 
55 
56  //
57  // Parameters representing the current camera configuration
58  int activate;
59 
60  std::string name;
61 
62  //
63  // Constructors
64 
67  SecondaryAppActivate(const int i, const std::string & s):
68  activate(i),
69  name(s)
70  {}
71 
72  //
73  // Serialization routine.
74 
75  template<class Archive>
76  void serialize(Archive& message,
77  const VersionType version)
78  {
79  (void) version;
80  // nothing yet
81 
82  message & activate;
83 
84  message & name;
85  }
86 };
87 
88 }}}} // namespaces
89 
90 #endif
crl::multisense::details::wire::SecondaryAppActivate::activate
int activate
Definition: SecondaryAppActivateMessage.hh:58
Portability.hh
Protocol.hh
CRL_CONSTEXPR
#define CRL_CONSTEXPR
Definition: Portability.hh:49
crl::multisense::details::wire::ID_CMD_SECONDARY_APP_ACTIVATE
static CRL_CONSTEXPR IdType ID_CMD_SECONDARY_APP_ACTIVATE
Definition: Protocol.hh:200
crl::multisense::details::wire::SecondaryAppActivate::SecondaryAppActivate
SecondaryAppActivate(const int i, const std::string &s)
Definition: SecondaryAppActivateMessage.hh:67
crl
Definition: BufferStream.hh:51
crl::multisense::details::wire::VersionType
uint16_t VersionType
Definition: Protocol.hh:137
crl::multisense::details::wire::SecondaryAppActivate
Definition: SecondaryAppActivateMessage.hh:50
crl::multisense::details::wire::SecondaryAppActivate::serialize
void serialize(Archive &message, const VersionType version)
Definition: SecondaryAppActivateMessage.hh:76
crl::multisense::details::wire::SecondaryAppActivate::VERSION
static CRL_CONSTEXPR VersionType VERSION
Definition: SecondaryAppActivateMessage.hh:52
crl::multisense::details::utility::BufferStreamReader
Definition: BufferStream.hh:192
multisense
Definition: MultiSenseChannel.hh:44
crl::multisense::details::wire::SecondaryAppActivate::name
std::string name
Definition: SecondaryAppActivateMessage.hh:60
crl::multisense::details::wire::SecondaryAppActivate::ID
static CRL_CONSTEXPR IdType ID
Definition: SecondaryAppActivateMessage.hh:53
crl::multisense::details::wire::SecondaryAppActivate::SecondaryAppActivate
SecondaryAppActivate()
Definition: SecondaryAppActivateMessage.hh:66
crl::multisense::details::wire::IdType
uint16_t IdType
Definition: Protocol.hh:136
crl::multisense::details::wire::SecondaryAppActivate::SecondaryAppActivate
SecondaryAppActivate(utility::BufferStreamReader &r, VersionType v)
Definition: SecondaryAppActivateMessage.hh:65