Fraxinus  16.5.0-fx-rc6
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cx::ActiveData Class Reference

Provides the last active data of warious types. More...

#include <cxActiveData.h>

Inheritance diagram for cx::ActiveData:
cx::ActiveDataNull

Signals

void activeImageChanged (const QString &uId)
 
void activeDataChanged (const QString &uId)
 

Public Member Functions

 ActiveData (PatientModelServicePtr patientModelService, SessionStorageServicePtr sessionStorageService)
 
virtual QList< DataPtrgetActiveDataHistory () const
 
virtual DataPtr getActive () const
 
virtual DataPtr getActiveUsingRegexp (QString typeRegexp) const
 
template<class DATA >
boost::shared_ptr< DATA > getActive () const
 
virtual ImagePtr getDerivedActiveImage () const
 In addition to returning Image this also provides derived (changing) images from TrackedStream. More...
 
virtual void setActive (DataPtr activeData)
 
virtual void setActive (QString uid)
 
virtual QString getActiveImageUid ()
 
virtual void remove (DataPtr dataToBeRemoved)
 
virtual bool isNull () const
 

Static Public Member Functions

static ActiveDataPtr getNullObject ()
 

Detailed Description

Provides the last active data of warious types.

Date
seb 28, 2015
Author
Ole Vegard Solberg, SINTEF

Definition at line 56 of file cxActiveData.h.

Constructor & Destructor Documentation

cx::ActiveData::ActiveData ( PatientModelServicePtr  patientModelService,
SessionStorageServicePtr  sessionStorageService 
)

Definition at line 103 of file cxActiveData.cpp.

Member Function Documentation

void cx::ActiveData::activeDataChanged ( const QString &  uId)
signal
void cx::ActiveData::activeImageChanged ( const QString &  uId)
signal
DataPtr cx::ActiveData::getActive ( ) const
virtual

Reimplemented in cx::ActiveDataNull.

Definition at line 142 of file cxActiveData.cpp.

template<class DATA >
boost::shared_ptr< DATA > cx::ActiveData::getActive ( ) const

Definition at line 95 of file cxActiveData.h.

QList< DataPtr > cx::ActiveData::getActiveDataHistory ( ) const
virtual

Reimplemented in cx::ActiveDataNull.

Definition at line 137 of file cxActiveData.cpp.

QString cx::ActiveData::getActiveImageUid ( )
virtual

Reimplemented in cx::ActiveDataNull.

Definition at line 207 of file cxActiveData.cpp.

DataPtr cx::ActiveData::getActiveUsingRegexp ( QString  typeRegexp) const
virtual

Reimplemented in cx::ActiveDataNull.

Definition at line 149 of file cxActiveData.cpp.

ImagePtr cx::ActiveData::getDerivedActiveImage ( ) const
virtual

In addition to returning Image this also provides derived (changing) images from TrackedStream.

Reimplemented in cx::ActiveDataNull.

Definition at line 160 of file cxActiveData.cpp.

ActiveDataPtr cx::ActiveData::getNullObject ( )
static

Definition at line 267 of file cxActiveData.cpp.

virtual bool cx::ActiveData::isNull ( ) const
inlinevirtual

Reimplemented in cx::ActiveDataNull.

Definition at line 73 of file cxActiveData.h.

void cx::ActiveData::remove ( DataPtr  dataToBeRemoved)
virtual

Reimplemented in cx::ActiveDataNull.

Definition at line 245 of file cxActiveData.cpp.

void cx::ActiveData::setActive ( DataPtr  activeData)
virtual

Reimplemented in cx::ActiveDataNull.

Definition at line 188 of file cxActiveData.cpp.

void cx::ActiveData::setActive ( QString  uid)
virtual

Definition at line 201 of file cxActiveData.cpp.


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