![]() |
OGRE 2.1
Object-Oriented Graphics Rendering Engine
|
Instances of this class 'control' the value of another object in the system. More...
#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. | |
const SharedPtr< ControllerValue< T > > & | getDestination (void) const |
Gets the output controller value. | |
bool | getEnabled (void) const |
Returns true if this controller is currently enabled. | |
const SharedPtr< ControllerFunction< T > > & | getFunction (void) const |
Returns a pointer to the function object used by this controller. | |
const SharedPtr< ControllerValue< T > > & | getSource (void) const |
Gets the input controller value. | |
void | operator delete (void *ptr) |
void | operator delete (void *ptr, const char *, int, const char *) |
void | operator delete (void *ptr, void *) |
void | operator delete[] (void *ptr) |
void | operator delete[] (void *ptr, const char *, int, const char *) |
void * | operator new (size_t sz) |
void * | operator new (size_t sz, const char *file, int line, const char *func) |
operator new, with debug line info | |
void * | operator new (size_t sz, void *ptr) |
placement operator new | |
void * | operator new[] (size_t sz) |
void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
array operator new, with debug line info | |
void | setDestination (const SharedPtr< ControllerValue< T > > &dest) |
Sets the output controller value. | |
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. | |
void | setSource (const SharedPtr< ControllerValue< T > > &src) |
Sets the input controller value. | |
void | update (void) |
Tells this controller to map it's input controller value to it's output controller value, via the controller function. | |
Instances of this class 'control' the value of another object in the system.
|
inline |
Usual constructor.
|
inlinevirtual |
Default d-tor.
|
inline |
Gets the output controller value.
|
inline |
Returns true if this controller is currently enabled.
|
inline |
Returns a pointer to the function object used by this controller.
|
inline |
Gets the input controller value.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
operator new, with debug line info
placement operator new
|
inlineinherited |
|
inlineinherited |
array operator new, with debug line info
|
inline |
Sets the output controller value.
|
inline |
Sets whether this controller is enabled.
|
inline |
Sets the function object to be used by this controller.
|
inline |
Sets the input controller value.
|
inline |
Tells this controller to map it's input controller value to it's output controller value, via the controller function.