Public Member Functions | |
XLIA (const char *name, bool runtime, Transaction &tr_meas, const shared_ptr< XMeasure > &meas) | |
virtual | ~XLIA () |
usually nothing to do | |
virtual void | showForms () |
Shows all forms belonging to driver. | |
![]() | |
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 | analyzeRaw (RawDataReader &reader, Transaction &tr) throw (XRecordError&) |
virtual void | visualize (const Snapshot &shot) |
const shared_ptr< XScalarEntry > & | valueX () const |
driver specific part below | |
const shared_ptr< XScalarEntry > & | valueY () const |
const shared_ptr< XDoubleNode > & | output () const |
const shared_ptr< XDoubleNode > & | frequency () const |
const shared_ptr< XComboNode > & | sensitivity () const |
const shared_ptr< XComboNode > & | timeConst () const |
const shared_ptr< XBoolNode > & | autoScaleX () const |
const shared_ptr< XBoolNode > & | autoScaleY () const |
const shared_ptr< XDoubleNode > & | fetchFreq () const |
virtual void | get (double *cos, double *sin)=0 |
virtual void | changeOutput (double volt)=0 |
virtual void | changeFreq (double freq)=0 |
virtual void | changeSensitivity (int)=0 |
virtual void | changeTimeConst (int)=0 |
![]() | |
virtual void | start () |
virtual void | closeInterface ()=0 |
This function should not cause an exception. | |
![]() | |
void | finishWritingRaw (const shared_ptr< const RawData > &rawdata, const XTime &time_awared, const XTime &time_recorded) |
![]() | |
void | record (Transaction &tr, const XTime &time_awared, const XTime &time_recorded) |
Private Member Functions | |
void | onOutputChanged (const Snapshot &shot, XValueNodeBase *) |
void | onFreqChanged (const Snapshot &shot, XValueNodeBase *) |
void | onSensitivityChanged (const Snapshot &shot, XValueNodeBase *) |
void | onTimeConstChanged (const Snapshot &shot, XValueNodeBase *) |
void * | execute (const atomic< bool > &) |
Private Attributes | |
const shared_ptr< XScalarEntry > | m_valueX |
const shared_ptr< XScalarEntry > | m_valueY |
const shared_ptr< XDoubleNode > | m_output |
const shared_ptr< XDoubleNode > | m_frequency |
const shared_ptr< XComboNode > | m_sensitivity |
const shared_ptr< XComboNode > | m_timeConst |
const shared_ptr< XBoolNode > | m_autoScaleX |
const shared_ptr< XBoolNode > | m_autoScaleY |
const shared_ptr< XDoubleNode > | m_fetchFreq |
shared_ptr< XListener > | m_lsnOutput |
shared_ptr< XListener > | m_lsnSens |
shared_ptr< XListener > | m_lsnTimeConst |
shared_ptr< XListener > | m_lsnFreq |
xqcon_ptr | m_conSens |
xqcon_ptr | m_conTimeConst |
xqcon_ptr | m_conOutput |
xqcon_ptr | m_conFreq |
xqcon_ptr | m_conAutoScaleX |
xqcon_ptr | m_conAutoScaleY |
xqcon_ptr | m_conFetchFreq |
const qshared_ptr< FrmLIA > | m_form |
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 25 of file lockinamp.h.
|
protectedvirtual |
This function will be called when raw data are written. Implement this function to convert the raw data to the record (Payload).
Implements XPrimaryDriver.
Definition at line 72 of file lockinamp.cpp.
|
virtual |
Shows all forms belonging to driver.
impliment form->show() here
Implements XPrimaryDriver.
Definition at line 65 of file lockinamp.cpp.
|
protectedvirtual |
This function is called after committing XPrimaryDriver::analyzeRaw() or XSecondaryDriver::analyze(). This might be called even if the record is invalid (time() == false).
Implements XDriver.
Definition at line 80 of file lockinamp.cpp.