Public Member Functions | Public Attributes | List of all members
msp::msg::Ident Struct Reference

Requests (1xx) More...

#include <msp_msg.hpp>

Inheritance diagram for msp::msg::Ident:
Inheritance graph
[legend]

Public Member Functions

virtual bool decode (const ByteVector &data) override
 Decode message contents from a ByteVector. More...
 
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 More...
 
 Ident (FirmwareVariant v)
 
virtual std::ostream & print (std::ostream &s) const override
 
- Public Member Functions inherited from msp::Message
virtual ByteVectorUptr encode () const
 Encode all data into a ByteVector. More...
 
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

std::set< Capabilitycapabilities
 
Value< uint8_t > msp_version
 
MultiType type
 
Value< uint8_t > version
 

Additional Inherited Members

- Protected Attributes inherited from msp::Message
FirmwareVariant fw_variant
 

Detailed Description

Requests (1xx)

Definition at line 2590 of file msp_msg.hpp.

Constructor & Destructor Documentation

msp::msg::Ident::Ident ( FirmwareVariant  v)
inline

Definition at line 2591 of file msp_msg.hpp.

Member Function Documentation

virtual bool msp::msg::Ident::decode ( const ByteVector )
inlineoverridevirtual

Decode message contents from a ByteVector.

Parameters
dataSource of data
Returns
False. Override methods should return true on success

Reimplemented from msp::Message.

Definition at line 2600 of file msp_msg.hpp.

bool msp::msg::Ident::has ( const Capability cap) const
inline

Definition at line 2619 of file msp_msg.hpp.

bool msp::msg::Ident::hasBind ( ) const
inline

Definition at line 2621 of file msp_msg.hpp.

bool msp::msg::Ident::hasDynBal ( ) const
inline

Definition at line 2623 of file msp_msg.hpp.

bool msp::msg::Ident::hasFlap ( ) const
inline

Definition at line 2625 of file msp_msg.hpp.

virtual ID msp::msg::Ident::id ( ) const
inlineoverridevirtual

get the ID of the message

Returns
ID

Implements msp::Message.

Definition at line 2593 of file msp_msg.hpp.

virtual std::ostream& msp::msg::Ident::print ( std::ostream &  s) const
inlineoverridevirtual

Reimplemented from msp::Message.

Definition at line 2627 of file msp_msg.hpp.

Member Data Documentation

std::set<Capability> msp::msg::Ident::capabilities

Definition at line 2598 of file msp_msg.hpp.

Value<uint8_t> msp::msg::Ident::msp_version

Definition at line 2597 of file msp_msg.hpp.

MultiType msp::msg::Ident::type

Definition at line 2596 of file msp_msg.hpp.

Value<uint8_t> msp::msg::Ident::version

Definition at line 2595 of file msp_msg.hpp.


The documentation for this struct was generated from the following file:


msp
Author(s): Christian Rauch
autogenerated on Tue Oct 6 2020 03:39:02