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

#include <rtctk/componentFramework/optimisable.hpp>

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

Public Member Functions

 OutputStage (StateMachineEngine &engine, BizLogicIf &bl)
 

Protected Attributes

std::optional< detail::OptimiseContextm_optimise_ctx
 
std::function< void()> m_optimise_success_handler
 
std::function< void(std::exception_ptr)> m_optimise_error_handler
 
std::list< std::string > m_no_optimise_in_states
 

Constructor & Destructor Documentation

◆ OutputStage()

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

This guard is invoked before entering Optimise:Busy.

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

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

Member Data Documentation

◆ m_no_optimise_in_states

template<typename Super >
std::list<std::string> rtctk::componentFramework::Optimisable< Super >::OutputStage::m_no_optimise_in_states
protected

◆ m_optimise_ctx

template<typename Super >
std::optional<detail::OptimiseContext> rtctk::componentFramework::Optimisable< Super >::OutputStage::m_optimise_ctx
protected

◆ m_optimise_error_handler

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

◆ m_optimise_success_handler

template<typename Super >
std::function<void()> rtctk::componentFramework::Optimisable< Super >::OutputStage::m_optimise_success_handler
protected

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