Classes | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
XQDPPMS Class Referenceabstract

GPIB/serial interface for Quantum Design PPMS Model6000 or later. More...

#include <qdppms.h>

Inheritance diagram for XQDPPMS:
Inheritance graph
[legend]

Classes

struct  Payload
 

Public Member Functions

 XQDPPMS (const char *name, bool runtime, Transaction &tr_meas, const shared_ptr< XMeasure > &meas)
 
virtual ~XQDPPMS ()=default
 usually nothing to do
 
virtual void showForms ()
 Shows all forms belonging to driver.
 
- Public Member Functions inherited from XPrimaryDriverWithThread
 XPrimaryDriverWithThread (const char *name, bool runtime, Transaction &tr_meas, const shared_ptr< XMeasure > &meas)
 
virtual void stop ()
 
- Public Member Functions inherited from XPrimaryDriver
 XPrimaryDriver (const char *name, bool runtime, Transaction &tr_meas, const shared_ptr< XMeasure > &meas)
 
- Public Member Functions inherited from XDriver
 XDriver (const char *name, bool runtime, Transaction &tr_meas, const shared_ptr< XMeasure > &meas)
 
- Public Member Functions inherited from XNode
 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< XNodegetChild (const XString &var) const
 
shared_ptr< XNodegetParent () const
 
void setUIEnabled (bool v)
 Enables/disables controls over scripting/GUI.
 
void disable ()
 Disables all scripting/GUI operations on this node hereafter.
 
- Public Member Functions inherited from Transactional::Node< XNode >
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)
 
XNodeupperNode (Snapshot< XNode > &shot)
 Finds the parent node in shot.
 
Snapshot< XNodeiterate_commit (Closure)
 
Snapshot< XNodeiterate_commit_if (Closure)
 
void iterate_commit_while (Closure)
 
void print_ () const
 
 Node (const Node &)=delete
 
Nodeoperator= (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 > & field () const
 driver specific part below
 
const shared_ptr< XScalarEntry > & position () const
 
const shared_ptr< XScalarEntry > & temp () const
 
const shared_ptr< XScalarEntry > & user_temp () const
 
const shared_ptr< XDoubleNode > & heliumLevel () const
 
const shared_ptr< XDoubleNode > & targetField () const
 
const shared_ptr< XDoubleNode > & fieldSweepRate () const
 
const shared_ptr< XComboNode > & fieldApproachMode () const
 
const shared_ptr< XComboNode > & fieldMagnetMode () const
 
const shared_ptr< XStringNode > & fieldStatus () const
 
const shared_ptr< XDoubleNode > & targetPosition () const
 
const shared_ptr< XComboNode > & positionApproachMode () const
 
const shared_ptr< XIntNode > & positionSlowDownCode () const
 
const shared_ptr< XStringNode > & positionStatus () const
 
const shared_ptr< XDoubleNode > & targetTemp () const
 
const shared_ptr< XDoubleNode > & tempSweepRate () const
 
const shared_ptr< XComboNode > & tempApproachMode () const
 
const shared_ptr< XStringNode > & tempStatus () const
 
virtual void setField (double field, double rate, int approach_mode, int magnet_mode)=0
 
virtual void setPosition (double position, int mode, int slow_down_code)=0
 
virtual void setTemp (double temp, double rate, int approach_mode)=0
 
virtual double getField ()=0
 
virtual double getPosition ()=0
 
virtual double getTemp ()=0
 
virtual double getUserTemp ()=0
 
virtual double getHeliumLevel ()=0
 
virtual int getStatus ()=0
 
- Protected Member Functions inherited from XPrimaryDriverWithThread
virtual void start ()
 
virtual void closeInterface ()=0
 This function should not cause an exception.
 
- Protected Member Functions inherited from XPrimaryDriver
void finishWritingRaw (const shared_ptr< const RawData > &rawdata, const XTime &time_awared, const XTime &time_recorded)
 
- Protected Member Functions inherited from XDriver
void record (Transaction &tr, const XTime &time_awared, const XTime &time_recorded)
 

Private Member Functions

virtual void onFieldChanged (const Snapshot &shot, XValueNodeBase *)
 
virtual void onPositionChanged (const Snapshot &shot, XValueNodeBase *)
 
virtual void onTempChanged (const Snapshot &shot, XValueNodeBase *)
 
void * execute (const atomic< bool > &)
 

Private Attributes

const shared_ptr< XScalarEntrym_field
 
const shared_ptr< XScalarEntrym_position
 
const shared_ptr< XScalarEntrym_temp
 
const shared_ptr< XScalarEntrym_user_temp
 
const shared_ptr< XDoubleNodem_heliumLevel
 
const shared_ptr< XDoubleNodem_targetField
 
const shared_ptr< XDoubleNodem_fieldSweepRate
 
const shared_ptr< XComboNodem_fieldApproachMode
 
const shared_ptr< XComboNodem_fieldMagnetMode
 
const shared_ptr< XStringNodem_fieldStatus
 
const shared_ptr< XDoubleNodem_targetPosition
 
const shared_ptr< XComboNodem_positionApproachMode
 
const shared_ptr< XIntNodem_positionSlowDownCode
 
const shared_ptr< XStringNodem_positionStatus
 
const shared_ptr< XDoubleNodem_targetTemp
 
const shared_ptr< XDoubleNodem_tempSweepRate
 
const shared_ptr< XComboNodem_tempApproachMode
 
const shared_ptr< XStringNodem_tempStatus
 
shared_ptr< XListenerm_lsnFieldSet
 
shared_ptr< XListenerm_lsnTempSet
 
shared_ptr< XListenerm_lsnPositionSet
 
std::deque< xqcon_ptrm_conUIs
 
const qshared_ptr< FrmQDPPMSm_form
 

Additional Inherited Members

- Public Types inherited from Transactional::Node< XNode >
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
 
- Static Public Member Functions inherited from XNode
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)
 

Detailed Description

GPIB/serial interface for Quantum Design PPMS Model6000 or later.

Definition at line 27 of file qdppms.h.

Member Function Documentation

void XQDPPMS::analyzeRaw ( RawDataReader reader,
Transaction tr 
) throw (XRecordError&)
protectedvirtual

This function will be called when raw data are written. Implement this function to convert the raw data to the record (Payload).

See Also
analyze()

Implements XPrimaryDriver.

Definition at line 94 of file qdppms.cpp.

void XQDPPMS::visualize ( const Snapshot shot)
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 105 of file qdppms.cpp.


The documentation for this class was generated from the following files:

Generated for KAME4 by  doxygen 1.8.3