LibMultiSense
LibMultiSense Documentation
Loading...
Searching...
No Matches
SecondaryAppControlMessage.hh
Go to the documentation of this file.
1
39
#ifndef LibMultiSense_SecondaryAppControl
40
#define LibMultiSense_SecondaryAppControl
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
SecondaryAppControl
{
51
public
:
52
static
CRL_CONSTEXPR
IdType
ID
=
ID_CMD_SECONDARY_APP_CONTROL
;
53
static
CRL_CONSTEXPR
VersionType
VERSION
= 1;
54
55
//
56
// Parameters representing the current camera configuration
57
uint32_t
dataLength
;
58
59
uint8_t
data
[1024];
60
61
62
//
63
// Constructors
64
65
SecondaryAppControl
(
utility::BufferStreamReader
&r,
VersionType
v) {
serialize
(r,v);};
66
SecondaryAppControl
():
67
dataLength
(0),
68
data
()
69
{};
70
71
//
72
// Serialization routine
73
74
template
<
class
Archive>
75
void
serialize
(Archive& message,
76
const
VersionType
version)
77
{
78
(void) version;
79
message &
dataLength
;
80
for
(
size_t
i = 0; i <
dataLength
; i++)
81
{
82
message &
data
[i];
83
}
84
}
85
};
86
87
}}}}
// namespaces
88
89
#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::SecondaryAppControl
Definition
SecondaryAppControlMessage.hh:50
crl::multisense::details::wire::SecondaryAppControl::ID
static CRL_CONSTEXPR IdType ID
Definition
SecondaryAppControlMessage.hh:52
crl::multisense::details::wire::SecondaryAppControl::serialize
void serialize(Archive &message, const VersionType version)
Definition
SecondaryAppControlMessage.hh:75
crl::multisense::details::wire::SecondaryAppControl::VERSION
static CRL_CONSTEXPR VersionType VERSION
Definition
SecondaryAppControlMessage.hh:53
crl::multisense::details::wire::SecondaryAppControl::SecondaryAppControl
SecondaryAppControl()
Definition
SecondaryAppControlMessage.hh:66
crl::multisense::details::wire::SecondaryAppControl::SecondaryAppControl
SecondaryAppControl(utility::BufferStreamReader &r, VersionType v)
Definition
SecondaryAppControlMessage.hh:65
crl::multisense::details::wire::SecondaryAppControl::data
uint8_t data[1024]
Definition
SecondaryAppControlMessage.hh:59
crl::multisense::details::wire::SecondaryAppControl::dataLength
uint32_t dataLength
Definition
SecondaryAppControlMessage.hh:57
crl::multisense::details::wire::VersionType
uint16_t VersionType
Definition
Protocol.hh:137
crl::multisense::details::wire::IdType
uint16_t IdType
Definition
Protocol.hh:136
crl::multisense::details::wire::ID_CMD_SECONDARY_APP_CONTROL
static CRL_CONSTEXPR IdType ID_CMD_SECONDARY_APP_CONTROL
Definition
Protocol.hh:198
crl
Definition
BufferStream.hh:51
multisense
Definition
MultiSenseChannel.hh:44
source
Wire
include
wire
SecondaryAppControlMessage.hh
Generated on Wed Dec 17 2025 23:55:12 for LibMultiSense by
1.9.8