CustusX  2023.01.05-dev+develop.0da12
An IGT application
cx::DummyProbe Class Reference

#include <cxDummyTool.h>

Inheritance diagram for cx::DummyProbe:
cx::Probe

Public Member Functions

virtual ~DummyProbe ()
 
virtual bool isValid () const
 
virtual QStringList getAvailableVideoSources ()
 Return a list of all available video source. The default is one with uid=='active'. 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 VideoSourcePtr getRTSource (QString uid="active") const
 Return a VideoSource for the given uid. Use 'active' to get the default stream. More...
 
virtual void setActiveStream (QString uid)
 
virtual QString getActiveStream () const
 
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 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...
 
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)
 
- Public Member Functions inherited from cx::Probe
virtual ~Probe ()
 

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

Minimal implementation of the Probe interface. Use setData() and setRTSource() to initialize.

Definition at line 38 of file cxDummyTool.h.

Constructor & Destructor Documentation

virtual cx::DummyProbe::~DummyProbe ( )
inlinevirtual

Definition at line 42 of file cxDummyTool.h.

Member Function Documentation

virtual void cx::DummyProbe::addXml ( QDomNode &  dataNode)
inlinevirtual

Implements cx::Probe.

Definition at line 66 of file cxDummyTool.h.

virtual void cx::DummyProbe::applyNewConfigurationWithId ( QString  uid)
inlinevirtual

Implements cx::Probe.

Definition at line 76 of file cxDummyTool.h.

virtual QString cx::DummyProbe::getActiveStream ( ) const
inlinevirtual

Implements cx::Probe.

Definition at line 64 of file cxDummyTool.h.

virtual QStringList cx::DummyProbe::getAvailableVideoSources ( )
inlinevirtual

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

Implements cx::Probe.

Definition at line 47 of file cxDummyTool.h.

virtual QString cx::DummyProbe::getConfigId ( ) const
inlinevirtual

Implements cx::Probe.

Definition at line 71 of file cxDummyTool.h.

virtual QStringList cx::DummyProbe::getConfigIdList ( ) const
inlinevirtual

Implements cx::Probe.

Definition at line 69 of file cxDummyTool.h.

virtual QString cx::DummyProbe::getConfigName ( QString  uid)
inlinevirtual

Implements cx::Probe.

Definition at line 70 of file cxDummyTool.h.

virtual QString cx::DummyProbe::getConfigurationPath ( ) const
inlinevirtual

Implements cx::Probe.

Definition at line 72 of file cxDummyTool.h.

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

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

Implements cx::Probe.

Definition at line 48 of file cxDummyTool.h.

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

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

Implements cx::Probe.

Definition at line 58 of file cxDummyTool.h.

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

Implements cx::Probe.

Definition at line 52 of file cxDummyTool.h.

virtual bool cx::DummyProbe::isValid ( ) const
inlinevirtual

Implements cx::Probe.

Definition at line 43 of file cxDummyTool.h.

virtual void cx::DummyProbe::parseXml ( QDomNode &  dataNode)
inlinevirtual

Implements cx::Probe.

Definition at line 67 of file cxDummyTool.h.

virtual void cx::DummyProbe::removeCurrentConfig ( )
inlinevirtual

remove the current config from disk

Implements cx::Probe.

Definition at line 73 of file cxDummyTool.h.

virtual void cx::DummyProbe::removeRTSource ( VideoSourcePtr  source)
inlinevirtual

Implements cx::Probe.

Definition at line 89 of file cxDummyTool.h.

virtual void cx::DummyProbe::saveCurrentConfig ( QString  uid,
QString  name 
)
inlinevirtual

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

Implements cx::Probe.

Definition at line 74 of file cxDummyTool.h.

virtual void cx::DummyProbe::setActiveStream ( QString  uid)
inlinevirtual

Implements cx::Probe.

Definition at line 63 of file cxDummyTool.h.

virtual void cx::DummyProbe::setProbeDefinition ( ProbeDefinition  probeDefinition)
inlinevirtual

Implements cx::Probe.

Definition at line 79 of file cxDummyTool.h.

virtual void cx::DummyProbe::setRTSource ( VideoSourcePtr  source)
inlinevirtual

Implements cx::Probe.

Definition at line 84 of file cxDummyTool.h.

virtual void cx::DummyProbe::setSoundSpeedCompensationFactor ( double  val)
inlinevirtual

Implements cx::Probe.

Definition at line 78 of file cxDummyTool.h.

virtual void cx::DummyProbe::setTemporalCalibration ( double  val)
inlinevirtual

Implements cx::Probe.

Definition at line 77 of file cxDummyTool.h.


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