Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitk::ToFCameraMESASR4000DeviceFactory Class Reference

ToFCameraMESASR4000DeviceFactory is an implementation of the factory pattern to generate MESASR4000Devices. ToFCameraMESASR4000DeviceFactory inherits from AbstractToFDeviceFactory which is a MicroService interface. This offers users the oppertunity to generate new MESA SR4000 Devices via a global instance of this factory. More...

#include <mitkToFCameraMESASR4000DeviceFactory.h>

Inheritance diagram for mitk::ToFCameraMESASR4000DeviceFactory:
Collaboration diagram for mitk::ToFCameraMESASR4000DeviceFactory:

Public Member Functions

 ToFCameraMESASR4000DeviceFactory ()
 ToFCameraMESASR4000DeviceFactory Default contructor. This factory internally counts all MESA SR4000 devices starting at 1. More...
 
std::string GetFactoryName ()
 Get the name of the factory, here for the ToFPMDCamCube. More...
 
std::string GetCurrentDeviceName ()
 GetCurrentDeviceName Get the name of the current MESA SR4000. First device is named "MESA SR4000", second "MESA SR4000 2" and so on. More...
 
- Public Member Functions inherited from mitk::AbstractToFDeviceFactory
ToFCameraDevice::Pointer ConnectToFDevice ()
 ConnectToFDevice Use this method to connect a device. More...
 
void DisconnectToFDevice (const ToFCameraDevice::Pointer &device)
 DisconnectToFDevice Use this method to disconnect a device. More...
 
vcl_size_t GetNumberOfDevices ()
 GetNumberOfDevices Get the number of devices produced by this factory. This function will return the number of registered devices to account for created and disconnected devices. More...
 
std::string GetCurrentDeviceName () override
 GetCurrentDeviceName Get the human readable name of the current device. A factory can produce many device and give ordered names for each device (e.g. number them like Device_1, Device_2, etc.). More...
 
- Public Member Functions inherited from mitk::IToFDeviceFactory
virtual ~IToFDeviceFactory ()
 
virtual std::string GetDeviceNamePrefix ()=0
 

Additional Inherited Members

- Protected Member Functions inherited from mitk::AbstractToFDeviceFactory
CameraIntrinsics::Pointer GetCameraIntrinsics ()
 Returns the CameraIntrinsics for the cameras created by this factory. More...
 
virtual us::ModuleResource GetIntrinsicsResource ()
 Returns the ModuleResource that contains a xml definition of the CameraIntrinsics. More...
 
- Protected Attributes inherited from mitk::AbstractToFDeviceFactory
std::vector< ToFCameraDevice::Pointer > m_Devices
 m_Devices A list (vector) containing all connected devices of the respective factory. More...
 
std::map< ToFCameraDevice *, us::ServiceRegistration< ToFCameraDevice > > m_DeviceRegistrations
 m_DeviceRegistrations A map containing all the pairs of device registration numbers and devices. More...
 

Detailed Description

ToFCameraMESASR4000DeviceFactory is an implementation of the factory pattern to generate MESASR4000Devices. ToFCameraMESASR4000DeviceFactory inherits from AbstractToFDeviceFactory which is a MicroService interface. This offers users the oppertunity to generate new MESA SR4000 Devices via a global instance of this factory.

Definition at line 34 of file mitkToFCameraMESASR4000DeviceFactory.h.

Constructor & Destructor Documentation

mitk::ToFCameraMESASR4000DeviceFactory::ToFCameraMESASR4000DeviceFactory ( )
inline

ToFCameraMESASR4000DeviceFactory Default contructor. This factory internally counts all MESA SR4000 devices starting at 1.

Definition at line 41 of file mitkToFCameraMESASR4000DeviceFactory.h.

Member Function Documentation

std::string mitk::ToFCameraMESASR4000DeviceFactory::GetCurrentDeviceName ( void  )
inlinevirtual

GetCurrentDeviceName Get the name of the current MESA SR4000. First device is named "MESA SR4000", second "MESA SR4000 2" and so on.

Returns
Human readable name as string.

Implements mitk::IToFDeviceFactory.

Definition at line 57 of file mitkToFCameraMESASR4000DeviceFactory.h.

std::string mitk::ToFCameraMESASR4000DeviceFactory::GetFactoryName ( )
inlinevirtual

Get the name of the factory, here for the ToFPMDCamCube.

Implements mitk::IToFDeviceFactory.

Definition at line 47 of file mitkToFCameraMESASR4000DeviceFactory.h.


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