RotMessage Fawkes BlackBoard Interface Message. More...
#include <interfaces/MotorInterface.h>

Classes | |
| struct | RotMessage_data_t |
| Internal data storage, do NOT modify! | |
Public Member Functions | |
| RotMessage (const float ini_omega) | |
| Constructor with initial values. | |
| RotMessage () | |
| Constructor. | |
| ~RotMessage () | |
| Destructor. | |
| RotMessage (const RotMessage *m) | |
| Copy constructor. | |
| float | omega () const |
| Get omega value. | |
| void | set_omega (const float new_omega) |
| Set omega value. | |
| size_t | maxlenof_omega () const |
| Get maximum length of omega value. | |
| virtual Message * | clone () const |
| Clone this message. | |
RotMessage Fawkes BlackBoard Interface Message.
Definition at line 301 of file MotorInterface.h.
| fawkes::MotorInterface::RotMessage::RotMessage | ( | const float | ini_omega | ) |
Constructor with initial values.
| ini_omega | initial value for omega |
Definition at line 1411 of file MotorInterface.cpp.
References fawkes::Message::add_fieldinfo(), fawkes::Message::data_ptr, fawkes::Message::data_size, fawkes::Message::data_ts, and fawkes::IFT_FLOAT.
| fawkes::MotorInterface::RotMessage::RotMessage | ( | ) |
Constructor.
Definition at line 1422 of file MotorInterface.cpp.
References fawkes::Message::add_fieldinfo(), fawkes::Message::data_ptr, fawkes::Message::data_size, fawkes::Message::data_ts, and fawkes::IFT_FLOAT.
Referenced by clone().
| fawkes::MotorInterface::RotMessage::~RotMessage | ( | ) |
Destructor.
Definition at line 1433 of file MotorInterface.cpp.
References fawkes::Message::data_ptr.
| fawkes::MotorInterface::RotMessage::RotMessage | ( | const RotMessage * | m | ) |
Copy constructor.
| m | message to copy from |
Definition at line 1441 of file MotorInterface.cpp.
References fawkes::Message::data_ptr, fawkes::Message::data_size, and fawkes::Message::data_ts.
| Message * fawkes::MotorInterface::RotMessage::clone | ( | ) | const [virtual] |
Clone this message.
Produces a message of the same type as this message and copies the data to the new message.
Reimplemented from fawkes::Message.
Definition at line 1487 of file MotorInterface.cpp.
References RotMessage().
| size_t fawkes::MotorInterface::RotMessage::maxlenof_omega | ( | ) | const |
Get maximum length of omega value.
Definition at line 1466 of file MotorInterface.cpp.
| float fawkes::MotorInterface::RotMessage::omega | ( | ) | const |
Get omega value.
Angle rotation in rad/s.
Definition at line 1456 of file MotorInterface.cpp.
| void fawkes::MotorInterface::RotMessage::set_omega | ( | const float | new_omega | ) |
Set omega value.
Angle rotation in rad/s.
| new_omega | new omega value |
Definition at line 1476 of file MotorInterface.cpp.
1.6.1