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

Classes | |
| struct | SetTeamColorMessage_data_t |
| Internal data storage, do NOT modify! | |
Public Member Functions | |
| SetTeamColorMessage (const if_gamestate_team_t ini_our_team) | |
| Constructor with initial values. | |
| SetTeamColorMessage () | |
| Constructor. | |
| ~SetTeamColorMessage () | |
| Destructor. | |
| SetTeamColorMessage (const SetTeamColorMessage *m) | |
| Copy constructor. | |
| if_gamestate_team_t | our_team () const |
| Get our_team value. | |
| void | set_our_team (const if_gamestate_team_t new_our_team) |
| Set our_team value. | |
| size_t | maxlenof_our_team () const |
| Get maximum length of our_team value. | |
| virtual Message * | clone () const |
| Clone this message. | |
Detailed Description
SetTeamColorMessage Fawkes BlackBoard Interface Message.Definition at line 115 of file GameStateInterface.h.
Constructor & Destructor Documentation
| fawkes::GameStateInterface::SetTeamColorMessage::SetTeamColorMessage | ( | const if_gamestate_team_t | ini_our_team | ) |
Constructor with initial values.
- Parameters:
-
ini_our_team initial value for our_team
Definition at line 411 of file GameStateInterface.cpp.
References fawkes::Message::data_ptr, and fawkes::Message::data_size.
| fawkes::GameStateInterface::SetTeamColorMessage::SetTeamColorMessage | ( | ) |
Constructor.
Definition at line 420 of file GameStateInterface.cpp.
References fawkes::Message::data_ptr, and fawkes::Message::data_size.
Referenced by clone().
| fawkes::GameStateInterface::SetTeamColorMessage::~SetTeamColorMessage | ( | ) |
Destructor.
Definition at line 429 of file GameStateInterface.cpp.
References fawkes::Message::data_ptr.
| fawkes::GameStateInterface::SetTeamColorMessage::SetTeamColorMessage | ( | const SetTeamColorMessage * | m | ) |
Copy constructor.
- Parameters:
-
m message to copy from
Definition at line 437 of file GameStateInterface.cpp.
References fawkes::Message::data_ptr, and fawkes::Message::data_size.
Member Function Documentation
| Message * fawkes::GameStateInterface::SetTeamColorMessage::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 482 of file GameStateInterface.cpp.
References SetTeamColorMessage().
| size_t fawkes::GameStateInterface::SetTeamColorMessage::maxlenof_our_team | ( | ) | const |
Get maximum length of our_team value.
- Returns:
- length of our_team value, can be length of the array or number of maximum number of characters for a string
Definition at line 461 of file GameStateInterface.cpp.
| GameStateInterface::if_gamestate_team_t fawkes::GameStateInterface::SetTeamColorMessage::our_team | ( | ) | const |
Get our_team value.
Our team color
- Returns:
- our_team value
Definition at line 451 of file GameStateInterface.cpp.
Referenced by RefBoxCommThread::loop().
| void fawkes::GameStateInterface::SetTeamColorMessage::set_our_team | ( | const if_gamestate_team_t | new_our_team | ) |
Set our_team value.
Our team color
- Parameters:
-
new_our_team new our_team value
Definition at line 471 of file GameStateInterface.cpp.
The documentation for this class was generated from the following files:
- src/interfaces/GameStateInterface.h
- src/interfaces/GameStateInterface.cpp

