Interface for native device class. This base provides functionality for using devices independently of their hardware interface type.
Public Member Functions | |
virtual void | Close ()=0 |
Closes the device and finalizes the communication. More... | |
virtual void | GetImageType (Interop::Runtime28::EPixelType::ID &ePixelType, Interop::Runtime28::EDataType::ID &eDataType, int &iBytesPerPixel)=0 |
Gets information about the image type the camera delivers. The camera must be open before calling this function. More... | |
virtual void | GetProperty (Interop::Runtime30::Camera::EProperty::ID eProp, float &fValue)=0 |
Gets a property value of type float. More... | |
virtual void | GetProperty (Interop::Runtime30::Camera::EProperty::ID eProp, int &iValue)=0 |
Gets a property value of type int. More... | |
virtual int | GetProperty (Interop::Runtime30::Camera::EProperty::ID eProp, char *pcValue, int iBufferSize)=0 |
Gets a property value of type string. More... | |
virtual void | GetPropertyRange (Interop::Runtime30::Camera::EProperty::ID eProp, float &fMin, float &fMax)=0 |
Gets the property value range of the given property of type float. More... | |
virtual void | GetPropertyRange (Interop::Runtime30::Camera::EProperty::ID eProp, int &iMin, int &iMax)=0 |
Gets the property value range of the given property of type int. More... | |
virtual int | GetPropertyRange (Interop::Runtime30::Camera::EProperty::ID eProp, int *piValues, int iNumValues)=0 |
Gets the property value range of the given arguments of type array int. More... | |
virtual bool | IsPropertyAvailable (Interop::Runtime30::Camera::EProperty::ID eProp)=0 |
Queries if a property is available. More... | |
virtual void | Open ()=0 |
Opens the device and prepares the communication. More... | |
virtual void | SetProperty (Interop::Runtime30::Camera::EProperty::ID eProp, float fValue)=0 |
Sets a property value of type float. More... | |
virtual void | SetProperty (Interop::Runtime30::Camera::EProperty::ID eProp, int iValue)=0 |
Sets a property value of type int. More... | |
virtual void | SetProperty (Interop::Runtime30::Camera::EProperty::ID eProp, const char *pcValue)=0 |
Sets a property value of type string. More... | |
virtual void | StartCapture ()=0 |
Starts the acquisition of images. More... | |
virtual void | StopCapture ()=0 |
Stops the acquisition of images. More... | |
virtual void | SuspendCapture (bool bSuspend)=0 |
Suspends the capturing. More... | |
virtual void | Trigger ()=0 |
Triggers an image capture. More... | |
Protected Member Functions | |
virtual | ~INativeDeviceControl () |
|
inlineprotectedvirtual |
|
pure virtual |
Closes the device and finalizes the communication.
|
pure virtual |
Gets information about the image type the camera delivers. The camera must be open before calling this function.
ePixelType | [out] The pixeltype. |
eDataType | [out] The datatype. |
iBytesPerPixel | [out] The number of bytes per pixel. |
|
pure virtual |
Gets a property value of type float.
eProp | [in] The property in question. |
fValue | [out] The return value. |
|
pure virtual |
Gets a property value of type int.
eProp | [in] The property in question. |
iValue | [out] The return value. |
|
pure virtual |
Gets a property value of type string.
To obtain the required buffer size, call this with pcValue = null.
eProp | [in] The property in question. |
pcValue | [out] The user managed buffer that is used for storing the value. |
iBufferSize | The size of the given buffer in bytes. |
|
pure virtual |
Gets the property value range of the given property of type float.
eProp | [in] The property in question. |
fMin | [out] The minimum value for given property. |
fMax | [out] The maximum value for given property. |
|
pure virtual |
Gets the property value range of the given property of type int.
eProp | [in] The property in question. |
iMin | [out] The minimum value for given property. |
iMax | [out] The maximum value for given property. |
|
pure virtual |
Gets the property value range of the given arguments of type array int.
eProp | [in] The property in question. |
piValues | [out] The pointer to an array that contains the list of available values. The pointer has to point to an array with iMaxValueCnt elements. The parameter iTotalValueCnt contains the total number of available properties. If a null pointer is passed here, only the total number of available parameters is returned in iTotalValueCnt. |
iNumValues | The number of values that can be stored in piValues. |
|
pure virtual |
Queries if a property is available.
eProp | [in] The property in question. |
|
pure virtual |
Opens the device and prepares the communication.
|
pure virtual |
Sets a property value of type float.
eProp | [in] The property to be changed. |
fValue | [in] The value to be set. |
|
pure virtual |
Sets a property value of type int.
eProp | [in] The property to be changed. |
iValue | [in] The value to be set. |
|
pure virtual |
Sets a property value of type string.
eProp | The property to be changed. |
pcValue | [in] The value to be set. This is a null terminated string. |
|
pure virtual |
Starts the acquisition of images.
This has to be called for image acquisition unrelated to the trigger mode used. The trigger mode has to be set while not capturing.
|
pure virtual |
Stops the acquisition of images.
|
pure virtual |
Suspends the capturing.
With most cameras this just pauses the passing of the images while other cameras implement a real suspend which saves energy.
bSuspend | [in] true to suspend. |
|
pure virtual |
Triggers an image capture.
In video mode it does nothing. In single capture mode performs a software trigger. Camera has to be open and should be capturing in software trigger mode.