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

#include <xwavengraph.h>

Inheritance diagram for XWaveNGraph:
Inheritance graph
[legend]

Classes

struct  Payload
 

Public Member Functions

 XWaveNGraph (const char *name, bool runtime, FrmGraphNURL *item)
 
 XWaveNGraph (const char *name, bool runtime, XQGraph *graphwidget, QLineEdit *ed, QAbstractButton *btn, QPushButton *btndump)
 
const shared_ptr< XGraph > & graph () const
 
const shared_ptr< XStringNode > & filename () const
 
const shared_ptr
< XTouchableNode > & 
dump () const
 
void drawGraph (Transaction &tr)
 
- 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 init ()
 
void onDumpTouched (const Snapshot &shot, XTouchableNode *)
 
void onFilenameChanged (const Snapshot &shot, XValueNodeBase *)
 
void onIconChanged (const Snapshot &shot, bool)
 

Private Attributes

QPushButton *const m_btnDump
 
const shared_ptr< XGraphm_graph
 
const shared_ptr< XTouchableNodem_dump
 
const shared_ptr< XStringNodem_filename
 
shared_ptr< XListenerm_lsnOnDumpTouched
 
shared_ptr< XListenerm_lsnOnFilenameChanged
 
shared_ptr< XListenerm_lsnOnIconChanged
 
xqcon_ptr m_conFilename
 
xqcon_ptr m_conDump
 
std::fstream m_stream
 
XMutex m_filemutex
 

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

Graph widget with internal data sets. The data can be saved as a text file.

See Also
XQGraph, XGraph

Definition at line 37 of file xwavengraph.h.


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

Generated for KAME4 by  doxygen 1.8.3