#include <msp_msg.hpp>
Public Member Functions | |
virtual bool | decode (const ByteVector &data) override |
Decode message contents from a ByteVector. | |
virtual ID | id () const override |
get the ID of the message | |
Motor (FirmwareVariant v) | |
virtual std::ostream & | print (std::ostream &s) const override |
Public Attributes | |
std::array< uint16_t, N_MOTOR > | motor |
Definition at line 2928 of file msp_msg.hpp.
msp::msg::Motor::Motor | ( | FirmwareVariant | v | ) | [inline] |
Definition at line 2929 of file msp_msg.hpp.
virtual bool msp::msg::Motor::decode | ( | const ByteVector & | ) | [inline, override, virtual] |
Decode message contents from a ByteVector.
data | Source of data |
Reimplemented from msp::Message.
Definition at line 2935 of file msp_msg.hpp.
virtual ID msp::msg::Motor::id | ( | ) | const [inline, override, virtual] |
get the ID of the message
Implements msp::Message.
Definition at line 2931 of file msp_msg.hpp.
virtual std::ostream& msp::msg::Motor::print | ( | std::ostream & | s | ) | const [inline, override, virtual] |
Reimplemented from msp::Message.
Definition at line 2941 of file msp_msg.hpp.
std::array<uint16_t, N_MOTOR> msp::msg::Motor::motor |
Definition at line 2933 of file msp_msg.hpp.