#include <OgreController.h>
Public Member Functions | |
Controller (const SharedPtr< ControllerValue< T > > &src, const SharedPtr< ControllerValue< T > > &dest, const SharedPtr< ControllerFunction< T > > &func) | |
Usual constructor. | |
virtual | ~Controller () |
Default d-tor. | |
void | setSource (const SharedPtr< ControllerValue< T > > &src) |
Sets the input controller value. | |
const SharedPtr< ControllerValue< T > > & | getSource (void) const |
Gets the input controller value. | |
void | setDestination (const SharedPtr< ControllerValue< T > > &dest) |
Sets the output controller value. | |
const SharedPtr< ControllerValue< T > > & | getDestination (void) const |
Gets the output controller value. | |
bool | getEnabled (void) const |
Returns true if this controller is currently enabled. | |
void | setEnabled (bool enabled) |
Sets whether this controller is enabled. | |
void | setFunction (const SharedPtr< ControllerFunction< T > > &func) |
Sets the function object to be used by this controller. | |
const SharedPtr< ControllerFunction< T > > & | getFunction (void) const |
Returns a pointer to the function object used by this controller. | |
void | update (void) |
Tells this controller to map it's input controller value to it's output controller value, via the controller function. | |
Protected Attributes | |
SharedPtr< ControllerValue< T > > | mSource |
Source value. | |
SharedPtr< ControllerValue< T > > | mDest |
Destination value. | |
SharedPtr< ControllerFunction< T > > | mFunc |
Function. | |
bool | mEnabled |
Controller is enabled or not. |
Definition at line 127 of file OgreController.h.
|
Usual constructor.
Definition at line 147 of file OgreController.h. |
|
Default d-tor.
Definition at line 156 of file OgreController.h. |
|
Gets the output controller value.
Definition at line 176 of file OgreController.h. |
|
Returns true if this controller is currently enabled.
Definition at line 182 of file OgreController.h. |
|
Returns a pointer to the function object used by this controller.
Definition at line 202 of file OgreController.h. |
|
Gets the input controller value.
Definition at line 165 of file OgreController.h. |
|
Sets the output controller value.
Definition at line 170 of file OgreController.h. |
|
Sets whether this controller is enabled.
Definition at line 188 of file OgreController.h. |
|
Sets the function object to be used by this controller.
Definition at line 195 of file OgreController.h. |
|
Sets the input controller value.
Definition at line 160 of file OgreController.h. |
|
Tells this controller to map it's input controller value to it's output controller value, via the controller function.
Definition at line 212 of file OgreController.h. |
|
Destination value.
Definition at line 133 of file OgreController.h. |
|
Controller is enabled or not.
Definition at line 137 of file OgreController.h. |
|
Function.
Definition at line 135 of file OgreController.h. |
|
Source value.
Definition at line 131 of file OgreController.h. |
Copyright © 2000-2005 by The OGRE Team
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sun Mar 12 14:38:36 2006