![]() |
Thermal Camera SDK 11.3.0
SDK for Optris Thermal Cameras
|
Interface defining the API for interacting with process interfaces (PIFs). More...
#include <ProcessInterface.h>

Public Member Functions | |
| ProcessInterface ()=default | |
| Constructor. | |
| ProcessInterface (const ProcessInterface &)=delete | |
| No copy constructor. | |
| ProcessInterface & | operator= (const ProcessInterface &)=delete |
| No copy assignment. | |
| ProcessInterface (ProcessInterface &&)=delete | |
| No move constructor. | |
| ProcessInterface & | operator= (ProcessInterface &&)=delete |
| No move assignment. | |
| virtual | ~ProcessInterface ()=default |
| Destructor. | |
| virtual PifDeviceType | getDeviceType () const noexcept=0 |
| Returns the PIF device type. | |
| virtual std::vector< PifDeviceType > | getSupportedDeviceTypes () const noexcept=0 |
| Returns the list of PIF device types this camera model accepts in setConfig(). | |
| virtual int | getActualDeviceCount () const noexcept=0 |
| Returns the count of actually connected PIFs. | |
| virtual int | getConfigurableDeviceCount () const noexcept=0 |
| Returns the count of configurable PIFs. | |
| virtual bool | isActualConnected () const noexcept=0 |
| Returns whether a PIF is actually connected. | |
| virtual unsigned long | getDeviceSerialNumber (int deviceIndex) const =0 |
| Returns the serial number of the PIF with the given device index. | |
| virtual unsigned short | getDeviceFirmwareRevision (int deviceIndex) const =0 |
| Returns the firmware revision of the PIF with the given device index. | |
| virtual void | setConfig (const PifConfig &config)=0 |
| Sets the given configuration for the entire process interface. | |
| virtual PifConfig | getConfig () const noexcept=0 |
| Returns the current configuration of the entire process interface. | |
| virtual int | getActualAiCount () const noexcept=0 |
| Returns the count of all analog input channels on actually connected PIFs. | |
| virtual int | getConfigurableAiCount () const noexcept=0 |
| Returns the count of all analog input channels on configurable PIFs. | |
| virtual int | getAiCountPerDevice () const noexcept=0 |
| Returns the count of all analog input channels on a single PIF. | |
| virtual void | setAiConfig (const PifAiConfig &config)=0 |
| Sets the configuration for a single analog input channel. | |
| virtual PifAiConfig | getAiConfig (int deviceIndex, int pinIndex) const =0 |
| Returns the current configuration of the specified analog input channel. | |
| virtual int | getActualDiCount () const noexcept=0 |
| Returns the count of all digital input channels on actually connected PIFs. | |
| virtual int | getConfigurableDiCount () const noexcept=0 |
| Returns the count of all digital input channels on configurable PIFs. | |
| virtual int | getDiCountPerDevice () const noexcept=0 |
| Returns the count of all digital input channels on a single PIF. | |
| virtual void | setDiConfig (const PifDiConfig &config)=0 |
| Sets the configuration for a single digital input channel. | |
| virtual PifDiConfig | getDiConfig (int deviceIndex, int pinIndex)=0 |
| Returns the current configuration of the specified digital input channel. | |
| virtual int | getActualAoCount () const noexcept=0 |
| Returns the count of all analog output channels on actually connected PIFs. | |
| virtual int | getConfigurableAoCount () const noexcept=0 |
| Returns the count of all analog output channels on configurable PIFs. | |
| virtual int | getAoCountPerDevice () const noexcept=0 |
| Returns the count of all analog output channels on a single PIF. | |
| virtual PifAoOutputMode | getDefaultAoOutputMode () const noexcept=0 |
| Returns the default analog output mode of the PIF. | |
| virtual void | setAoConfig (const PifAoConfig &config)=0 |
| Sets the configuration for a single analog output channel. | |
| virtual PifAoConfig | getAoConfig (int deviceIndex, int pinIndex)=0 |
| Returns the current configuration of the specified analog output channel. | |
| virtual void | setAoValue (int deviceIndex, int pinIndex, float value)=0 |
| Sets the output value of the specified analog output channel. | |
| virtual int | getActualDoCount () const noexcept=0 |
| Returns the count of all digital output channels on actually connected PIFs. | |
| virtual int | getConfigurableDoCount () const noexcept=0 |
| Returns the count of all digital output channels on configurable PIFs. | |
| virtual int | getDoCountPerDevice () const noexcept=0 |
| Returns the count of all digital output channels on a single PIF. | |
| virtual void | setDoConfig (const PifDoConfig &config)=0 |
| Sets the configuration for a single digital output channel. | |
| virtual PifDoConfig | getDoConfig (int deviceIndex, int pinIndex)=0 |
| Returns the current configuration of the specified digital output channel. | |
| virtual void | setDoValue (int deviceIndex, int pinIndex, bool value)=0 |
| Sets the output value of the specified digital output channel. | |
| virtual bool | hasFs () const noexcept=0 |
| Returns wether the PIF has a fail safe channel. | |
| virtual void | setFsConfig (const PifFsConfig &config)=0 |
| Sets the configuration for the fail safe channel. | |
| virtual PifFsConfig | getFsConfig ()=0 |
| Returns the current fail safe channel configuration. | |
Interface defining the API for interacting with process interfaces (PIFs).
Each PIF can have up to five different channel type. The API uses the following abbreviations to mark resources specific to a channel type:
Ai - analog inputsDi - digital inputsAo - analog outputsDo - digital outputsFs - fail safeIn case of stackable PIFs the number of configurable PIFs can deviate from the number of actually connected PIFs. To reflect this the API features different count methods for PIF devices and PIF channels:
Devices
getActualDeviceCount() returns the number of actually connected devices.getConfigurableDeviceCount() returns the number configurable devices.Channels (XX denotes the channel type)
getActualXXCount() returns the count of all XX channels on actually connected devices.getConfigurableXXCount() returns the count of all XX channels on configurable devices.getXXCountPerDevice() returns the count of XX channels per individual device.For more details and an overview of the process interface capabilities please refer to the Process Interface (PIF) chapter.
|
pure virtualnoexcept |
Returns the count of all analog input channels on actually connected PIFs.
|
pure virtualnoexcept |
Returns the count of all analog output channels on actually connected PIFs.
|
pure virtualnoexcept |
Returns the count of actually connected PIFs.
The method only returns count of connected PIFs whose type equals the one returned by getDeviceType().
|
pure virtualnoexcept |
Returns the count of all digital input channels on actually connected PIFs.
|
pure virtualnoexcept |
Returns the count of all digital output channels on actually connected PIFs.
|
pure virtual |
Returns the current configuration of the specified analog input channel.
| [in] | deviceIndex | identifying the channel. |
| [in] | pinIndex | identifying the channel. |
| SDKException | if the given indices are out of range. |
|
pure virtualnoexcept |
Returns the count of all analog input channels on a single PIF.
|
pure virtual |
Returns the current configuration of the specified analog output channel.
| [in] | deviceIndex | identifying the channel. |
| [in] | pinIndex | identifying the channel. |
| SDKException | if the given indices are out of range. |
|
pure virtualnoexcept |
Returns the count of all analog output channels on a single PIF.
|
pure virtualnoexcept |
Returns the current configuration of the entire process interface.
|
pure virtualnoexcept |
Returns the count of all analog input channels on configurable PIFs.
|
pure virtualnoexcept |
Returns the count of all analog output channels on configurable PIFs.
|
pure virtualnoexcept |
Returns the count of configurable PIFs.
|
pure virtualnoexcept |
Returns the count of all digital input channels on configurable PIFs.
|
pure virtualnoexcept |
Returns the count of all digital output channels on configurable PIFs.
|
pure virtualnoexcept |
Returns the default analog output mode of the PIF.
|
pure virtual |
Returns the firmware revision of the PIF with the given device index.
| [in] | deviceIndex | identifying the PIF device. |
| SDKException | if the device index is out of range. |
|
pure virtual |
Returns the serial number of the PIF with the given device index.
| [in] | deviceIndex | identifying the PIF device. |
| SDKException | if the device index is out of range. |
|
pure virtualnoexcept |
Returns the PIF device type.
|
pure virtual |
Returns the current configuration of the specified digital input channel.
| [in] | deviceIndex | identifying the channel. |
| [in] | pinIndex | identifying the channel. |
| SDKException | if the given indices are out of range. |
|
pure virtualnoexcept |
Returns the count of all digital input channels on a single PIF.
|
pure virtual |
Returns the current configuration of the specified digital output channel.
| [in] | deviceIndex | identifying the channel. |
| [in] | pinIndex | identifying the channel. |
| SDKException | if the given indices are out of range. |
|
pure virtualnoexcept |
Returns the count of all digital output channels on a single PIF.
|
pure virtual |
Returns the current fail safe channel configuration.
| SDKException | if no fail safe channel is available. |
|
pure virtualnoexcept |
Returns the list of PIF device types this camera model accepts in setConfig().
Cameras are categorized into three groups (autonomous, PI1, non-autonomous), each accepting a different subset of PifDeviceType values. This method reports the subset for the connected camera so clients can build a UI that only offers valid choices.
|
pure virtualnoexcept |
Returns wether the PIF has a fail safe channel.
|
pure virtualnoexcept |
Returns whether a PIF is actually connected.
|
pure virtual |
Sets the configuration for a single analog input channel.
If an analog input channel that generates an uncommitted value is switch to a different mode, dependent alarm channel turn orphaned and are subsequently removed.
| [in] | config | to set. |
| SDKExceptions | if the provided configuration could not be applied. |
|
pure virtual |
Sets the configuration for a single analog output channel.
| [in] | config | to set. |
| SDKExceptions | if the provided configuration could not be applied. |
|
pure virtual |
Sets the output value of the specified analog output channel.
The provided value is automatically clipped to the set output mode limits.
| [in] | deviceIndex | identifying the channel. |
| [in] | pinIndex | identifying the channel. |
| [in] | value | to output. |
| SDKException | if the indices are out of range or if the channel is not set to PifAoMode::ExternalCommunication. |
|
pure virtual |
Sets the given configuration for the entire process interface.
| [in] | config | to set. |
| SDKException | if the provided configuration could not be applied. |
|
pure virtual |
Sets the configuration for a single digital input channel.
| [in] | config | to set. |
| SDKExceptions | if the provided configuration could not be applied. |
|
pure virtual |
Sets the configuration for a single digital output channel.
| [in] | config | to set. |
| SDKExceptions | if the provided configuration could not be applied. |
|
pure virtual |
Sets the output value of the specified digital output channel.
| [in] | deviceIndex | identifying the channel. |
| [in] | pinIndex | identifying the channel. |
| [in] | value | to output. |
| SDKException | if the indices are out of range or if the channel is not set to PifDoMode::ExternalCommunication. |
|
pure virtual |
Sets the configuration for the fail safe channel.
| [in] | config | to set. |
| SDKException | if no fail safe channel is available. |