CFEL - ASG Software Suite
2.5.0
CASS
|
base class for all data wrappers More...
#include <data.h>
Public Types | |
typedef cass::Result< float > | result_t |
define the result type More... | |
Public Member Functions | |
Data () | |
constructor More... | |
virtual | ~Data () |
virtual destrutor More... | |
virtual void | setResult (result_t::shared_pointer result)=0 |
fill the data with the result More... | |
virtual result_t::shared_pointer | result ()=0 |
retrieve the result More... | |
virtual void | setSourceName (const QString &name) |
set the source name More... | |
virtual QString | sourceName () const |
retrieve the source name More... | |
virtual bool | wasUpdated () const |
retrieve was upDated flag More... | |
Protected Attributes | |
QString | _sourceName |
the name of the source More... | |
bool | _wasUpdated |
flag to tell whether the data was updated More... | |
typedef cass::Result<float> jocassview::Data::result_t |
Data::Data | ( | ) |
|
pure virtual |
retrieve the result
Implemented in jocassview::OneDViewerData, jocassview::TwoDViewerData, and jocassview::ZeroDViewerData.
|
pure virtual |
fill the data with the result
result | the result to fill into this data container |
Implemented in jocassview::ZeroDViewerData.
|
virtual |
set the source name
name | the sources type |
Definition at line 24 of file data.cpp.
References _sourceName.
Referenced by jocassview::OneDViewer::on_add_graph_triggered().
|
virtual |
retrieve the source name
Definition at line 29 of file data.cpp.
References _sourceName.
|
virtual |
retrieve was upDated flag
Definition at line 34 of file data.cpp.
References _wasUpdated.
|
protected |
the name of the source
Definition at line 70 of file data.h.
Referenced by setSourceName(), and sourceName().
|
protected |
flag to tell whether the data was updated
Definition at line 73 of file data.h.
Referenced by wasUpdated().