9 #ifndef _JOCASSVIEWDATA_
10 #define _JOCASSVIEWDATA_
12 #include <QtCore/QString>
virtual void setSourceName(const QString &name)
set the source name
std::tr1::shared_ptr< self_type > shared_pointer
a shared pointer of this class
virtual QString sourceName() const
retrieve the source name
virtual void setResult(result_t::shared_pointer result)=0
fill the data with the result
virtual ~Data()
virtual destrutor
QString _sourceName
the name of the source
bool _wasUpdated
flag to tell whether the data was updated
virtual result_t::shared_pointer result()=0
retrieve the result
virtual bool wasUpdated() const
retrieve was upDated flag
base class for all data wrappers
cass::Result< float > result_t
define the result type