fawkes::FacerInterface::SetOpmodeMessage Class Reference
SetOpmodeMessage Fawkes BlackBoard Interface Message. More...
#include <interfaces/FacerInterface.h>

Classes | |
| struct | SetOpmodeMessage_data_t |
| Internal data storage, do NOT modify! | |
Public Member Functions | |
| SetOpmodeMessage (const if_facer_opmode_t ini_opmode) | |
| Constructor with initial values. | |
| SetOpmodeMessage () | |
| Constructor. | |
| ~SetOpmodeMessage () | |
| Destructor. | |
| SetOpmodeMessage (const SetOpmodeMessage *m) | |
| Copy constructor. | |
| if_facer_opmode_t | opmode () const |
| Get opmode value. | |
| void | set_opmode (const if_facer_opmode_t new_opmode) |
| Set opmode value. | |
| size_t | maxlenof_opmode () const |
| Get maximum length of opmode value. | |
| virtual Message * | clone () const |
| Clone this message. | |
Detailed Description
SetOpmodeMessage Fawkes BlackBoard Interface Message.Definition at line 134 of file FacerInterface.h.
Constructor & Destructor Documentation
| fawkes::FacerInterface::SetOpmodeMessage::SetOpmodeMessage | ( | const if_facer_opmode_t | ini_opmode | ) |
Constructor with initial values.
- Parameters:
-
ini_opmode initial value for opmode
Definition at line 767 of file FacerInterface.cpp.
References fawkes::Message::data_ptr, and fawkes::Message::data_size.
| fawkes::FacerInterface::SetOpmodeMessage::SetOpmodeMessage | ( | ) |
Constructor.
Definition at line 776 of file FacerInterface.cpp.
References fawkes::Message::data_ptr, and fawkes::Message::data_size.
Referenced by clone().
| fawkes::FacerInterface::SetOpmodeMessage::~SetOpmodeMessage | ( | ) |
Destructor.
Definition at line 785 of file FacerInterface.cpp.
References fawkes::Message::data_ptr.
| fawkes::FacerInterface::SetOpmodeMessage::SetOpmodeMessage | ( | const SetOpmodeMessage * | m | ) |
Copy constructor.
- Parameters:
-
m message to copy from
Definition at line 793 of file FacerInterface.cpp.
References fawkes::Message::data_ptr, and fawkes::Message::data_size.
Member Function Documentation
| Message * fawkes::FacerInterface::SetOpmodeMessage::clone | ( | ) | const [virtual] |
Clone this message.
Produces a message of the same type as this message and copies the data to the new message.
- Returns:
- clone of this message
Reimplemented from fawkes::Message.
Definition at line 842 of file FacerInterface.cpp.
References SetOpmodeMessage().
| size_t fawkes::FacerInterface::SetOpmodeMessage::maxlenof_opmode | ( | ) | const |
Get maximum length of opmode value.
- Returns:
- length of opmode value, can be length of the array or number of maximum number of characters for a string
Definition at line 819 of file FacerInterface.cpp.
| FacerInterface::if_facer_opmode_t fawkes::FacerInterface::SetOpmodeMessage::opmode | ( | ) | const |
Get opmode value.
Current opmode.
- Returns:
- opmode value
Definition at line 809 of file FacerInterface.cpp.
| void fawkes::FacerInterface::SetOpmodeMessage::set_opmode | ( | const if_facer_opmode_t | new_opmode | ) |
Set opmode value.
Current opmode.
- Parameters:
-
new_opmode new opmode value
Definition at line 831 of file FacerInterface.cpp.
The documentation for this class was generated from the following files:
- src/interfaces/FacerInterface.h
- src/interfaces/FacerInterface.cpp

