#include <msp_msg.hpp>

Public Member Functions | |
| CommonSetting (FirmwareVariant v) | |
| virtual bool | decode (const ByteVector &data) override |
| Decode message contents from a ByteVector. | |
| virtual ByteVectorUptr | encode () const override |
| Encode all data into a ByteVector. | |
| virtual ID | id () const override |
| get the ID of the message | |
| virtual std::ostream & | print (std::ostream &s) const override |
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 |
Definition at line 4932 of file msp_msg.hpp.
| msp::msg::CommonSetting::CommonSetting | ( | FirmwareVariant | v | ) | [inline] |
Definition at line 4933 of file msp_msg.hpp.
| virtual bool msp::msg::CommonSetting::decode | ( | const ByteVector & | ) | [inline, override, virtual] |
Decode message contents from a ByteVector.
| data | Source of data |
Reimplemented from msp::Message.
Definition at line 4957 of file msp_msg.hpp.
| virtual ByteVectorUptr msp::msg::CommonSetting::encode | ( | ) | const [inline, override, virtual] |
Encode all data into a ByteVector.
Reimplemented from msp::Message.
Definition at line 4948 of file msp_msg.hpp.
| virtual ID msp::msg::CommonSetting::id | ( | ) | const [inline, override, virtual] |
get the ID of the message
Implements msp::Message.
Definition at line 4935 of file msp_msg.hpp.
| virtual std::ostream& msp::msg::CommonSetting::print | ( | std::ostream & | s | ) | const [inline, override, virtual] |
Reimplemented from msp::Message.
Definition at line 4979 of file msp_msg.hpp.
Definition at line 4946 of file msp_msg.hpp.
Definition at line 4943 of file msp_msg.hpp.
| Value<int16_t> msp::msg::CommonSetting::int16_val |
Definition at line 4941 of file msp_msg.hpp.
Definition at line 4939 of file msp_msg.hpp.
| Value<std::string> msp::msg::CommonSetting::setting_name |
Definition at line 4937 of file msp_msg.hpp.
| Value<std::string> msp::msg::CommonSetting::string_val |
Definition at line 4944 of file msp_msg.hpp.
| Value<uint16_t> msp::msg::CommonSetting::uint16_val |
Definition at line 4940 of file msp_msg.hpp.
| Value<uint32_t> msp::msg::CommonSetting::uint32_val |
Definition at line 4942 of file msp_msg.hpp.
| Value<uint8_t> msp::msg::CommonSetting::uint8_val |
Definition at line 4938 of file msp_msg.hpp.