CRobotControlToolBar Class Reference

#include <RobotControlToolBar.h>

Inheritance diagram for CRobotControlToolBar:

CToolBarEx CCameraParametersToolBar CDebugKeysToolBar CGameToolBar CLogPlayerToolBar CSimulatedRobotsToolBar CWLANToolBar List of all members.

Public Member Functions

virtual void Init ()=0
virtual bool HasButtonText (UINT nID)
virtual bool handleMessage (InMessage &message)
virtual void updateUI (CCmdUI *pCmdUI)
virtual bool handleCommand (UINT command)
virtual bool handleSelChange (UINT nID)
virtual bool handleEditChange (UINT nID)
virtual bool handleDropDown (NMHDR *pNotifyStruct)
virtual void OnIdle ()

Detailed Description

The base class of all tool bars in RobotControl.

Author:
Martin Lötzsch.

Definition at line 24 of file RobotControlToolBar.h.


Member Function Documentation

virtual bool CRobotControlToolBar::handleCommand ( UINT  command  )  [inline, virtual]

Handles control notifications which arrived in the main frame

Parameters:
command The id of the control, menu, accelerator etc.
Returns:
If the command was handled.

Reimplemented in CCameraParametersToolBar, CDebugKeysToolBar, CGameToolBar, CLogPlayerToolBar, CSimulatedRobotsToolBar, and CWLANToolBar.

Definition at line 53 of file RobotControlToolBar.h.

virtual bool CRobotControlToolBar::handleDropDown ( NMHDR *  pNotifyStruct  )  [inline, virtual]

Handles Dropdown events in for dropdown buttons

Returns:
if the message was handled

Reimplemented in CSimulatedRobotsToolBar.

Definition at line 75 of file RobotControlToolBar.h.

virtual bool CRobotControlToolBar::handleEditChange ( UINT  nID  )  [inline, virtual]

Handles change events for edit controls. That function must be called from the main frame window for all edit controls of the toolbar.

Parameters:
nID the command id of the edit control
Returns:
if the message was handled

Reimplemented in CDebugKeysToolBar, and CLogPlayerToolBar.

Definition at line 69 of file RobotControlToolBar.h.

virtual bool CRobotControlToolBar::handleMessage ( InMessage message  )  [inline, virtual]

Is called for incoming debug messages.

Parameters:
message The message to handle.
Returns:
If the message was handled.

Definition at line 38 of file RobotControlToolBar.h.

virtual bool CRobotControlToolBar::handleSelChange ( UINT  nID  )  [inline, virtual]

Handles selection change events for combo boxes. That function must be called from the main frame window for all combo boxes of the toolbar.

Parameters:
nID the command id of the combo box
Returns:
if the message was handled

Reimplemented in CCameraParametersToolBar, CDebugKeysToolBar, CGameToolBar, CLogPlayerToolBar, and CWLANToolBar.

Definition at line 61 of file RobotControlToolBar.h.

virtual bool CRobotControlToolBar::HasButtonText ( UINT  nID  )  [inline, virtual]

Determines for every control id if the button has a text or not

Reimplemented from CToolBarEx.

Reimplemented in CCameraParametersToolBar, CDebugKeysToolBar, CGameToolBar, CLogPlayerToolBar, CSimulatedRobotsToolBar, and CWLANToolBar.

Definition at line 31 of file RobotControlToolBar.h.

virtual void CRobotControlToolBar::Init (  )  [pure virtual]

Initializes the toolbar's controls and members

Reimplemented from CToolBarEx.

Implemented in CCameraParametersToolBar, CDebugKeysToolBar, CGameToolBar, CLogPlayerToolBar, CSimulatedRobotsToolBar, and CWLANToolBar.

virtual void CRobotControlToolBar::OnIdle (  )  [inline, virtual]

Is called when the application is in idle state

Reimplemented in CGameToolBar.

Definition at line 78 of file RobotControlToolBar.h.

virtual void CRobotControlToolBar::updateUI ( CCmdUI *  pCmdUI  )  [inline, virtual]

Enables the controls in the dialog bar. This function is called from the main window for all controls.

Parameters:
pCmdUI An interface to the control that allows enabling/disabling, checking etc.

Reimplemented in CDebugKeysToolBar, CGameToolBar, CLogPlayerToolBar, CSimulatedRobotsToolBar, and CWLANToolBar.

Definition at line 46 of file RobotControlToolBar.h.


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