dtCore::ButtonMapping Class Reference

A mapping for a logical button. More...

#include <logicalinputdevice.h>

Inheritance diagram for dtCore::ButtonMapping:

dtCore::ButtonToButton

List of all members.

Public Member Functions

 ButtonMapping ()
 Constructor.

Protected Member Functions

virtual ~ButtonMapping ()
 Destructor.
virtual void SetTargetButton (LogicalButton *targetButton)=0
 Sets the target button.
virtual LogicalButtonGetTargetButton ()=0
 Gets the target button.

Friends

class LogicalButton


Detailed Description

A mapping for a logical button.

Constructor & Destructor Documentation

dtCore::ButtonMapping::ButtonMapping (  ) 

Constructor.

dtCore::ButtonMapping::~ButtonMapping (  )  [protected, virtual]

Destructor.


Member Function Documentation

virtual void dtCore::ButtonMapping::SetTargetButton ( LogicalButton targetButton  )  [protected, pure virtual]

Sets the target button.

Parameters:
targetButton the new target button

Implemented in dtCore::ButtonToButton.

virtual LogicalButton* dtCore::ButtonMapping::GetTargetButton (  )  [protected, pure virtual]

Gets the target button.

Returns:
the current target button

Implemented in dtCore::ButtonToButton.


Friends And Related Function Documentation

friend class LogicalButton [friend]


http://www.delta3d.org
2.0.0 generated 14 Feb 2008