Fawkes API
Fawkes Development Version
|
SetModeMessage Fawkes BlackBoard Interface Message. More...
#include <>>
Classes | |
struct | SetModeMessage_data_t |
Internal data storage, do NOT modify! More... | |
Public Member Functions | |
SetModeMessage (const Mode ini_mode) | |
Constructor with initial values. | |
SetModeMessage () | |
Constructor. | |
~SetModeMessage () | |
Destructor. | |
SetModeMessage (const SetModeMessage *m) | |
Copy constructor. | |
Mode | mode () const |
Get mode value. | |
void | set_mode (const Mode new_mode) |
Set mode value. | |
size_t | maxlenof_mode () const |
Get maximum length of mode value. | |
virtual Message * | clone () const |
Clone this message. |
SetModeMessage Fawkes BlackBoard Interface Message.
fawkes::Roomba500Interface::SetModeMessage::SetModeMessage | ( | const Mode | ini_mode | ) |
Constructor with initial values.
ini_mode | initial value for mode |
Definition at line 2479 of file Roomba500Interface.cpp.
References fawkes::Message::data_size, fawkes::Message::data_ptr, fawkes::Message::data_ts, fawkes::Roomba500Interface::SetModeMessage::SetModeMessage_data_t::mode, fawkes::Message::add_fieldinfo(), and fawkes::IFT_ENUM.
fawkes::Roomba500Interface::SetModeMessage::SetModeMessage | ( | ) |
Constructor.
Definition at line 2490 of file Roomba500Interface.cpp.
References fawkes::Message::data_size, fawkes::Message::data_ptr, fawkes::Message::data_ts, fawkes::Message::add_fieldinfo(), fawkes::IFT_ENUM, and fawkes::Roomba500Interface::SetModeMessage::SetModeMessage_data_t::mode.
fawkes::Roomba500Interface::SetModeMessage::~SetModeMessage | ( | ) |
Destructor.
Definition at line 2501 of file Roomba500Interface.cpp.
References fawkes::Interface::data_ptr.
fawkes::Roomba500Interface::SetModeMessage::SetModeMessage | ( | const SetModeMessage * | m | ) |
Copy constructor.
m | message to copy from |
Definition at line 2509 of file Roomba500Interface.cpp.
References fawkes::Message::data_size, fawkes::Message::data_ptr, and fawkes::Message::data_ts.
Message * fawkes::Roomba500Interface::SetModeMessage::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 2555 of file Roomba500Interface.cpp.
size_t fawkes::Roomba500Interface::SetModeMessage::maxlenof_mode | ( | ) | const |
Get maximum length of mode value.
Definition at line 2534 of file Roomba500Interface.cpp.
Roomba500Interface::Mode fawkes::Roomba500Interface::SetModeMessage::mode | ( | ) | const |
Get mode value.
Open Interface mode.
Definition at line 2524 of file Roomba500Interface.cpp.
References fawkes::Roomba500Interface::Roomba500Interface_data_t::mode.
Referenced by Roomba500Thread::loop().
void fawkes::Roomba500Interface::SetModeMessage::set_mode | ( | const Mode | new_mode | ) |
Set mode value.
Open Interface mode.
new_mode | new mode value |
Definition at line 2544 of file Roomba500Interface.cpp.
References fawkes::Roomba500Interface::Roomba500Interface_data_t::mode.
Referenced by RoombaJoystickThread::loop().