CustusX  2021.04.22-dev+develop.337f9
An IGT application
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 getProbeDefinition (QString uid="active") const
 Return a ProbeDefinition 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 setProbeDefinition (ProbeDefinition probeDefinition)
 
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 42 of file cxProbeImpl.h.

Constructor & Destructor Documentation

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

Definition at line 47 of file cxProbeImpl.h.

Member Function Documentation

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

Implements cx::Probe.

Definition at line 87 of file cxProbeImpl.cpp.

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

Implements cx::Probe.

Definition at line 139 of file cxProbeImpl.cpp.

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

Implements cx::Probe.

Definition at line 226 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 43 of file cxProbeImpl.cpp.

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

Implements cx::Probe.

Definition at line 123 of file cxProbeImpl.cpp.

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

Implements cx::Probe.

Definition at line 103 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 117 of file cxProbeImpl.cpp.

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

Definition at line 328 of file cxProbeImpl.cpp.

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

Implements cx::Probe.

Definition at line 130 of file cxProbeImpl.cpp.

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

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

Implements cx::Probe.

Definition at line 62 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 51 of file cxProbeImpl.cpp.

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

Definition at line 258 of file cxProbeImpl.cpp.

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

Implements cx::Probe.

Definition at line 80 of file cxProbeImpl.cpp.

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

Implements cx::Probe.

Definition at line 38 of file cxProbeImpl.cpp.

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

Definition at line 28 of file cxProbeImpl.cpp.

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

Implements cx::Probe.

Definition at line 93 of file cxProbeImpl.cpp.

void cx::ProbeImpl::removeCurrentConfig ( )
virtual

remove the current config from disk

Implements cx::Probe.

Definition at line 231 of file cxProbeImpl.cpp.

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

Implements cx::Probe.

Definition at line 206 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 247 of file cxProbeImpl.cpp.

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

Implements cx::Probe.

Definition at line 218 of file cxProbeImpl.cpp.

void cx::ProbeImpl::setProbeDefinition ( ProbeDefinition  probeDefinition)
virtual

Implements cx::Probe.

Definition at line 172 of file cxProbeImpl.cpp.

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

Implements cx::Probe.

Definition at line 181 of file cxProbeImpl.cpp.

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

Implements cx::Probe.

Definition at line 162 of file cxProbeImpl.cpp.

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

Implements cx::Probe.

Definition at line 154 of file cxProbeImpl.cpp.


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