| Homepage | Demos | Overview | Downloads | Tutorials | Reference | Credits |
ValueSetControl< T > Class Template Reference#include <ValueSetControl.h>
Inheritance diagram for ValueSetControl< T >: ![]() Detailed Descriptiontemplate<class T>
Upon activation, this control will set the target pointer to the specified value.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Public Member Functions | |
| virtual ControlBase * | activate (MotionManager::MC_ID display) |
| assigns def to object pointed to by target | |
Constructors/Destructors | |
| ValueSetControl () | |
| constructor | |
| ValueSetControl (const std::string &n, T *t) | |
| constructor | |
| ValueSetControl (const std::string &n, T *t, const T &d) | |
| constructor | |
| ValueSetControl (const ValueSetControl &vsc) | |
| copy constructor | |
| ValueSetControl | operator= (const ValueSetControl &vsc) |
| assignment operator | |
| virtual | ~ValueSetControl () |
| destructor | |
Target | |
accessors for the target pointer | |
| virtual T * | getTarget () const |
| returns the target pointer | |
| virtual ValueSetControl & | setTarget (T *t) |
sets the target pointer - the object pointed to will be overwritten on activate(); returns *this | |
Value | |
accessors for the default value assigned when activated | |
| virtual T & | getDefault () |
| gets reference to default value | |
| virtual const T & | getDefault () const |
| gets reference to default value | |
| virtual ValueSetControl & | setDefault (const T &d) |
assigns d to the default value (not to the target, yet); returns *this | |
Protected Attributes | |
| T * | target |
| the target that will be set to the default value (def) | |
| T | def |
| the value that will be assigned to target upon a call to activate() | |
|
|||||||||
|
constructor
Definition at line 13 of file ValueSetControl.h. |
|
||||||||||||||||
|
constructor
Definition at line 14 of file ValueSetControl.h. |
|
||||||||||||||||||||
|
constructor
Definition at line 15 of file ValueSetControl.h. |
|
||||||||||
|
copy constructor
Definition at line 16 of file ValueSetControl.h. |
|
|||||||||
|
destructor
Definition at line 18 of file ValueSetControl.h. |
|
||||||||||
|
assigns def to object pointed to by target
Definition at line 22 of file ValueSetControl.h. |
|
|||||||||
|
gets reference to default value
Definition at line 39 of file ValueSetControl.h. |
|
|||||||||
|
gets reference to default value
Definition at line 38 of file ValueSetControl.h. |
|
|||||||||
|
returns the target pointer
Definition at line 32 of file ValueSetControl.h. |
|
||||||||||
|
assignment operator
Definition at line 17 of file ValueSetControl.h. |
|
||||||||||
|
assigns d to the default value (not to the target, yet); returns
Definition at line 40 of file ValueSetControl.h. |
|
||||||||||
|
sets the target pointer - the object pointed to will be overwritten on activate(); returns
Definition at line 33 of file ValueSetControl.h. |
|
|||||
|
the value that will be assigned to target upon a call to activate()
Definition at line 45 of file ValueSetControl.h. Referenced by ValueSetControl< T >::operator=(), ValueSetControl< T >::setDefault(), and ValueSetControl< T >::ValueSetControl(). |
|
|||||
|
the target that will be set to the default value (def)
Definition at line 44 of file ValueSetControl.h. Referenced by ValueSetControl< T >::activate(), ValueSetControl< T >::operator=(), ValueSetControl< T >::setTarget(), and ValueSetControl< T >::ValueSetControl(). |
|
Tekkotsu v2.2.1 |
Generated Tue Nov 23 16:37:53 2004 by Doxygen 1.3.9.1 |