Public Member Functions | |
XFlexAR (const char *name, bool runtime, Transaction &tr_meas, const shared_ptr< XMeasure > &meas) | |
![]() | |
XFlexCRK (const char *name, bool runtime, Transaction &tr_meas, const shared_ptr< XMeasure > &meas) | |
![]() | |
XModbusRTUDriver (const char *name, bool runtime, Transaction &tr_meas, const shared_ptr< XMeasure > &meas) | |
![]() | |
XCharDeviceDriver (const char *name, bool runtime, Transaction &tr_meas, const shared_ptr< XMeasure > &meas) | |
![]() | |
XMotorDriver (const char *name, bool runtime, Transaction &tr_meas, const shared_ptr< XMeasure > &meas) | |
virtual | ~XMotorDriver () |
usually nothing to do | |
virtual void | showForms () |
Shows all forms belonging to driver. | |
const shared_ptr< XScalarEntry > & | position () const |
driver specific part below | |
const shared_ptr< XDoubleNode > & | target () const |
[deg.] | |
const shared_ptr< XUIntNode > & | stepMotor () const |
[steps per rot.] | |
const shared_ptr< XUIntNode > & | stepEncoder () const |
[steps per rot.] | |
const shared_ptr< XDoubleNode > & | currentStopping () const |
[%] | |
const shared_ptr< XDoubleNode > & | currentRunning () const |
[%] | |
const shared_ptr< XDoubleNode > & | speed () const |
[Hz] | |
const shared_ptr< XDoubleNode > & | timeAcc () const |
[ms/kHz] | |
const shared_ptr< XDoubleNode > & | timeDec () const |
[ms/kHz] | |
const shared_ptr< XBoolNode > & | active () const |
const shared_ptr< XBoolNode > & | ready () const |
const shared_ptr< XBoolNode > & | slipping () const |
const shared_ptr< XBoolNode > & | microStep () const |
const shared_ptr< XBoolNode > & | hasEncoder () const |
const shared_ptr < XTouchableNode > & | store () const |
const shared_ptr < XTouchableNode > & | clear () const |
const shared_ptr< XUIntNode > & | auxBits () const |
const shared_ptr< XBoolNode > & | round () const |
const shared_ptr< XUIntNode > & | roundBy () const |
const shared_ptr < XTouchableNode > & | forwardMotor () const |
const shared_ptr < XTouchableNode > & | reverseMotor () const |
const shared_ptr < XTouchableNode > & | stopMotor () const |
![]() | |
XPrimaryDriverWithThread (const char *name, bool runtime, Transaction &tr_meas, const shared_ptr< XMeasure > &meas) | |
virtual void | stop () |
![]() | |
XPrimaryDriver (const char *name, bool runtime, Transaction &tr_meas, const shared_ptr< XMeasure > &meas) | |
![]() | |
XDriver (const char *name, bool runtime, Transaction &tr_meas, const shared_ptr< XMeasure > &meas) | |
![]() | |
XNode (const char *name, bool runtime=false) | |
template<class T > | |
shared_ptr< T > | create (const char *name) |
template<class T , typename... Args> | |
shared_ptr< T > | create (const char *name, bool runtime, Args &&...args) |
template<class T > | |
shared_ptr< T > | create (Transaction &tr, const char *name) |
template<class T , typename... Args> | |
shared_ptr< T > | create (Transaction &tr, const char *name, bool runtime, Args &&...args) |
XString | getName () const |
virtual XString | getLabel () const |
XString | getTypename () const |
shared_ptr< XNode > | getChild (const XString &var) const |
shared_ptr< XNode > | getParent () const |
void | setUIEnabled (bool v) |
Enables/disables controls over scripting/GUI. | |
void | disable () |
Disables all scripting/GUI operations on this node hereafter. | |
![]() | |
bool | insert (Transaction< XNode > &tr, const shared_ptr< XNode > &var, bool online_after_insertion=false) |
void | insert (const shared_ptr< XNode > &var) |
bool | release (Transaction< XNode > &tr, const shared_ptr< XNode > &var) |
void | release (const shared_ptr< XNode > &var) |
void | releaseAll () |
bool | swap (Transaction< XNode > &tr, const shared_ptr< XNode > &x, const shared_ptr< XNode > &y) |
void | swap (const shared_ptr< XNode > &x, const shared_ptr< XNode > &y) |
XNode * | upperNode (Snapshot< XNode > &shot) |
Finds the parent node in shot. | |
Snapshot< XNode > | iterate_commit (Closure) |
Snapshot< XNode > | iterate_commit_if (Closure) |
void | iterate_commit_while (Closure) |
void | print_ () const |
Node (const Node &)=delete | |
Node & | operator= (const Node &)=delete |
Protected Member Functions | |
virtual void | getStatus (const Snapshot &shot, double *position, bool *slipping, bool *ready) |
virtual void | changeConditions (const Snapshot &shot) |
virtual void | getConditions (Transaction &tr) |
virtual void | setTarget (const Snapshot &shot, double target) |
virtual void | setActive (bool active) |
virtual void | setAUXBits (unsigned int bits) |
virtual void | setForward () |
continuous rotation. | |
virtual void | setReverse () |
continuous rotation. | |
virtual void | stopRotation () |
virtual void | storeToROM () |
stores current settings to the NV memory of the instrument. | |
virtual void | clearPosition () |
Private Member Functions | |
void | sendStopSignal (bool wait) |
Additional Inherited Members | |
![]() | |
using | NodeNotFoundError = std::domain_error |
using | NodeList = fast_vector< shared_ptr< XNode >, 2 > |
using | iterator = typename NodeList::iterator |
using | const_iterator = typename NodeList::const_iterator |
![]() | |
template<class T__ > | |
static shared_ptr< T__ > | createOrphan (const char *name) |
template<class T__ , typename... Args_> | |
static shared_ptr< T__ > | createOrphan (const char *name, bool runtime, Args_ &&...args) |
Definition at line 47 of file usermotor.h.
|
protectedvirtual |
stops motor and waits for deceleration.
Reimplemented from XFlexCRK.
Definition at line 302 of file usermotor.cpp.