Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitk::IToFDeviceFactory Struct Referenceabstract

This is the base of class for all ToFDeviceFactories. More...

#include <mitkIToFDeviceFactory.h>

Inheritance diagram for mitk::IToFDeviceFactory:

Public Member Functions

virtual ~IToFDeviceFactory ()
 
virtual std::string GetFactoryName ()=0
 GetFactoryName Get the human readable name of the factory. More...
 
virtual std::string GetCurrentDeviceName ()=0
 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...
 
virtual std::string GetDeviceNamePrefix ()=0
 
virtual ToFCameraDevice::Pointer CreateToFCameraDevice ()=0
 CreateToFCameraDevice Create a new device of the respective factory. E.g. a "KinectFactory" creates a KinectDevice. More...
 

Detailed Description

This is the base of class for all ToFDeviceFactories.

It is an interface of the factory pattern. You can create a specialized ToF device factory in the inherited class.

Definition at line 33 of file mitkIToFDeviceFactory.h.

Constructor & Destructor Documentation

mitk::IToFDeviceFactory::~IToFDeviceFactory ( )
virtual

Definition at line 19 of file mitkIToFDeviceFactory.cpp.

Member Function Documentation

virtual ToFCameraDevice::Pointer mitk::IToFDeviceFactory::CreateToFCameraDevice ( )
pure virtual

CreateToFCameraDevice Create a new device of the respective factory. E.g. a "KinectFactory" creates a KinectDevice.

Returns
A ToFCameraDevice.

Referenced by mitk::AbstractToFDeviceFactory::ConnectToFDevice().

virtual std::string mitk::IToFDeviceFactory::GetCurrentDeviceName ( )
pure virtual

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.).

Returns
The human readable name of the current device as string.

Implemented in mitk::AbstractToFDeviceFactory, and mitk::ToFCameraMESASR4000DeviceFactory.


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