CFEL - ASG Software Suite
2.5.0
CASS
|
base class for data sources More...
#include <data_source.h>
Public Types | |
typedef cass::Result< float > | result_t |
define the result type More... | |
Public Member Functions | |
virtual result_t::shared_pointer | result (const QString &key, quint64 id=0)=0 |
retrieve a result from the source More... | |
virtual QStringList | resultNames ()=0 |
retrieve the list items that can be displayed More... | |
virtual QString | type () const =0 |
return the type of this source More... | |
base class for data sources
Definition at line 26 of file data_source.h.
typedef cass::Result<float> jocassview::DataSource::result_t |
define the result type
Definition at line 30 of file data_source.h.
|
pure virtual |
retrieve a result from the source
key | the key of the result |
id | The event id of the result |
Implemented in jocassview::FileHandler, and jocassview::TCPClient.
Referenced by jocassview::OneDViewer::on_add_graph_triggered(), and jocassview::JoCASSViewer::updateViewers().
|
pure virtual |
retrieve the list items that can be displayed
Implemented in jocassview::FileHandler, and jocassview::TCPClient.
Referenced by jocassview::OneDViewer::on_add_graph_triggered(), and jocassview::JoCASSViewer::refreshDisplayableItemsList().
|
pure virtual |
return the type of this source
Implemented in jocassview::FileHandler, and jocassview::TCPClient.