CustusX  15.4.0-beta
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cx::ProbeImpl Class Reference

#include <cxProbeImpl.h>

Inheritance diagram for cx::ProbeImpl:
cx::Probe

Public Member Functions

virtual ~ProbeImpl ()
 
virtual bool isValid () const
 
virtual QStringList getAvailableVideoSources ()
 Return a list of all available video source. The default is one with uid=='active'. More...
 
virtual VideoSourcePtr getRTSource (QString uid="active") const
 Return a VideoSource for the given uid. Use 'active' to get the default stream. More...
 
virtual ProbeDefinition getProbeData (QString uid="active") const
 Return a ProbeData for the given uid. Use 'active' to get the default. More...
 
virtual ProbeSectorPtr getSector (QString uid="active")
 
virtual void addXml (QDomNode &dataNode)
 
virtual void parseXml (QDomNode &dataNode)
 
virtual QStringList getConfigIdList () const
 
virtual QString getConfigName (QString uid)
 
virtual QString getConfigId () const
 
virtual QString getConfigurationPath () const
 
virtual void applyNewConfigurationWithId (QString uid)
 
virtual void setTemporalCalibration (double val)
 
virtual void setSoundSpeedCompensationFactor (double val)
 
virtual void setProbeSector (ProbeDefinition probeSector)
 
virtual void setRTSource (VideoSourcePtr source)
 
virtual void removeRTSource (VideoSourcePtr source)
 
virtual void setActiveStream (QString uid)
 
virtual QString getActiveStream () const
 
ProbeXmlConfigParser::Configuration getConfiguration ()
 
virtual void removeCurrentConfig ()
 remove the current config from disk More...
 
virtual void saveCurrentConfig (QString uid, QString name)
 save current config to disk under ids (uid,name). More...
 
QString getRtSourceName (QString configurationId="") const
 
- Public Member Functions inherited from cx::Probe
virtual ~Probe ()
 

Static Public Member Functions

static ProbeImplPtr New (QString instrumentUid, QString scannerUid, ProbeXmlConfigParserPtr xml=ProbeXmlConfigParserPtr())
 

Additional Inherited Members

- Signals inherited from cx::Probe
void sectorChanged ()
 < Return a ProbeSectorPtr for the given uid. Use 'active' to get the default. More...
 
void activeConfigChanged ()
 
void videoSourceAdded (VideoSourcePtr source)
 

Detailed Description

Definition at line 63 of file cxProbeImpl.h.

Constructor & Destructor Documentation

virtual cx::ProbeImpl::~ProbeImpl ( )
inlinevirtual

Definition at line 68 of file cxProbeImpl.h.

Member Function Documentation

void cx::ProbeImpl::addXml ( QDomNode &  dataNode)
virtual

Implements cx::Probe.

Definition at line 108 of file cxProbeImpl.cpp.

void cx::ProbeImpl::applyNewConfigurationWithId ( QString  uid)
virtual

Implements cx::Probe.

Definition at line 160 of file cxProbeImpl.cpp.

QString cx::ProbeImpl::getActiveStream ( ) const
virtual

Implements cx::Probe.

Definition at line 247 of file cxProbeImpl.cpp.

QStringList cx::ProbeImpl::getAvailableVideoSources ( )
virtual

Return a list of all available video source. The default is one with uid=='active'.

Implements cx::Probe.

Definition at line 64 of file cxProbeImpl.cpp.

QString cx::ProbeImpl::getConfigId ( ) const
virtual

Implements cx::Probe.

Definition at line 144 of file cxProbeImpl.cpp.

QStringList cx::ProbeImpl::getConfigIdList ( ) const
virtual

Implements cx::Probe.

Definition at line 124 of file cxProbeImpl.cpp.

QString cx::ProbeImpl::getConfigName ( QString  configString)
virtual
Parameters
configStringget a name for the given configuration

Implements cx::Probe.

Definition at line 138 of file cxProbeImpl.cpp.

ProbeXmlConfigParser::Configuration cx::ProbeImpl::getConfiguration ( )

Definition at line 352 of file cxProbeImpl.cpp.

QString cx::ProbeImpl::getConfigurationPath ( ) const
virtual

Implements cx::Probe.

Definition at line 151 of file cxProbeImpl.cpp.

ProbeDefinition cx::ProbeImpl::getProbeData ( QString  uid = "active") const
virtual

Return a ProbeData for the given uid. Use 'active' to get the default.

Implements cx::Probe.

Definition at line 83 of file cxProbeImpl.cpp.

VideoSourcePtr cx::ProbeImpl::getRTSource ( QString  uid = "active") const
virtual

Return a VideoSource for the given uid. Use 'active' to get the default stream.

Implements cx::Probe.

Definition at line 72 of file cxProbeImpl.cpp.

QString cx::ProbeImpl::getRtSourceName ( QString  configurationId = "") const

Definition at line 279 of file cxProbeImpl.cpp.

ProbeSectorPtr cx::ProbeImpl::getSector ( QString  uid = "active")
virtual

Implements cx::Probe.

Definition at line 101 of file cxProbeImpl.cpp.

bool cx::ProbeImpl::isValid ( ) const
virtual

Implements cx::Probe.

Definition at line 59 of file cxProbeImpl.cpp.

ProbeImplPtr cx::ProbeImpl::New ( QString  instrumentUid,
QString  scannerUid,
ProbeXmlConfigParserPtr  xml = ProbeXmlConfigParserPtr() 
)
static

Definition at line 49 of file cxProbeImpl.cpp.

void cx::ProbeImpl::parseXml ( QDomNode &  dataNode)
virtual

Implements cx::Probe.

Definition at line 114 of file cxProbeImpl.cpp.

void cx::ProbeImpl::removeCurrentConfig ( )
virtual

remove the current config from disk

Implements cx::Probe.

Definition at line 252 of file cxProbeImpl.cpp.

void cx::ProbeImpl::removeRTSource ( VideoSourcePtr  source)
virtual

Implements cx::Probe.

Definition at line 227 of file cxProbeImpl.cpp.

void cx::ProbeImpl::saveCurrentConfig ( QString  uid,
QString  name 
)
virtual

save current config to disk under ids (uid,name).

Implements cx::Probe.

Definition at line 268 of file cxProbeImpl.cpp.

void cx::ProbeImpl::setActiveStream ( QString  uid)
virtual

Implements cx::Probe.

Definition at line 239 of file cxProbeImpl.cpp.

void cx::ProbeImpl::setProbeSector ( ProbeDefinition  probeSector)
virtual

Implements cx::Probe.

Definition at line 193 of file cxProbeImpl.cpp.

void cx::ProbeImpl::setRTSource ( VideoSourcePtr  source)
virtual

Implements cx::Probe.

Definition at line 202 of file cxProbeImpl.cpp.

void cx::ProbeImpl::setSoundSpeedCompensationFactor ( double  val)
virtual

Implements cx::Probe.

Definition at line 183 of file cxProbeImpl.cpp.

void cx::ProbeImpl::setTemporalCalibration ( double  val)
virtual

Implements cx::Probe.

Definition at line 175 of file cxProbeImpl.cpp.


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