#include <RobotControlQueues.h>
Public Member Functions | |
CRobotControlQueues () | |
Static Public Member Functions | |
static bool | isFromSelectedOrUndefinedRobot (const InMessage &message) |
Public Attributes | |
CRobotControlQueuesToRobots | toPhysical |
CRobotControlQueuesToRobots | toSimulated |
MessageQueue | toGUI |
LogPlayer | logPlayer |
Protected Attributes | |
MessageQueue | fromPhysicalRobots |
MessageQueue | fromSimulatedRobots |
Friends | |
class | CMessageHandlerForQueueFromPhysicalRobots |
class | CRobotControlApp |
class | OVirtualRobotComm |
class | CLogPlayerToolBar |
class | CRobotControlPhysicalRobots |
Definition at line 42 of file RobotControlQueues.h.
CRobotControlQueues::CRobotControlQueues | ( | ) |
Constructor
Definition at line 13 of file RobotControlQueues.cpp.
bool CRobotControlQueues::isFromSelectedOrUndefinedRobot | ( | const InMessage & | message | ) | [static] |
Returns whether a certain message is from a selected (simulated or physical) robot. If the robot number is undefined, true is returned too.
Definition at line 18 of file RobotControlQueues.cpp.
References InMessage::getMessageWasSentFromAPhysicalRobot(), getPhysicalRobots(), InMessage::getRobotNumber(), CRobotControlSimulatedRobots::getSelectedRobot(), CRobotControlPhysicalRobots::getSelectedRobot(), and getSimulatedRobots().
Referenced by CGT2004BallLocatorSetDlgBar::handleMessage().
friend class CLogPlayerToolBar [friend] |
Definition at line 73 of file RobotControlQueues.h.
friend class CMessageHandlerForQueueFromPhysicalRobots [friend] |
Definition at line 70 of file RobotControlQueues.h.
friend class CRobotControlApp [friend] |
Definition at line 71 of file RobotControlQueues.h.
friend class CRobotControlPhysicalRobots [friend] |
Definition at line 74 of file RobotControlQueues.h.
friend class OVirtualRobotComm [friend] |
Definition at line 72 of file RobotControlQueues.h.
MessageQueue CRobotControlQueues::fromPhysicalRobots [protected] |
A queue for messages from the physical robots
Definition at line 62 of file RobotControlQueues.h.
Referenced by CRobotControlApp::OnIdle().
MessageQueue CRobotControlQueues::fromSimulatedRobots [protected] |
A queue for messages from the simulated robots
Definition at line 65 of file RobotControlQueues.h.
Referenced by OVirtualRobotComm::handleMessage(), and CRobotControlApp::OnIdle().
A queue for recording messages from the queueFromPhysicalRobots
Definition at line 58 of file RobotControlQueues.h.
Referenced by CMessageHandlerForQueueFromPhysicalRobots::handleMessage(), and CRobotControlApp::OnIdle().
A queue for messages that are handled by the GUI
Definition at line 55 of file RobotControlQueues.h.
Referenced by CMofTesterDlgBar::handleCommand(), CMessageHandlerForQueueToGUI::handleMessage(), CMessageHandlerForQueueFromSimulatedRobots::handleMessage(), CMessageHandlerForQueueFromPhysicalRobots::handleMessage(), CStatisticsDlgBar::handleMessage(), CSettingsDlgBar::loadSettings(), log(), CWLANConfigurationDialog::OnCopy(), CWLANToolBar::OnDeploy(), CRobotControlApp::OnIdle(), CGT2004WalkingEngineParamSetDlgBar::OnLoad(), CMotionTesterDlgBar::OnSend(), CMotionTesterDlgBar::OnSmoothControlCheck(), CMotionTesterDlgBar::OnStabilizeCheck(), CMotionTesterDlgBar::OnUpdateRPCheck(), CXabsl2DlgBar::reload(), CXabsl2DlgBar::sendIntermediateCode(), CColorTable64DlgBar::sendLocal(), and CStatisticsDlgBar::showSummary().
The queues to the physical robots
Definition at line 49 of file RobotControlQueues.h.
Referenced by CInvKinParametersDlgBar::getFitness(), CMofTesterDlgBar::handleCommand(), CDebugKeysToolBar::handleCommand(), CCameraParametersToolBar::handleCommand(), CInvKinParametersDlgBar::OnButtonSend(), CColorTable64DlgBar::OnCt64SendToRobot(), CTacticDesignerDlgBar::OnFreezeButton(), CRobotControlPhysicalRobots::onIdle(), CGameToolBar::OnIdle(), CGT2004BallLocatorSetDlgBar::OnKsSend(), CGT2004WalkingEngineParamSetDlgBar::OnLoad(), CGT2004WalkingEngineParamSetDlgBar::OnMeasure(), CGT2004WalkingEngineParamSetDlgBar::OnSave(), CMotionTesterDlgBar::OnSend(), CKickEditorDlgBar::OnSend(), CHeadMotionTesterDlgBar::OnSend(), CGT2004WalkingEngineParamSetDlgBar::OnSend(), CDebugMessageGeneratorDlgBar::OnSend(), CTacticDesignerDlgBar::OnSendButton(), CTSLColorTableToolDlgBar::OnTSLColorTableToolSend(), CTacticDesignerDlgBar::OnUnfreezeButton(), CGT2004BallLocatorSetDlgBar::RequestKalmanParameters(), CGameToolBar::send(), CCameraParametersToolBar::send(), CXabsl2DlgBar::sendDebugRequest(), CRobotControlDebugKeyTables::sendForPhysicalRobots(), CXabsl2DlgBar::sendIntermediateCode(), CMofTesterDlgBar::sendSequence(), CSettingsDlgBar::sendToRobot(), and CInvKinParametersDlgBar::startWalking().
The queues to the simulated robots
Definition at line 52 of file RobotControlQueues.h.
Referenced by CInvKinParametersDlgBar::getFitness(), CMofTesterDlgBar::handleCommand(), CDebugKeysToolBar::handleCommand(), CMessageHandlerForQueueFromPhysicalRobots::handleMessage(), CInvKinParametersDlgBar::OnButtonSend(), CTacticDesignerDlgBar::OnFreezeButton(), CRobotControlSimulatedRobots::onIdle(), CGameToolBar::OnIdle(), CGT2004BallLocatorSetDlgBar::OnKsSend(), CGT2004WalkingEngineParamSetDlgBar::OnLoad(), CGT2004WalkingEngineParamSetDlgBar::OnMeasure(), CMotionTesterDlgBar::OnSend(), CKickEditorDlgBar::OnSend(), CHeadMotionTesterDlgBar::OnSend(), CGT2004WalkingEngineParamSetDlgBar::OnSend(), CDebugMessageGeneratorDlgBar::OnSend(), CTacticDesignerDlgBar::OnSendButton(), CTSLColorTableToolDlgBar::OnTSLColorTableToolLoad(), CTSLColorTableToolDlgBar::OnTSLColorTableToolSend(), CTacticDesignerDlgBar::OnUnfreezeButton(), CGT2004BallLocatorSetDlgBar::RequestKalmanParameters(), CGameToolBar::send(), CXabsl2DlgBar::sendDebugRequest(), CRobotControlDebugKeyTables::sendForSimulatedRobots(), CXabsl2DlgBar::sendIntermediateCode(), CSettingsDlgBar::sendLocal(), CColorTable64DlgBar::sendLocal(), CMofTesterDlgBar::sendSequence(), and CInvKinParametersDlgBar::startWalking().