#include <msp_msg.hpp>
Public Member Functions | |
CommonSetting (FirmwareVariant v) | |
virtual bool | decode (const ByteVector &data) override |
Decode message contents from a ByteVector. More... | |
virtual ByteVectorUptr | encode () const override |
Encode all data into a ByteVector. More... | |
virtual ID | id () const override |
get the ID of the message More... | |
virtual std::ostream & | print (std::ostream &s) const override |
Public Member Functions inherited from msp::Message | |
FirmwareVariant | getFirmwareVariant () const |
Queries the firmware variant the message works with. More... | |
Message (FirmwareVariant v) | |
Message constructor accepting a FirmwareVariant. More... | |
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 4988 of file msp_msg.hpp.
|
inline |
Definition at line 4989 of file msp_msg.hpp.
|
inlineoverridevirtual |
Decode message contents from a ByteVector.
data | Source of data |
Reimplemented from msp::Message.
Definition at line 5012 of file msp_msg.hpp.
|
inlineoverridevirtual |
Encode all data into a ByteVector.
Reimplemented from msp::Message.
Definition at line 5004 of file msp_msg.hpp.
|
inlineoverridevirtual |
get the ID of the message
Implements msp::Message.
Definition at line 4991 of file msp_msg.hpp.
|
inlineoverridevirtual |
Reimplemented from msp::Message.
Definition at line 5033 of file msp_msg.hpp.
DATA_TYPE msp::msg::CommonSetting::expected_data_type |
Definition at line 5002 of file msp_msg.hpp.
Value<float> msp::msg::CommonSetting::float_val |
Definition at line 4999 of file msp_msg.hpp.
Value<int16_t> msp::msg::CommonSetting::int16_val |
Definition at line 4997 of file msp_msg.hpp.
Value<int8_t> msp::msg::CommonSetting::int8_val |
Definition at line 4995 of file msp_msg.hpp.
Value<std::string> msp::msg::CommonSetting::setting_name |
Definition at line 4993 of file msp_msg.hpp.
Value<std::string> msp::msg::CommonSetting::string_val |
Definition at line 5000 of file msp_msg.hpp.
Value<uint16_t> msp::msg::CommonSetting::uint16_val |
Definition at line 4996 of file msp_msg.hpp.
Value<uint32_t> msp::msg::CommonSetting::uint32_val |
Definition at line 4998 of file msp_msg.hpp.
Value<uint8_t> msp::msg::CommonSetting::uint8_val |
Definition at line 4994 of file msp_msg.hpp.