![]() |
HAN-FUN API
1.5.3
This project provides the common implementation of ULE Alliance's HAN-FUN application protocol.
|
Response message payload for a Scheduling::GET_ENTRY_CMD
request.
More...
#include <scheduling.h>
Public Member Functions | |
uint16_t | size () const |
Number bytes needed to serialize the message. More... | |
uint16_t | pack (Common::ByteArray &array, uint16_t offset=0) const |
Write the object on to a ByteArray so it can be sent over the network. More... | |
uint16_t | unpack (const Common::ByteArray &array, uint16_t offset=0) |
Read a message from a ByteArray. More... | |
![]() | |
uint16_t | size () const |
Number bytes needed to serialize the message. More... | |
uint16_t | pack (Common::ByteArray &array, uint16_t offset=0) const |
Write the object on to a ByteArray so it can be sent over the network. More... | |
uint16_t | unpack (const Common::ByteArray &array, uint16_t offset=0) |
Read a message from a ByteArray. More... | |
Data Fields | |
Entry< _Type > | entry |
&Entry data to return to client. More... | |
Additional Inherited Members | |
![]() | |
static constexpr uint16_t | min_size = sizeof(uint8_t) |
Minimum number of bytes required by this message. | |
Response message payload for a Scheduling::GET_ENTRY_CMD
request.
_Type | the specific data for scheduling service entry. |
Definition at line 402 of file scheduling.h.
|
inline |
Write the object on to a ByteArray so it can be sent over the network.
The buffer passed in MUST have enough size to hold the serialized object, e.g.,
[in,out] | array | ByteArray reference to write the object to. |
[in] | offset | offset to start writing to. |
Definition at line 427 of file scheduling.h.
References HF::Core::Scheduling::GetEntryResponse< _Type >::entry, HF_SERIALIZABLE_CHECK, HF::Common::OK, HF::Protocol::Response::pack(), and HF::Core::Scheduling::GetEntryResponse< _Type >::size().
|
inline |
Number bytes needed to serialize the message.
Definition at line 416 of file scheduling.h.
References HF::Protocol::Response::min_size, and HF::Common::OK.
Referenced by HF::Core::Scheduling::GetEntryResponse< _Type >::pack().
|
inline |
Read a message from a ByteArray.
[in] | array | ByteArray reference to read the message from. |
[in] | offset | offset to start reading from. |
Definition at line 447 of file scheduling.h.
References HF::Core::Scheduling::GetEntryResponse< _Type >::entry, HF_SERIALIZABLE_CHECK, HF::Protocol::Response::min_size, HF::Common::OK, and HF::Protocol::Response::unpack().
Entry<_Type> HF::Core::Scheduling::GetEntryResponse< _Type >::entry |
&Entry data to return to client.
Definition at line 404 of file scheduling.h.
Referenced by HF::Core::Scheduling::GetEntryResponse< _Type >::pack(), and HF::Core::Scheduling::GetEntryResponse< _Type >::unpack().