
Classes | |
| struct | Payload |
Public Member Functions | |
| XSecondaryDriverInterface (const char *name, bool runtime, Transaction &tr_meas, const shared_ptr< XMeasure > &meas) | |
| virtual void | showForms ()=0 |
| Shows all forms belonging to driver. | |
Protected Member Functions | |
| void | connect (const shared_ptr< XPointerItemNode< XDriverList > > &selecter) |
| Call this to receive signal/data. | |
| void | requestAnalysis () |
| virtual void | analyze (Transaction &tr, const Snapshot &shot_emitter, const Snapshot &shot_others, XDriver *emitter)=0 throw (typename T::XRecordError&) |
| This function is called when a connected driver emit a signal. | |
| virtual void | visualize (const Snapshot &shot)=0 |
| virtual bool | checkDependency (const Snapshot &shot_this, const Snapshot &shot_emitter, const Snapshot &shot_others, XDriver *emitter) const =0 |
| virtual void | start () |
| usually nothing to do | |
| virtual void | stop () |
| usually nothing to do | |
Private Member Functions | |
| void | onConnectedRecorded (const Snapshot &shot, XDriver *driver) |
| void | onItemChanged (const Snapshot &shot, XValueNodeBase *item) |
Private Attributes | |
| shared_ptr< XListener > | m_lsnOnItemChanged |
| weak_ptr< XDriverList > | m_drivers |
Definition at line 22 of file secondarydriver.h.
|
protectedpure virtual |
Checks if the connected drivers have valid time stamps.
Implemented in XNMRBuiltInNetworkAnalyzer, XNMRT1, XNMRPulseAnalyzer, XAutoLCTuner, XNMRSpectrumBase< FRM >, XNMRSpectrumBase< FrmNMRFSpectrum >, XNMRSpectrumBase< FrmNMRSpectrum >, and XFourRes.
|
private |
called by connected drivers, checks dependency, takes snapshot for drivers, and finally calls purely virtual function analyze();
Definition at line 37 of file secondarydriverinterface.h.
|
protected |
check dependencies and lock all records and analyze null pointer will be passed to analyze() emitter is driver itself.
Definition at line 31 of file secondarydriverinterface.h.
|
protectedpure virtual |
This function is called inside analyze() or analyzeRaw() this must be reentrant unlike analyze()
Implemented in XNMRBuiltInNetworkAnalyzer, XNMRT1, XNMRPulseAnalyzer, XAutoLCTuner, XNMRSpectrumBase< FRM >, XNMRSpectrumBase< FrmNMRFSpectrum >, XNMRSpectrumBase< FrmNMRSpectrum >, and XFourRes.
1.8.3