Public Member Functions | Public Attributes
msp::msg::Feature Struct Reference

#include <msp_msg.hpp>

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

List of all members.

Public Member Functions

virtual bool decode (const ByteVector &data) override
 Decode message contents from a ByteVector.
 Feature (FirmwareVariant v)
virtual ID id () const override
 get the ID of the message
virtual std::ostream & print (std::ostream &s) const override

Public Attributes

std::set< std::string > features

Detailed Description

Definition at line 1043 of file msp_msg.hpp.


Constructor & Destructor Documentation

Definition at line 1044 of file msp_msg.hpp.


Member Function Documentation

virtual bool msp::msg::Feature::decode ( const ByteVector ) [inline, override, virtual]

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 1050 of file msp_msg.hpp.

virtual ID msp::msg::Feature::id ( ) const [inline, override, virtual]

get the ID of the message

Returns:
ID

Implements msp::Message.

Definition at line 1046 of file msp_msg.hpp.

virtual std::ostream& msp::msg::Feature::print ( std::ostream &  s) const [inline, override, virtual]

Reimplemented from msp::Message.

Definition at line 1061 of file msp_msg.hpp.


Member Data Documentation

std::set<std::string> msp::msg::Feature::features

Definition at line 1048 of file msp_msg.hpp.


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


msp
Author(s): Christian Rauch
autogenerated on Thu Jun 20 2019 19:40:38