Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

MCValueEditControl< T > Class Template Reference

#include <MCValueEditControl.h>

Inheritance diagram for MCValueEditControl< T >:

Inheritance graph
[legend]
List of all members.

Detailed Description

template<class T>
class MCValueEditControl< T >

allows you to modify a value in memory, much like ValueEditControl, but will check out a MotionCommand first to maintain proper mutual exclusion.

Definition at line 8 of file MCValueEditControl.h.

Public Member Functions

 MCValueEditControl (const std::string &n, T *t, MotionManager::MC_ID id)
 constructor
virtual ~MCValueEditControl ()
 destructor
virtual ControlBasedoSelect ()
 if the value of the target!=cur, assigns the current value to the target and all the copies

Protected Attributes

MotionManager::MC_ID mcid
 the id of the MotionCommand which should be checked out


Constructor & Destructor Documentation

template<class T>
MCValueEditControl< T >::MCValueEditControl const std::string &  n,
T *  t,
MotionManager::MC_ID  id
[inline]
 

constructor

Definition at line 11 of file MCValueEditControl.h.

template<class T>
virtual MCValueEditControl< T >::~MCValueEditControl  )  [inline, virtual]
 

destructor

Definition at line 14 of file MCValueEditControl.h.


Member Function Documentation

template<class T>
virtual ControlBase* MCValueEditControl< T >::doSelect  )  [inline, virtual]
 

if the value of the target!=cur, assigns the current value to the target and all the copies

Reimplemented from ValueEditControl< T >.

Definition at line 16 of file MCValueEditControl.h.


Member Data Documentation

template<class T>
MotionManager::MC_ID MCValueEditControl< T >::mcid [protected]
 

the id of the MotionCommand which should be checked out

Definition at line 24 of file MCValueEditControl.h.

Referenced by MCValueEditControl< T >::doSelect().


The documentation for this class was generated from the following file:

Tekkotsu v2.4.1
Generated Tue Aug 16 16:35:04 2005 by Doxygen 1.4.4