LibMultiSense
LibMultiSense Documentation
RemoteHeadControlMessage.hh
Go to the documentation of this file.
1
41
#ifndef LibMultiSense_RemoteHeadControlMessage
42
#define LibMultiSense_RemoteHeadControlMessage
43
44
#include "
utility/Portability.hh
"
45
#include "
wire/Protocol.hh
"
46
#include "
wire/RemoteHeadConfigMessage.hh
"
47
// #include "MultiSense/MultisenseTypes.hh"
48
49
namespace
crl
{
50
namespace
multisense
{
51
namespace
details {
52
namespace
wire {
53
54
class
RemoteHeadControl
{
55
public
:
56
static
CRL_CONSTEXPR
IdType
ID
=
ID_CMD_REMOTE_HEAD_CONTROL
;
57
static
CRL_CONSTEXPR
VersionType
VERSION
= 1;
58
59
//
60
// Parameters representing the current remote head sync configuration
61
62
std::vector<wire::RemoteHeadSyncGroup>
syncGroups
;
63
64
//
65
// Constructors
66
67
RemoteHeadControl
(
utility::BufferStreamReader
&r,
VersionType
v) {
serialize
(r,v);};
68
RemoteHeadControl
() :
69
syncGroups
()
70
{};
71
72
//
73
// Serialization routine
74
75
template
<
class
Archive>
76
void
serialize
(Archive& message,
77
const
VersionType
version)
78
{
79
80
(void) version;
81
82
message &
syncGroups
;
83
84
}
85
};
86
87
}}}}
// namespaces
88
89
#endif
crl::multisense::details::wire::RemoteHeadControl::ID
static CRL_CONSTEXPR IdType ID
Definition:
RemoteHeadControlMessage.hh:56
crl::multisense::details::wire::RemoteHeadControl::serialize
void serialize(Archive &message, const VersionType version)
Definition:
RemoteHeadControlMessage.hh:76
Portability.hh
Protocol.hh
crl::multisense::details::wire::RemoteHeadControl::VERSION
static CRL_CONSTEXPR VersionType VERSION
Definition:
RemoteHeadControlMessage.hh:57
CRL_CONSTEXPR
#define CRL_CONSTEXPR
Definition:
Portability.hh:49
RemoteHeadConfigMessage.hh
crl
Definition:
BufferStream.hh:51
crl::multisense::details::wire::RemoteHeadControl::RemoteHeadControl
RemoteHeadControl(utility::BufferStreamReader &r, VersionType v)
Definition:
RemoteHeadControlMessage.hh:67
crl::multisense::details::wire::VersionType
uint16_t VersionType
Definition:
Protocol.hh:137
crl::multisense::details::utility::BufferStreamReader
Definition:
BufferStream.hh:192
multisense
Definition:
MultiSenseChannel.hh:44
crl::multisense::details::wire::ID_CMD_REMOTE_HEAD_CONTROL
static CRL_CONSTEXPR IdType ID_CMD_REMOTE_HEAD_CONTROL
Definition:
Protocol.hh:193
crl::multisense::details::wire::RemoteHeadControl
Definition:
RemoteHeadControlMessage.hh:54
crl::multisense::details::wire::RemoteHeadControl::RemoteHeadControl
RemoteHeadControl()
Definition:
RemoteHeadControlMessage.hh:68
crl::multisense::details::wire::IdType
uint16_t IdType
Definition:
Protocol.hh:136
crl::multisense::details::wire::RemoteHeadControl::syncGroups
std::vector< wire::RemoteHeadSyncGroup > syncGroups
Definition:
RemoteHeadControlMessage.hh:62
source
Wire
include
wire
RemoteHeadControlMessage.hh
Generated on Tue Mar 18 2025 14:54:04 for LibMultiSense by
1.8.17