CRobotControlQueues Class Reference

#include <RobotControlQueues.h>

List of all members.

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


Detailed Description

The main message queues in RobotControl.

Author:
Martin Lötzsch

Definition at line 42 of file RobotControlQueues.h.


Constructor & Destructor Documentation

CRobotControlQueues::CRobotControlQueues (  ) 

Constructor

Definition at line 13 of file RobotControlQueues.cpp.


Member Function Documentation

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().


Friends And Related Function Documentation

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.


Member Data Documentation

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().

LogPlayer CRobotControlQueues::logPlayer

A queue for recording messages from the queueFromPhysicalRobots

Definition at line 58 of file RobotControlQueues.h.

Referenced by CMessageHandlerForQueueFromPhysicalRobots::handleMessage(), and CRobotControlApp::OnIdle().

MessageQueue CRobotControlQueues::toGUI

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().

CRobotControlQueuesToRobots CRobotControlQueues::toPhysical

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().

CRobotControlQueuesToRobots CRobotControlQueues::toSimulated

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().


The documentation for this class was generated from the following files:
Generated on Thu Dec 7 01:24:20 2006 for DT2005.panorama by  doxygen 1.4.7