#include <rf_packets.h>
|
| | ~DeactivateNotificationBuilder () override=default |
| |
| | DeactivateNotificationBuilder ()=default |
| |
| | DeactivateNotificationBuilder (DeactivateNotificationBuilder const &)=default |
| |
| | DeactivateNotificationBuilder (DeactivateNotificationBuilder &&)=default |
| |
| DeactivateNotificationBuilder & | operator= (DeactivateNotificationBuilder const &)=default |
| |
| | DeactivateNotificationBuilder (uint16_t sender, uint16_t receiver, Technology technology, Protocol protocol, BitRate bitrate, uint8_t power_level, DeactivateType type_, DeactivateReason reason) |
| |
| void | Serialize (std::vector< uint8_t > &output) const override |
| |
| size_t | GetSize () const override |
| |
| | ~RfPacketBuilder () override=default |
| |
| | RfPacketBuilder ()=default |
| |
| | RfPacketBuilder (RfPacketBuilder const &)=default |
| |
| | RfPacketBuilder (RfPacketBuilder &&)=default |
| |
| RfPacketBuilder & | operator= (RfPacketBuilder const &)=default |
| |
| | RfPacketBuilder (uint16_t sender, uint16_t receiver, Technology technology, Protocol protocol, RfPacketType packet_type, BitRate bitrate, uint8_t power_level, std::vector< uint8_t > payload) |
| |
| void | Serialize (std::vector< uint8_t > &output) const override |
| |
| size_t | GetSize () const override |
| |
| virtual | ~Builder ()=default |
| |
| virtual void | Serialize (std::vector< uint8_t > &) const |
| |
| virtual size_t | GetSize () const |
| |
| virtual std::vector< uint8_t > | SerializeToBytes () const |
| | Helper method to serialize the packet to a byte vector. More...
|
| |
|
| static std::unique_ptr< DeactivateNotificationBuilder > | Create (uint16_t sender, uint16_t receiver, Technology technology, Protocol protocol, BitRate bitrate, uint8_t power_level, DeactivateType type_, DeactivateReason reason) |
| |
| static std::unique_ptr< RfPacketBuilder > | Create (uint16_t sender, uint16_t receiver, Technology technology, Protocol protocol, RfPacketType packet_type, BitRate bitrate, uint8_t power_level, std::vector< uint8_t > payload) |
| |
| template<typename T , size_t N = sizeof(T)> |
| static void | write_le (std::vector< uint8_t > &output, T value) |
| | Write a scalar value encoded in little-endian. More...
|
| |
| template<typename T , size_t N = sizeof(T)> |
| static void | write_be (std::vector< uint8_t > &output, T value) |
| | Write a scalar value encoded in big-endian. More...
|
| |
◆ ~DeactivateNotificationBuilder()
| casimir::rf::DeactivateNotificationBuilder::~DeactivateNotificationBuilder |
( |
| ) |
|
|
overridedefault |
◆ DeactivateNotificationBuilder() [1/4]
| casimir::rf::DeactivateNotificationBuilder::DeactivateNotificationBuilder |
( |
| ) |
|
|
default |
◆ DeactivateNotificationBuilder() [2/4]
◆ DeactivateNotificationBuilder() [3/4]
◆ DeactivateNotificationBuilder() [4/4]
◆ Create()
◆ GetSize()
| size_t casimir::rf::DeactivateNotificationBuilder::GetSize |
( |
| ) |
const |
|
inlineoverridevirtual |
Method implemented by generated packet builders. Returns the size of the serialized packet in bytes.
Reimplemented from casimir::rf::RfPacketBuilder.
◆ operator=()
◆ Serialize()
| void casimir::rf::DeactivateNotificationBuilder::Serialize |
( |
std::vector< uint8_t > & |
| ) |
const |
|
inlineoverridevirtual |
Method implemented by generated packet builders. The packet fields are concatenated to the output vector.
Reimplemented from casimir::rf::RfPacketBuilder.
◆ reason_
◆ type__
The documentation for this class was generated from the following file:
- cuttlefish/host/commands/casimir_control_server/rf_packets.h