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. 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 | operator delete (void *ptr) |
void | operator delete (void *ptr, void *) |
void | operator delete (void *ptr, const char *, int, const char *) |
void | operator delete[] (void *ptr) |
void | operator delete[] (void *ptr, const char *, int, const char *) |
void * | operator new (size_t sz, const char *file, int line, const char *func) |
operator new, with debug line info More... | |
void * | operator new (size_t sz) |
void * | operator new (size_t sz, void *ptr) |
placement operator new More... | |
void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
array operator new, with debug line info More... | |
void * | operator new[] (size_t sz) |
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... | |
Protected Attributes | |
SharedPtr< ControllerValue< T > > | mDest |
Destination value. More... | |
bool | mEnabled |
Controller is enabled or not. More... | |
SharedPtr< ControllerFunction < T > > | mFunc |
Function. More... | |
SharedPtr< ControllerValue< T > > | mSource |
Source value. More... | |
Instances of this class 'control' the value of another object in the system.
Definition at line 135 of file OgreController.h.
|
inline |
Usual constructor.
Definition at line 155 of file OgreController.h.
|
inlinevirtual |
Default d-tor.
Definition at line 164 of file OgreController.h.
|
inline |
Gets the output controller value.
Definition at line 184 of file OgreController.h.
|
inline |
Returns true if this controller is currently enabled.
Definition at line 190 of file OgreController.h.
|
inline |
Returns a pointer to the function object used by this controller.
Definition at line 210 of file OgreController.h.
|
inline |
Gets the input controller value.
Definition at line 173 of file OgreController.h.
|
inlineinherited |
Definition at line 96 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
Definition at line 102 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
Definition at line 108 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
Definition at line 113 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
Definition at line 119 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
operator new, with debug line info
Definition at line 68 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
Definition at line 73 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
placement operator new
Definition at line 79 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
array operator new, with debug line info
Definition at line 86 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
Definition at line 91 of file OgreMemoryAllocatedObject.h.
|
inline |
Sets the output controller value.
Definition at line 178 of file OgreController.h.
|
inline |
Sets whether this controller is enabled.
Definition at line 196 of file OgreController.h.
|
inline |
Sets the function object to be used by this controller.
Definition at line 203 of file OgreController.h.
|
inline |
Sets the input controller value.
Definition at line 168 of file OgreController.h.
|
inline |
Tells this controller to map it's input controller value to it's output controller value, via the controller function.
Definition at line 220 of file OgreController.h.
|
protected |
Destination value.
Definition at line 141 of file OgreController.h.
Referenced by Ogre::Controller< Real >::getDestination(), Ogre::Controller< Real >::setDestination(), and Ogre::Controller< Real >::update().
|
protected |
Controller is enabled or not.
Definition at line 145 of file OgreController.h.
Referenced by Ogre::Controller< Real >::Controller(), Ogre::Controller< Real >::getEnabled(), Ogre::Controller< Real >::setEnabled(), and Ogre::Controller< Real >::update().
|
protected |
Function.
Definition at line 143 of file OgreController.h.
Referenced by Ogre::Controller< Real >::getFunction(), Ogre::Controller< Real >::setFunction(), and Ogre::Controller< Real >::update().
|
protected |
Source value.
Definition at line 139 of file OgreController.h.
Referenced by Ogre::Controller< Real >::getSource(), Ogre::Controller< Real >::setSource(), and Ogre::Controller< Real >::update().