These are the pre-v12 classes, kept so existing code keeps building. New code should use the modern API — see Migration Guide: v11 to v12.
optris::OperationInfo
Encapsulates information about an operation module within the processing pipeline.
Public functions
OperationInfo
OperationInfo() noexcept
Constructor.
OperationInfo
OperationInfo(int index, int previousIndex, std::string name, float processingTime, short pixelValue) noexcept
Constructor.
Parameters
| Name | Description |
|---|---|
index |
unique index of the module. |
previousIndex |
unique index of the module that precedes this module in the processing pipeline. |
name |
of the module. |
processingTime |
average processing time in ms. |
pixelValue |
processed internal thermal value of a given pixel. |
getIndex
int getIndex() const noexcept
Returns the unique index of the module.
Returns: unique index of the operation module or -1 if an index is not available.
getPreviousIndex
int getPreviousIndex() const noexcept
Returns the unique index of the module that precedes this module in the processing pipeline.
Returns: unique index of the module that precedes this module in the processing pipeline or -1 if an index is not available.
getName
const std::string & getName() const noexcept
Returns the name of the module.
Returns: name of the module or an empty string if a name is not available.
getProcessingTime
float getProcessingTime() const noexcept
Returns the average processing time in ms of the module.
Returns: processing time in ms of the module.
getPixelValue
short getPixelValue() const noexcept
Returns the processed internal thermal value of a given pixel.
Returns: processed internal thermal value of a given pixel or minimal short value if no value is available.