#include <msp_msg.hpp>
Public Member Functions | |
virtual bool | decode (const ByteVector &data) override |
Decode message contents from a ByteVector. | |
bool | has (const Capability &cap) const |
bool | hasBind () const |
bool | hasDynBal () const |
bool | hasFlap () const |
virtual ID | id () const override |
get the ID of the message | |
Ident (FirmwareVariant v) | |
virtual std::ostream & | print (std::ostream &s) const override |
Public Attributes | |
std::set< Capability > | capabilities |
Value< uint8_t > | msp_version |
MultiType | type |
Value< uint8_t > | version |
Requests (1xx)
Definition at line 2593 of file msp_msg.hpp.
msp::msg::Ident::Ident | ( | FirmwareVariant | v | ) | [inline] |
Definition at line 2594 of file msp_msg.hpp.
virtual bool msp::msg::Ident::decode | ( | const ByteVector & | ) | [inline, override, virtual] |
Decode message contents from a ByteVector.
data | Source of data |
Reimplemented from msp::Message.
Definition at line 2603 of file msp_msg.hpp.
bool msp::msg::Ident::has | ( | const Capability & | cap | ) | const [inline] |
Definition at line 2622 of file msp_msg.hpp.
bool msp::msg::Ident::hasBind | ( | ) | const [inline] |
Definition at line 2624 of file msp_msg.hpp.
bool msp::msg::Ident::hasDynBal | ( | ) | const [inline] |
Definition at line 2626 of file msp_msg.hpp.
bool msp::msg::Ident::hasFlap | ( | ) | const [inline] |
Definition at line 2628 of file msp_msg.hpp.
virtual ID msp::msg::Ident::id | ( | ) | const [inline, override, virtual] |
get the ID of the message
Implements msp::Message.
Definition at line 2596 of file msp_msg.hpp.
virtual std::ostream& msp::msg::Ident::print | ( | std::ostream & | s | ) | const [inline, override, virtual] |
Reimplemented from msp::Message.
Definition at line 2630 of file msp_msg.hpp.
std::set<Capability> msp::msg::Ident::capabilities |
Definition at line 2601 of file msp_msg.hpp.
Value<uint8_t> msp::msg::Ident::msp_version |
Definition at line 2600 of file msp_msg.hpp.
Definition at line 2599 of file msp_msg.hpp.
Value<uint8_t> msp::msg::Ident::version |
Definition at line 2598 of file msp_msg.hpp.