ImFusion SDK 4.3
BackgroundThreadConsumer< T > Class Template Referenceabstract

#include <ImFusion/Stream/BackgroundThreadConsumer.h>

Interface for BackgroundThreadQueue holders to implement. More...

Detailed Description

template<typename T>
class ImFusion::BackgroundThreadConsumer< T >

Interface for BackgroundThreadQueue holders to implement.

Note that since this pure abstract interface class doesn't have a virtual destructor, you must never allow an instance typed as it to destruct! Intended use it only within the BackgroundThreadQueue to call the process() method!

Public Member Functions

virtual void process (TimestampedPayload< T > data)=0
 Called by the queue for each data added to it from a background processing thread.
 

Member Function Documentation

◆ process()

template<typename T>
virtual void process ( TimestampedPayload< T > data)
pure virtual

Called by the queue for each data added to it from a background processing thread.

Implemented in PixelwiseLearningStream, and StreamAlgorithmExecutor.


The documentation for this class was generated from the following file:
Search Tab / S to search, Esc to close