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

#include <msp_msg.hpp>

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

List of all members.

Public Member Functions

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

Public Attributes

Value< uint8_t > major
Value< uint8_t > minor
Value< uint8_t > patch_level

Detailed Description

Definition at line 450 of file msp_msg.hpp.


Constructor & Destructor Documentation

Definition at line 451 of file msp_msg.hpp.


Member Function Documentation

virtual bool msp::msg::FcVersion::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 459 of file msp_msg.hpp.

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

get the ID of the message

Returns:
ID

Implements msp::Message.

Definition at line 453 of file msp_msg.hpp.

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

Reimplemented from msp::Message.

Definition at line 467 of file msp_msg.hpp.


Member Data Documentation

Definition at line 455 of file msp_msg.hpp.

Definition at line 456 of file msp_msg.hpp.

Definition at line 457 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