Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitk::USControlInterfaceProbes Class Referenceabstract

Interface defining methods for probe selection of ultrasound devices. It consists of methods for getting all available probes and selecting one of them. More...

#include <mitkUSControlInterfaceProbes.h>

Inheritance diagram for mitk::USControlInterfaceProbes:
Collaboration diagram for mitk::USControlInterfaceProbes:

Public Member Functions

 mitkClassMacro (USControlInterfaceProbes, USAbstractControlInterface)
 
virtual std::vector< USProbe::Pointer > GetProbeSet ()=0
 
void SelectProbe (unsigned int index)
 
void SelectProbe (USProbe::Pointer probe)
 
virtual void OnSelectProbe (unsigned int index)=0
 Virtual method which is called inside mitk::USControlInterfaceProbes::SelectProbe(). Implement this method to handle the actual selecting of the probe at the device api. More...
 
virtual void OnSelectProbe (USProbe::Pointer probe)=0
 Virtual method which is called inside mitk::USControlInterfaceProbes::SelectProbe(). Implement this method to handle the actual selecting of the probe at the device api. More...
 
virtual USProbe::Pointer GetSelectedProbe ()=0
 
virtual unsigned int GetProbesCount () const =0
 
- Public Member Functions inherited from mitk::USAbstractControlInterface
 mitkClassMacroItkParent (USAbstractControlInterface, itk::Object)
 
virtual void SetIsActive (bool isActive)=0
 
virtual bool GetIsActive ()=0
 

Protected Member Functions

 USControlInterfaceProbes (itk::SmartPointer< USDevice > device)
 
virtual ~USControlInterfaceProbes ()
 
- Protected Member Functions inherited from mitk::USAbstractControlInterface
 USAbstractControlInterface (itk::SmartPointer< USDevice > device)
 
virtual ~USAbstractControlInterface ()
 

Additional Inherited Members

- Protected Attributes inherited from mitk::USAbstractControlInterface
itk::SmartPointer< USDevicem_Device
 

Detailed Description

Interface defining methods for probe selection of ultrasound devices. It consists of methods for getting all available probes and selecting one of them.

All of the methods of this interface must be implemented in a concrete subclass. There are some pure virtual methods in the superclass mitk::USAbstractControlInterface which must be implemente, too.

Definition at line 34 of file mitkUSControlInterfaceProbes.h.

Constructor & Destructor Documentation

mitk::USControlInterfaceProbes::USControlInterfaceProbes ( itk::SmartPointer< USDevice device)
protected

Definition at line 20 of file mitkUSControlInterfaceProbes.cpp.

mitk::USControlInterfaceProbes::~USControlInterfaceProbes ( )
protectedvirtual

Definition at line 25 of file mitkUSControlInterfaceProbes.cpp.

Member Function Documentation

virtual unsigned int mitk::USControlInterfaceProbes::GetProbesCount ( ) const
pure virtual
Returns
number of probes currently available at the ultrasound device

Implemented in mitk::USTelemedProbesControls.

virtual std::vector<USProbe::Pointer> mitk::USControlInterfaceProbes::GetProbeSet ( )
pure virtual
Returns
vector of all probes currently available at the ultrasound device

Implemented in mitk::USTelemedProbesControls.

virtual USProbe::Pointer mitk::USControlInterfaceProbes::GetSelectedProbe ( )
pure virtual
Returns
Ultrasound probe which is currently selected as the active probe.

Implemented in mitk::USTelemedProbesControls.

mitk::USControlInterfaceProbes::mitkClassMacro ( USControlInterfaceProbes  ,
USAbstractControlInterface   
)
virtual void mitk::USControlInterfaceProbes::OnSelectProbe ( unsigned int  index)
pure virtual

Virtual method which is called inside mitk::USControlInterfaceProbes::SelectProbe(). Implement this method to handle the actual selecting of the probe at the device api.

Parameters
indexindex of the probe to be selected

Implemented in mitk::USTelemedProbesControls.

virtual void mitk::USControlInterfaceProbes::OnSelectProbe ( USProbe::Pointer  probe)
pure virtual

Virtual method which is called inside mitk::USControlInterfaceProbes::SelectProbe(). Implement this method to handle the actual selecting of the probe at the device api.

Parameters
probepointer to probe to be selected

Implemented in mitk::USTelemedProbesControls.

void mitk::USControlInterfaceProbes::SelectProbe ( unsigned int  index)

Select and activate probe by given index. The index corresponds to the the index of the probe in the vector returned by mitk::USControlInterfaceProbes::GetProbeSet().

Do not override this method in a subclass. Implement mitk::USControlInterfaceProbes::OnSelectProbe() instead.

Parameters
indexindex of the probe to be selected

Definition at line 29 of file mitkUSControlInterfaceProbes.cpp.

References GetName().

void mitk::USControlInterfaceProbes::SelectProbe ( USProbe::Pointer  probe)

Select and activate probe by given mitk::USProbe object. This object can be one of these returned by mitk::USControlInterfaceProbes::GetProbeSet().

Do not override this method in a subclass. Implement mitk::USControlInterfaceProbes::OnSelectProbe() instead.

Parameters
probepointer to probe to be selected

Definition at line 37 of file mitkUSControlInterfaceProbes.cpp.

References GetName().


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