Medical Imaging Interaction Toolkit  2023.12.00
Medical Imaging Interaction Toolkit
mitk::ToFCameraPMDCamBoardDeviceFactory Class Reference

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

#include <mitkToFCameraPMDCamBoardDeviceFactory.h>

Inheritance diagram for mitk::ToFCameraPMDCamBoardDeviceFactory:
Collaboration diagram for mitk::ToFCameraPMDCamBoardDeviceFactory:

Public Member Functions

 ToFCameraPMDCamBoardDeviceFactory ()
 
std::string GetFactoryName ()
 Defining the Factorie´s Name, here for the ToFPMDCamBoard. More...
 
std::string GetDeviceNamePrefix ()
 GetDeviceNamePrefix Main part of the device name. 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...
 
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 ()
 

Additional Inherited Members

- Protected Member Functions inherited from mitk::AbstractToFDeviceFactory
CameraIntrinsics::Pointer GetCameraIntrinsics ()
 Returns the CameraIntrinsics for the cameras created by this factory. 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

ToFPMDCamBoardDeviceFactory is an implementation of the factory pattern to generate CamBoard devices. ToFPMDCamBoardDeviceFactory inherits from AbstractToFDeviceFactory which is a MicroService interface. This offers users the oppertunity to generate new CamBoard Devices via a global instance of this factory.

Definition at line 39 of file mitkToFCameraPMDCamBoardDeviceFactory.h.

Constructor & Destructor Documentation

◆ ToFCameraPMDCamBoardDeviceFactory()

mitk::ToFCameraPMDCamBoardDeviceFactory::ToFCameraPMDCamBoardDeviceFactory ( )
inline

Definition at line 42 of file mitkToFCameraPMDCamBoardDeviceFactory.h.

Member Function Documentation

◆ GetDeviceNamePrefix()

std::string mitk::ToFCameraPMDCamBoardDeviceFactory::GetDeviceNamePrefix ( )
inlinevirtual

GetDeviceNamePrefix Main part of the device name.

Implements mitk::IToFDeviceFactory.

Definition at line 56 of file mitkToFCameraPMDCamBoardDeviceFactory.h.

◆ GetFactoryName()

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

Defining the Factorie´s Name, here for the ToFPMDCamBoard.

Implements mitk::IToFDeviceFactory.

Definition at line 48 of file mitkToFCameraPMDCamBoardDeviceFactory.h.


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