Communication message entry abstract option. More...
#include <option.h>
Public Member Functions | |
virtual uint16_t | Length () const noexcept=0 |
Get option length. More... | |
OptionType | Type () const noexcept |
Get option type. More... | |
bool | Discardable () const noexcept |
Get discardable flag. More... | |
virtual std::vector< uint8_t > | Payload () const =0 |
Get option payload. More... | |
Protected Member Functions | |
constexpr | Option (OptionType type, bool discardable) noexcept |
Constructor. More... | |
std::vector< uint8_t > | BasePayload () const |
Get base option payload. More... | |
Communication message entry abstract option.
|
inlineconstexprprotectednoexcept |
Constructor.
type | Option type |
discardable | Indicates whether the option can be discarded or not |
|
protected |
Get base option payload.
|
noexcept |
Get discardable flag.
|
pure virtualnoexcept |
Get option length.
Implemented in ara::com::option::Ipv4EndpointOption, and ara::com::option::LoadBalancingOption.
|
pure virtual |
Get option payload.
Implemented in ara::com::option::Ipv4EndpointOption, and ara::com::option::LoadBalancingOption.
|
noexcept |
Get option type.