Main Page
Namespaces
Classes
Files
File List
File Members
src
core
Message_request.cpp
Go to the documentation of this file.
1
46
#include "
roch_base/core/Message_request.h
"
47
#include "
roch_base/core/Number.h
"
48
49
namespace
sawyer
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
makeValid
();
58
59
}
60
61
Request::Request
(
const
Request
&other) :
Message
(other)
62
{
63
}
64
65
};
// namespace sawyer
66
sawyer::Message::setType
void setType(uint16_t type)
Definition:
Message.cpp:272
sawyer::utob
void utob(void *dest, size_t dest_len, uint64_t src)
Definition:
Number.cpp:55
sawyer::Message::getPayloadPointer
uint8_t * getPayloadPointer(size_t offset=0)
Definition:
Message.cpp:218
sawyer::Request
Definition:
Message_request.h:47
sawyer::Request::Request
Request(uint16_t type, uint16_t freq=0)
Definition:
Message_request.cpp:52
Number.h
sawyer::Message
Definition:
Message.h:67
sawyer::Message::setPayloadLength
void setPayloadLength(uint8_t len)
Definition:
Message.cpp:282
Message_request.h
sawyer
Definition:
Exception.h:43
sawyer::Message::makeValid
void makeValid()
Definition:
Message.cpp:372
roch_base
Author(s): Mike Purvis
, Paul Bovbel
, Chen
autogenerated on Mon Jun 10 2019 14:41:14