Homepage Demos Overview Downloads Tutorials Reference
Credits
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members | Related Pages | Search

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.

References MCValueEditControl< T >::mcid.

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.

References MotionManager::checkinMotion(), MotionManager::checkoutMotion(), ValueEditControl< T >::doSelect(), MCValueEditControl< T >::mcid, and motman.


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.


The documentation for this class was generated from the following file:
Tekkotsu v1.4
Generated Sat Jul 19 00:09:03 2003 by Doxygen 1.3.2