SmartSpectra C++ SDK
Measure human vitals from video with SmartSpectra C++ SDK.
Loading...
Searching...
No Matches
presage::smartspectra::container::OperationContext< TOperationMode > Class Template Reference

Helper for managing polling of operation-specific graph streams. More...

#include <operation_context.hpp>

Public Member Functions

 OperationContext (const settings::OperationSettings< settings::OperationMode::Continuous > &settings)
void Reset ()
absl::Status InitializePollers (mediapipe::CalculatorGraph &graph)
absl::Status QueryPollers (bool &operation_state_changed, bool verbose)

Detailed Description

template<settings::OperationMode TOperationMode>
class presage::smartspectra::container::OperationContext< TOperationMode >

Helper for managing polling of operation-specific graph streams.

Member Function Documentation

◆ InitializePollers()

template<settings::OperationMode TOperationMode>
absl::Status presage::smartspectra::container::OperationContext< TOperationMode >::InitializePollers ( mediapipe::CalculatorGraph & graph)

Initialize pollers required for the given operation mode.

◆ QueryPollers()

template<settings::OperationMode TOperationMode>
absl::Status presage::smartspectra::container::OperationContext< TOperationMode >::QueryPollers ( bool & operation_state_changed,
bool verbose )

Poll graph output streams and update internal state.


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