![]() |
OGRE 13.3
Object-Oriented Graphics Rendering Engine
|
Instances of this class 'control' the value of another object in the system. More...
#include <OgreController.h>
Inheritance diagram for Ogre::Controller< T >:Public Member Functions | |
| Controller (const SharedPtr< ControllerValue< T > > &src, const SharedPtr< ControllerValue< T > > &dest, const SharedPtr< ControllerFunction< T > > &func) | |
| Usual constructor. More... | |
| virtual | ~Controller () |
| Default d-tor. More... | |
| const SharedPtr< ControllerValue< T > > & | getDestination (void) const |
| Gets the output controller value. More... | |
| bool | getEnabled (void) const |
| Returns true if this controller is currently enabled. More... | |
| const SharedPtr< ControllerFunction< T > > & | getFunction (void) const |
| Returns a pointer to the function object used by this controller. More... | |
| const SharedPtr< ControllerValue< T > > & | getSource (void) const |
| Gets the input controller value. More... | |
| void | setDestination (const SharedPtr< ControllerValue< T > > &dest) |
| Sets the output controller value. More... | |
| void | setEnabled (bool enabled) |
| Sets whether this controller is enabled. More... | |
| void | setFunction (const SharedPtr< ControllerFunction< T > > &func) |
| Sets the function object to be used by this controller. More... | |
| void | setSource (const SharedPtr< ControllerValue< T > > &src) |
| Sets the input controller value. More... | |
| void | update (void) |
| Tells this controller to map it's input controller value to it's output controller value, via the controller function. More... | |
Instances of this class 'control' the value of another object in the system.
|
inline |
Usual constructor.
|
inlinevirtual |
Default d-tor.
|
inline |
Sets the input controller value.
|
inline |
Gets the input controller value.
|
inline |
Sets the output controller value.
|
inline |
Gets the output controller value.
|
inline |
Returns true if this controller is currently enabled.
|
inline |
Sets whether this controller is enabled.
|
inline |
Sets the function object to be used by this controller.
|
inline |
Returns a pointer to the function object used by this controller.
|
inline |
Tells this controller to map it's input controller value to it's output controller value, via the controller function.