Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
Implementation of mitk::USControlInterfaceProbes for Telemed ultrasound devices. See documentation of mitk::USControlInterfaceProbes for a description of the interface methods. More...
#include <mitkUSTelemedProbesControls.h>
Public Member Functions | |
mitkClassMacro (USTelemedProbesControls, USControlInterfaceProbes) | |
mitkNewMacro1Param (Self, itk::SmartPointer< USTelemedDevice >) | |
virtual void | SetIsActive (bool) |
virtual bool | GetIsActive () |
virtual std::vector< USProbe::Pointer > | GetProbeSet () |
virtual void | OnSelectProbe (unsigned int index) |
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) |
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 () |
virtual unsigned int | GetProbesCount () const |
void | ProbeRemoved (unsigned int index) |
void | ProbeAdded (unsigned int index) |
Public Member Functions inherited from mitk::USControlInterfaceProbes | |
mitkClassMacro (USControlInterfaceProbes, USAbstractControlInterface) | |
void | SelectProbe (unsigned int index) |
void | SelectProbe (USProbe::Pointer probe) |
Public Member Functions inherited from mitk::USAbstractControlInterface | |
mitkClassMacroItkParent (USAbstractControlInterface, itk::Object) | |
Protected Member Functions | |
USTelemedProbesControls (itk::SmartPointer< USTelemedDevice > device) | |
virtual | ~USTelemedProbesControls () |
bool | CreateProbesCollection () |
void | CreateProbesSet () |
Protected Member Functions inherited from mitk::USControlInterfaceProbes | |
USControlInterfaceProbes (itk::SmartPointer< USDevice > device) | |
virtual | ~USControlInterfaceProbes () |
Protected Member Functions inherited from mitk::USAbstractControlInterface | |
USAbstractControlInterface (itk::SmartPointer< USDevice > device) | |
virtual | ~USAbstractControlInterface () |
Protected Attributes | |
bool | m_IsActive |
unsigned int | m_SelectedProbeIndex |
std::vector< USTelemedProbe::Pointer > | m_ProbesSet |
itk::SmartPointer< USTelemedDevice > | m_TelemedDevice |
Usgfw2Lib::IUsgCollection * | m_ProbesCollection |
Usgfw2Lib::IProbe * | m_Probe |
Protected Attributes inherited from mitk::USAbstractControlInterface | |
itk::SmartPointer< USDevice > | m_Device |
Implementation of mitk::USControlInterfaceProbes for Telemed ultrasound devices. See documentation of mitk::USControlInterfaceProbes for a description of the interface methods.
Definition at line 33 of file mitkUSTelemedProbesControls.h.
|
protected |
Constructs an empty object. Telemed device has to be set after constructing by calling mitk::USTelemedProbesControls::SetTelemedDevice before the object can be used.
Definition at line 21 of file mitkUSTelemedProbesControls.cpp.
|
protectedvirtual |
Definition at line 28 of file mitkUSTelemedProbesControls.cpp.
References SAFE_RELEASE.
|
protected |
Create collection object (Telemed API) for the API device.
Definition at line 138 of file mitkUSTelemedProbesControls.cpp.
References MITK_ERROR, MITK_WARN, mitkThrow, and SAFE_RELEASE.
|
protected |
Create vector of mitk::USTelemedProbe objects from the Telemed API probe collection. Hence mitk::USTelemedProbesControls::CreateProbesCollection has to be called before.
Definition at line 175 of file mitkUSTelemedProbesControls.cpp.
References MITK_ERROR, mitkThrow, mitk::USProbe::New(), and SAFE_RELEASE.
|
virtual |
Method must be implemented in every control interface to tell the caller if the interface is currently activated or deactivated.
Implements mitk::USAbstractControlInterface.
Definition at line 54 of file mitkUSTelemedProbesControls.cpp.
|
virtual |
Implements mitk::USControlInterfaceProbes.
Definition at line 104 of file mitkUSTelemedProbesControls.cpp.
|
virtual |
Implements mitk::USControlInterfaceProbes.
Definition at line 59 of file mitkUSTelemedProbesControls.cpp.
|
virtual |
Implements mitk::USControlInterfaceProbes.
Definition at line 90 of file mitkUSTelemedProbesControls.cpp.
References MITK_ERROR, and mitkThrow.
mitk::USTelemedProbesControls::mitkClassMacro | ( | USTelemedProbesControls | , |
USControlInterfaceProbes | |||
) |
mitk::USTelemedProbesControls::mitkNewMacro1Param | ( | Self | , |
itk::SmartPointer< USTelemedDevice > | |||
) |
|
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.
index | index of the probe to be selected |
Implements mitk::USControlInterfaceProbes.
Definition at line 71 of file mitkUSTelemedProbesControls.cpp.
References MITK_ERROR, and mitkThrow.
|
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.
probe | pointer to probe to be selected |
Implements mitk::USControlInterfaceProbes.
void mitk::USTelemedProbesControls::ProbeAdded | ( | unsigned int | index | ) |
Definition at line 124 of file mitkUSTelemedProbesControls.cpp.
References MITK_INFO.
void mitk::USTelemedProbesControls::ProbeRemoved | ( | unsigned int | index | ) |
Definition at line 114 of file mitkUSTelemedProbesControls.cpp.
References MITK_INFO.
|
virtual |
Probe informations are fetched on activation. On deactivation there is nothing done.
Implements mitk::USAbstractControlInterface.
Definition at line 33 of file mitkUSTelemedProbesControls.cpp.
References MITK_WARN.
|
protected |
Definition at line 78 of file mitkUSTelemedProbesControls.h.
|
protected |
Definition at line 84 of file mitkUSTelemedProbesControls.h.
|
protected |
Definition at line 83 of file mitkUSTelemedProbesControls.h.
|
protected |
Definition at line 80 of file mitkUSTelemedProbesControls.h.
|
protected |
Definition at line 79 of file mitkUSTelemedProbesControls.h.
|
protected |
Definition at line 81 of file mitkUSTelemedProbesControls.h.