Main Page
Namespaces
Classes
Files
File List
File Members
src
horizon_legacy
Message_request.cpp
Go to the documentation of this file.
1
46
#include "
husky_base/horizon_legacy/Message_request.h
"
47
#include "
husky_base/horizon_legacy/Number.h
"
48
49
namespace
clearpath
50
{
51
52
Request::Request
(uint16_t type, uint16_t freq) :
Message
()
53
{
54
setPayloadLength
(2);
55
utob
(
getPayloadPointer
(), 2, freq);
56
setType
(type);
57
58
makeValid
();
59
}
60
61
Request::Request
(
const
Request
&other) :
Message
(other)
62
{
63
}
64
65
};
// namespace clearpath
66
clearpath::utob
void utob(void *dest, size_t dest_len, uint64_t src)
Definition:
Number.cpp:56
clearpath
Definition:
Exception.h:52
clearpath::Request
Definition:
Message_request.h:55
clearpath::Message::setType
void setType(uint16_t type)
Definition:
Message.cpp:245
clearpath::Message::getPayloadPointer
uint8_t * getPayloadPointer(size_t offset=0)
Definition:
Message.cpp:181
clearpath::Message::makeValid
void makeValid()
Definition:
Message.cpp:340
Number.h
clearpath::Request::Request
Request(uint16_t type, uint16_t freq=0)
Definition:
Message_request.cpp:52
clearpath::Message::setPayloadLength
void setPayloadLength(uint8_t len)
Definition:
Message.cpp:256
Message_request.h
clearpath::Message
Definition:
Message.h:75
husky_base
Author(s): Mike Purvis
, Paul Bovbel
autogenerated on Fri Oct 2 2020 03:40:07