#include <msp_msg.hpp>
Public Member Functions | |
CommonSetSetting (FirmwareVariant v) | |
virtual ByteVectorUptr | encode () const override |
Encode all data into a ByteVector. More... | |
virtual ID | id () const override |
get the ID of the message More... | |
Public Member Functions inherited from msp::Message | |
virtual bool | decode (const ByteVector &) |
Decode message contents from a ByteVector. More... | |
FirmwareVariant | getFirmwareVariant () const |
Queries the firmware variant the message works with. More... | |
Message (FirmwareVariant v) | |
Message constructor accepting a FirmwareVariant. More... | |
virtual std::ostream & | print (std::ostream &s) const |
void | setFirmwareVariant (FirmwareVariant v) |
Set the firmware the message should work with. More... | |
virtual | ~Message () |
Message destructor. More... | |
Public Attributes | |
DATA_TYPE | expected_data_type |
Value< float > | float_val |
Value< int16_t > | int16_val |
Value< int8_t > | int8_val |
Value< std::string > | setting_name |
Value< std::string > | string_val |
Value< uint16_t > | uint16_val |
Value< uint32_t > | uint32_val |
Value< uint8_t > | uint8_val |
Additional Inherited Members | |
Protected Attributes inherited from msp::Message | |
FirmwareVariant | fw_variant |
Definition at line 5071 of file msp_msg.hpp.
|
inline |
Definition at line 5072 of file msp_msg.hpp.
|
inlineoverridevirtual |
Encode all data into a ByteVector.
Reimplemented from msp::Message.
Definition at line 5087 of file msp_msg.hpp.
|
inlineoverridevirtual |
get the ID of the message
Implements msp::Message.
Definition at line 5074 of file msp_msg.hpp.
DATA_TYPE msp::msg::CommonSetSetting::expected_data_type |
Definition at line 5085 of file msp_msg.hpp.
Value<float> msp::msg::CommonSetSetting::float_val |
Definition at line 5082 of file msp_msg.hpp.
Value<int16_t> msp::msg::CommonSetSetting::int16_val |
Definition at line 5080 of file msp_msg.hpp.
Value<int8_t> msp::msg::CommonSetSetting::int8_val |
Definition at line 5078 of file msp_msg.hpp.
Value<std::string> msp::msg::CommonSetSetting::setting_name |
Definition at line 5076 of file msp_msg.hpp.
Value<std::string> msp::msg::CommonSetSetting::string_val |
Definition at line 5083 of file msp_msg.hpp.
Value<uint16_t> msp::msg::CommonSetSetting::uint16_val |
Definition at line 5079 of file msp_msg.hpp.
Value<uint32_t> msp::msg::CommonSetSetting::uint32_val |
Definition at line 5081 of file msp_msg.hpp.
Value<uint8_t> msp::msg::CommonSetSetting::uint8_val |
Definition at line 5077 of file msp_msg.hpp.