LibMultiSense
LibMultiSense Documentation
PollMotorInfoMessage.hh
Go to the documentation of this file.
1
39
#ifndef LibMultiSense_PollMotorInfoMessage
40
#define LibMultiSense_PollMotorInfoMessage
41
42
#include "
utility/Portability.hh
"
43
#include "
utility/BufferStream.hh
"
44
#include "
wire/Protocol.hh
"
45
46
namespace
crl
{
47
namespace
multisense
{
48
namespace
details {
49
namespace
wire {
50
51
class
MotorPoll
{
52
public
:
53
54
static
CRL_CONSTEXPR
IdType
ID
=
ID_DATA_SYS_MOTOR_POLL
;
55
static
CRL_CONSTEXPR
VersionType
VERSION
= 1;
56
57
int32_t
angleStart
;
58
59
MotorPoll
(
utility::BufferStreamReader
& r,
60
VersionType
v) {
serialize
(r,v);};
61
62
MotorPoll
() :
63
angleStart
(0){};
64
65
MotorPoll
(int32_t a) :
66
angleStart
(a){};
67
68
template
<
class
Archive>
69
void
serialize
(Archive& message,
70
const
VersionType
version)
71
{
72
(void) version;
73
message &
angleStart
;
74
}
75
};
76
77
}}}}
// namespaces
78
79
#endif
crl::multisense::details::wire::MotorPoll
Definition:
PollMotorInfoMessage.hh:51
crl::multisense::details::wire::MotorPoll::MotorPoll
MotorPoll(int32_t a)
Definition:
PollMotorInfoMessage.hh:65
crl::multisense::details::wire::ID_DATA_SYS_MOTOR_POLL
static CRL_CONSTEXPR IdType ID_DATA_SYS_MOTOR_POLL
Definition:
Protocol.hh:230
Portability.hh
BufferStream.hh
Protocol.hh
CRL_CONSTEXPR
#define CRL_CONSTEXPR
Definition:
Portability.hh:49
crl::multisense::details::wire::MotorPoll::angleStart
int32_t angleStart
Definition:
PollMotorInfoMessage.hh:57
crl
Definition:
BufferStream.hh:51
crl::multisense::details::wire::MotorPoll::VERSION
static CRL_CONSTEXPR VersionType VERSION
Definition:
PollMotorInfoMessage.hh:55
crl::multisense::details::wire::VersionType
uint16_t VersionType
Definition:
Protocol.hh:137
crl::multisense::details::utility::BufferStreamReader
Definition:
BufferStream.hh:192
crl::multisense::details::wire::MotorPoll::ID
static CRL_CONSTEXPR IdType ID
Definition:
PollMotorInfoMessage.hh:54
multisense
Definition:
MultiSenseChannel.hh:44
crl::multisense::details::wire::MotorPoll::MotorPoll
MotorPoll(utility::BufferStreamReader &r, VersionType v)
Definition:
PollMotorInfoMessage.hh:59
crl::multisense::details::wire::IdType
uint16_t IdType
Definition:
Protocol.hh:136
crl::multisense::details::wire::MotorPoll::serialize
void serialize(Archive &message, const VersionType version)
Definition:
PollMotorInfoMessage.hh:69
crl::multisense::details::wire::MotorPoll::MotorPoll
MotorPoll()
Definition:
PollMotorInfoMessage.hh:62
source
Wire
include
wire
PollMotorInfoMessage.hh
Generated on Tue Mar 18 2025 14:54:04 for LibMultiSense by
1.8.17