RTC Toolkit 5.1.0
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
rtctk::componentFramework::Measurable< Super >::OutputStage Class Reference

#include <rtctk/componentFramework/measurable.hpp>

Inheritance diagram for rtctk::componentFramework::Measurable< Super >::OutputStage:

Public Member Functions

 OutputStage (StateMachineEngine &engine, BizLogicIf &bl)
 

Protected Attributes

std::optional< detail::MeasureContextm_measure_ctx
 Context storage used for each accepted Measure request.
 
std::function< void()> m_measure_success_handler
 
std::function< void(std::exception_ptr)> m_measure_error_handler
 
std::list< std::string > m_no_measure_in_states
 

Constructor & Destructor Documentation

◆ OutputStage()

template<typename Super >
rtctk::componentFramework::Measurable< Super >::OutputStage::OutputStage ( StateMachineEngine & engine,
BizLogicIf & bl )
inline

This guard is invoked before entering Measure:Busy.

If this succeeds it should store m_measure_ctx for use in subsequent actions/activities.

Note
If Guard returns false an automatic "rejected" reply will be sent.

Member Data Documentation

◆ m_measure_ctx

template<typename Super >
std::optional<detail::MeasureContext> rtctk::componentFramework::Measurable< Super >::OutputStage::m_measure_ctx
protected

Context storage used for each accepted Measure request.

◆ m_measure_error_handler

template<typename Super >
std::function<void(std::exception_ptr)> rtctk::componentFramework::Measurable< Super >::OutputStage::m_measure_error_handler
protected

◆ m_measure_success_handler

template<typename Super >
std::function<void()> rtctk::componentFramework::Measurable< Super >::OutputStage::m_measure_success_handler
protected

◆ m_no_measure_in_states

template<typename Super >
std::list<std::string> rtctk::componentFramework::Measurable< Super >::OutputStage::m_no_measure_in_states
protected

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