MITK-IGT
IGT Extension of MITK
|
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>
Public Member Functions | |
ToFCameraMESASR4000DeviceFactory () | |
ToFCameraMESASR4000DeviceFactory Default contructor. This factory internally counts all MESA SR4000 devices starting at 1. | |
std::string | GetFactoryName () |
Get the name of the factory, here for the ToFPMDCamCube. | |
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. | |
![]() | |
ToFCameraDevice::Pointer | ConnectToFDevice () |
ConnectToFDevice Use this method to connect a device. | |
void | DisconnectToFDevice (const ToFCameraDevice::Pointer &device) |
DisconnectToFDevice Use this method to disconnect a device. | |
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. | |
![]() | |
virtual | ~IToFDeviceFactory () |
virtual std::string | GetDeviceNamePrefix ()=0 |
Additional Inherited Members | |
![]() | |
CameraIntrinsics::Pointer | GetCameraIntrinsics () |
Returns the CameraIntrinsics for the cameras created by this factory. | |
virtual us::ModuleResource | GetIntrinsicsResource () |
Returns the ModuleResource that contains a xml definition of the CameraIntrinsics. | |
![]() | |
std::vector< ToFCameraDevice::Pointer > | m_Devices |
m_Devices A list (vector) containing all connected devices of the respective factory. | |
std::map< ToFCameraDevice *, us::ServiceRegistration< ToFCameraDevice > > | m_DeviceRegistrations |
m_DeviceRegistrations A map containing all the pairs of device registration numbers and devices. | |
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 30 of file mitkToFCameraMESASR4000DeviceFactory.h.
|
inline |
ToFCameraMESASR4000DeviceFactory Default contructor. This factory internally counts all MESA SR4000 devices starting at 1.
Definition at line 37 of file mitkToFCameraMESASR4000DeviceFactory.h.
|
inlinevirtual |
GetCurrentDeviceName Get the name of the current MESA SR4000. First device is named "MESA SR4000", second "MESA SR4000 2" and so on.
Reimplemented from mitk::AbstractToFDeviceFactory.
Definition at line 53 of file mitkToFCameraMESASR4000DeviceFactory.h.
|
inlinevirtual |
Get the name of the factory, here for the ToFPMDCamCube.
Implements mitk::IToFDeviceFactory.
Definition at line 43 of file mitkToFCameraMESASR4000DeviceFactory.h.