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

#include <rtctk/rtcSupervisor/supervisory.hpp>

Inheritance diagram for rtctk::rtcSupervisor::Supervisory< Super >::OutputStage:

Public Member Functions

 OutputStage (StateMachineEngine &engine, BizLogicIf &bl)
 

Protected Attributes

std::optional< detail::SetModesContextm_setmode_ctx
 
std::optional< detail::WriteBackContextm_writeback_ctx
 
std::function< void()> m_setmode_success_handler
 
std::function< void(std::exception_ptr)> m_setmode_error_handler
 
std::function< void()> m_writeback_success_handler
 
std::function< void(std::exception_ptr)> m_writeback_error_handler
 
std::list< std::string > m_no_setmode_in_states
 
std::list< std::string > m_no_writeback_in_states
 

Constructor & Destructor Documentation

◆ OutputStage()

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

This guard is invoked before entering SetModes:Busy.

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

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

This guard is invoked before entering WriteBack:Busy.

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

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

Member Data Documentation

◆ m_no_setmode_in_states

template<typename Super >
std::list<std::string> rtctk::rtcSupervisor::Supervisory< Super >::OutputStage::m_no_setmode_in_states
protected

◆ m_no_writeback_in_states

template<typename Super >
std::list<std::string> rtctk::rtcSupervisor::Supervisory< Super >::OutputStage::m_no_writeback_in_states
protected

◆ m_setmode_ctx

template<typename Super >
std::optional<detail::SetModesContext> rtctk::rtcSupervisor::Supervisory< Super >::OutputStage::m_setmode_ctx
protected

◆ m_setmode_error_handler

template<typename Super >
std::function<void(std::exception_ptr)> rtctk::rtcSupervisor::Supervisory< Super >::OutputStage::m_setmode_error_handler
protected

◆ m_setmode_success_handler

template<typename Super >
std::function<void()> rtctk::rtcSupervisor::Supervisory< Super >::OutputStage::m_setmode_success_handler
protected

◆ m_writeback_ctx

template<typename Super >
std::optional<detail::WriteBackContext> rtctk::rtcSupervisor::Supervisory< Super >::OutputStage::m_writeback_ctx
protected

◆ m_writeback_error_handler

template<typename Super >
std::function<void(std::exception_ptr)> rtctk::rtcSupervisor::Supervisory< Super >::OutputStage::m_writeback_error_handler
protected

◆ m_writeback_success_handler

template<typename Super >
std::function<void()> rtctk::rtcSupervisor::Supervisory< Super >::OutputStage::m_writeback_success_handler
protected

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