Public Member Functions | Private Member Functions | Private Attributes | List of all members
XMeasure Class Reference

#include <measure.h>

Inheritance diagram for XMeasure:
Inheritance graph
[legend]

Public Member Functions

 XMeasure (const char *name, bool runtime)
 
void initialize ()
 call me before loading a measurement file.
 
void terminate ()
 clean all drivers, thermometers.
 
void stop ()
 stop all drivers.
 
const shared_ptr
< XThermometerList > & 
thermometers () const
 
const shared_ptr< XDriverList > & drivers () const
 
const shared_ptr
< XInterfaceList > & 
interfaces () const
 
const shared_ptr
< XScalarEntryList > & 
scalarEntries () const
 
const shared_ptr< XGraphList > & graphs () const
 
const shared_ptr< XChartList > & charts () const
 
const shared_ptr< XTextWriter > & textWriter () const
 
const shared_ptr
< XRawStreamRecorder > & 
rawStreamRecorder () const
 
const shared_ptr
< XRawStreamRecordReader > & 
rawStreamRecordReader () const
 
const shared_ptr< XRuby > & ruby () const
 
- 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
 

Private Member Functions

void onReleaseDriver (const Snapshot &shot, const XListNodeBase::Payload::ReleaseEvent &e)
 

Private Attributes

shared_ptr< XRubym_ruby
 
const shared_ptr
< XThermometerList
m_thermometers
 
const shared_ptr
< XScalarEntryList
m_scalarEntries
 
const shared_ptr< XGraphListm_graphList
 
const shared_ptr< XChartListm_chartList
 
const shared_ptr< XInterfaceListm_interfaces
 
const shared_ptr< XDriverListm_drivers
 
const shared_ptr< XTextWriterm_textWriter
 
const shared_ptr
< XRawStreamRecorder
m_rawStreamRecorder
 
const shared_ptr
< XRawStreamRecordReader
m_rawStreamRecordReader
 
const xqcon_ptr m_conRecordReader
 
const xqcon_ptr m_conDrivers
 
const xqcon_ptr m_conInterfaces
 
const xqcon_ptr m_conEntries
 
const xqcon_ptr m_conGraphs
 
const xqcon_ptr m_conTextWrite
 
const xqcon_ptr m_conTextURL
 
const xqcon_ptr m_conTextLastLine
 
const xqcon_ptr m_conLogURL
 
const xqcon_ptr m_conLogWrite
 
const xqcon_ptr m_conLogEvery
 
const xqcon_ptr m_conBinURL
 
const xqcon_ptr m_conBinWrite
 
const xqcon_ptr m_conUrlRubyThread
 
const xqcon_ptr m_conCalTable
 
const xqcon_ptr m_conNodeBrowser
 
shared_ptr< XListenerm_lsnOnReleaseDriver
 

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)
 
- Protected Member Functions inherited from Transactional::Node< XNode >
 Node ()
 Use create().
 

Detailed Description

The root object of KAME.

Definition at line 38 of file measure.h.


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

Generated for KAME4 by  doxygen 1.8.3