Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

MCValueEditControl< T > Class Template Reference

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

#include <MCValueEditControl.h>

Inheritance diagram for MCValueEditControl< T >:

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.

List of all members.

Public Member Functions

 MCValueEditControl (const std::string &n, T *t, 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

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,
MC_ID  id 
)

constructor

Definition at line 11 of file MCValueEditControl.h.

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

destructor

Definition at line 14 of file MCValueEditControl.h.


Member Function Documentation

template<class T >
virtual ControlBase* MCValueEditControl< T >::doSelect (  )  [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 >
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 v5.1CVS
Generated Mon May 9 04:59:13 2016 by Doxygen 1.6.3