#include <OutMessage.h>
Collaboration diagram for OutMessage:

Public Member Functions | |
| OutMessage (MessageQueueBase &queue) | |
| Constructor. | |
| void | finishMessage (MessageID id) |
| Finishes the message and allows to write a new message. | |
Public Attributes | |
| OutBinaryMessage | bin |
| An interface for writing binary messages into the queue. | |
| OutTextMessage | text |
| An interface for writing text messages into the queue. | |
| OutTextMessage | textRaw |
| An interface for writing text messages in a raw style (see class OutTextRaw) into the queue. | |
Protected Member Functions | |
| void | finishMessage (MessageID id, unsigned long timeStamp, Player::teamColor teamColor, Player::playerNumber playerNumber, bool messageWasSentFromAPhysicalRobot) |
| Finishes the message and allows to write a new message. | |
Protected Attributes | |
| Player::teamColor | teamColorForNewMessages |
| The player's team color that is attached to new messages. | |
| Player::playerNumber | playerNumberForNewMessages |
| The player number that is attached to new messages. | |
Private Attributes | |
| MessageQueueBase & | queue |
| The message queue where the messages are written into. | |
Friends | |
| class | MessageQueue |
| gives the MessageQueue class access to protected members | |
| class | InMessage |
| gives the InMessage class access to protected members | |
| void | operator>> (InMessage &message, MessageQueue &queue) |
| gives the operator that copies a InMessage to another queue access to protected members | |
| In & | operator>> (In &stream, MessageQueue &messageQueue) |
| gives the In streaming opeator access to protected members | |
Use the bin or text member for formated writing into a message queue.
Definition at line 100 of file OutMessage.h.
|
|
Constructor.
Definition at line 43 of file OutMessage.cpp. |
|
|
Finishes the message and allows to write a new message. Call that function after the writing of every message.
Definition at line 50 of file OutMessage.cpp. References MessageQueueBase::finishMessage(), playerNumberForNewMessages, and teamColorForNewMessages. Referenced by MessageQueue::copyMessage(), BBInvKinIndividual::dump(), CalibrationIndividual::dump(), BB2004Calibrator::evolve(), GT2004BallLocator::handleMessage(), BB2004InvKinWalkingEngine::learn(), operator>>(), GTXabsl2EngineExecutor::sendDebugMessage(), and GT2004BallLocator::sendProcessModelStates(). |
Here is the call graph for this function:

|
||||||||||||||||||||||||
|
Finishes the message and allows to write a new message.
Definition at line 56 of file OutMessage.cpp. References MessageQueueBase::finishMessage(). |
Here is the call graph for this function:

|
|
gives the MessageQueue class access to protected members
Definition at line 155 of file OutMessage.h. |
|
|
gives the InMessage class access to protected members
Definition at line 158 of file OutMessage.h. |
|
||||||||||||
|
gives the operator that copies a InMessage to another queue access to protected members
Definition at line 180 of file MessageQueue.cpp. |
|
||||||||||||
|
gives the In streaming opeator access to protected members
Definition at line 104 of file MessageQueue.cpp. |
|
|
The message queue where the messages are written into.
Definition at line 106 of file OutMessage.h. |
|
|
An interface for writing binary messages into the queue.
Definition at line 110 of file OutMessage.h. Referenced by MessageQueue::copyMessage(), GT2004BallLocator::handleMessage(), operator>>(), GTXabsl2EngineExecutor::sendDebugMessage(), and GT2004BallLocator::sendProcessModelStates(). |
|
|
An interface for writing text messages into the queue.
Definition at line 113 of file OutMessage.h. Referenced by BBInvKinIndividual::dump(), CalibrationIndividual::dump(), BB2004Calibrator::evolve(), and BB2004InvKinWalkingEngine::learn(). |
|
|
An interface for writing text messages in a raw style (see class OutTextRaw) into the queue.
Definition at line 119 of file OutMessage.h. |
|
|
The player's team color that is attached to new messages.
Definition at line 149 of file OutMessage.h. Referenced by finishMessage(), and MessageQueue::setPlayerForNewMessages(). |
|
|
The player number that is attached to new messages.
Definition at line 152 of file OutMessage.h. Referenced by finishMessage(), and MessageQueue::setPlayerForNewMessages(). |
1.3.6