LibMultiSense
LibMultiSense Documentation
Loading...
Searching...
No Matches
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
50
class
SecondaryAppActivate
{
51
public
:
52
static
CRL_CONSTEXPR
VersionType
VERSION
= 1;
53
static
CRL_CONSTEXPR
IdType
ID
=
ID_CMD_SECONDARY_APP_ACTIVATE
;
54
55
56
//
57
// Parameters representing the current camera configuration
58
int
activate
;
59
60
std::string
name
;
61
62
//
63
// Constructors
64
65
SecondaryAppActivate
(
utility::BufferStreamReader
&r,
VersionType
v) {
serialize
(r,v);};
66
SecondaryAppActivate
() {};
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
Portability.hh
Macros and symbols to help portability between different compiler versions.
CRL_CONSTEXPR
#define CRL_CONSTEXPR
Definition
Portability.hh:49
Protocol.hh
Copyright 2013-2025 Carnegie Robotics, LLC 4501 Hatfield Street, Pittsburgh, PA 15201 http://www....
crl::multisense::details::utility::BufferStreamReader
Definition
BufferStream.hh:192
crl::multisense::details::wire::SecondaryAppActivate
Definition
SecondaryAppActivateMessage.hh:50
crl::multisense::details::wire::SecondaryAppActivate::name
std::string name
Definition
SecondaryAppActivateMessage.hh:60
crl::multisense::details::wire::SecondaryAppActivate::VERSION
static CRL_CONSTEXPR VersionType VERSION
Definition
SecondaryAppActivateMessage.hh:52
crl::multisense::details::wire::SecondaryAppActivate::serialize
void serialize(Archive &message, const VersionType version)
Definition
SecondaryAppActivateMessage.hh:76
crl::multisense::details::wire::SecondaryAppActivate::SecondaryAppActivate
SecondaryAppActivate(utility::BufferStreamReader &r, VersionType v)
Definition
SecondaryAppActivateMessage.hh:65
crl::multisense::details::wire::SecondaryAppActivate::SecondaryAppActivate
SecondaryAppActivate()
Definition
SecondaryAppActivateMessage.hh:66
crl::multisense::details::wire::SecondaryAppActivate::ID
static CRL_CONSTEXPR IdType ID
Definition
SecondaryAppActivateMessage.hh:53
crl::multisense::details::wire::SecondaryAppActivate::activate
int activate
Definition
SecondaryAppActivateMessage.hh:58
crl::multisense::details::wire::SecondaryAppActivate::SecondaryAppActivate
SecondaryAppActivate(const int i, const std::string &s)
Definition
SecondaryAppActivateMessage.hh:67
crl::multisense::details::wire::VersionType
uint16_t VersionType
Definition
Protocol.hh:137
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::IdType
uint16_t IdType
Definition
Protocol.hh:136
crl
Definition
BufferStream.hh:51
multisense
Definition
MultiSenseChannel.hh:44
source
Wire
include
wire
SecondaryAppActivateMessage.hh
Generated on Wed Dec 17 2025 23:55:12 for LibMultiSense by
1.9.8