CustusX  16.5.0-rc9
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 59 of file cxDummyTool.h.

Constructor & Destructor Documentation

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

Definition at line 63 of file cxDummyTool.h.

Member Function Documentation

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

Implements cx::Probe.

Definition at line 87 of file cxDummyTool.h.

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

Implements cx::Probe.

Definition at line 97 of file cxDummyTool.h.

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

Implements cx::Probe.

Definition at line 85 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 68 of file cxDummyTool.h.

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

Implements cx::Probe.

Definition at line 92 of file cxDummyTool.h.

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

Implements cx::Probe.

Definition at line 90 of file cxDummyTool.h.

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

Implements cx::Probe.

Definition at line 91 of file cxDummyTool.h.

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

Implements cx::Probe.

Definition at line 93 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 69 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 79 of file cxDummyTool.h.

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

Implements cx::Probe.

Definition at line 73 of file cxDummyTool.h.

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

Implements cx::Probe.

Definition at line 64 of file cxDummyTool.h.

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

Implements cx::Probe.

Definition at line 88 of file cxDummyTool.h.

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

remove the current config from disk

Implements cx::Probe.

Definition at line 94 of file cxDummyTool.h.

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

Implements cx::Probe.

Definition at line 110 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 95 of file cxDummyTool.h.

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

Implements cx::Probe.

Definition at line 84 of file cxDummyTool.h.

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

Implements cx::Probe.

Definition at line 100 of file cxDummyTool.h.

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

Implements cx::Probe.

Definition at line 105 of file cxDummyTool.h.

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

Implements cx::Probe.

Definition at line 99 of file cxDummyTool.h.

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

Implements cx::Probe.

Definition at line 98 of file cxDummyTool.h.


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