ifw-slm 0.1.2
 
Loading...
Searching...
No Matches
ifw::slm::ActionsLoopSuspended< LOOP_INDEX > Class Template Reference

#include <baseLoopActions.hpp>

Inheritance diagram for ifw::slm::ActionsLoopSuspended< LOOP_INDEX >:
ifw::slm::BaseLoopSuspendedActions

Public Types

using base_type = BaseLoopSuspendedActions
 

Public Member Functions

 ActionsLoopSuspended (const std::string &name, rad::Application &appl, rad::ConfigurableActionMgr &action_mgr, DataContext &data, int loop_index, std::shared_ptr< LoopCompletionHandler > completion_handler)
 
 ~ActionsLoopSuspended () override
 
void Execute (scxml4cpp::Context *c) override
 
void Complete (scxml4cpp::Context *c) override
 
void Abort (scxml4cpp::Context *c) override
 
 ActionsLoopSuspended (const ActionsLoopSuspended &)=delete
 
ActionsLoopSuspendedoperator= (const ActionsLoopSuspended &)=delete
 
- Public Member Functions inherited from ifw::slm::BaseLoopSuspendedActions
 BaseLoopSuspendedActions (const std::string &name, rad::Application &appl, rad::ConfigurableActionMgr &action_mgr, DataContext &data, int loop_index, std::shared_ptr< LoopCompletionHandler > completion_handler=nullptr)
 
virtual ~BaseLoopSuspendedActions ()=default
 
void Initialize () override
 
void Configure (const std::vector< std::string > &keys) override
 
virtual void InstallTimer (scxml4cpp::Context *c)
 
 BaseLoopSuspendedActions (const BaseLoopSuspendedActions &)=delete
 
BaseLoopSuspendedActionsoperator= (const BaseLoopSuspendedActions &)=delete
 

Additional Inherited Members

- Protected Member Functions inherited from ifw::slm::BaseLoopSuspendedActions
virtual void OnLoopOpen ()
 
virtual void OnLoopClose ()
 
virtual void OnLoopSuspend ()
 
virtual void OnCycleStart ()
 
virtual void OnCycleComplete (bool success)
 
virtual void OnCycleError ()
 
- Protected Attributes inherited from ifw::slm::BaseLoopSuspendedActions
rad::Application & m_appl
 
rad::ConfigurableActionMgr & m_action_mgr
 
DataContextm_data
 
int m_loop_index
 
std::shared_ptr< LoopCompletionHandlerm_completion_handler
 
LoopStateData m_loop_state
 

Detailed Description

template<int LOOP_INDEX>
class ifw::slm::ActionsLoopSuspended< LOOP_INDEX >

Template class for suspended loop actions (replaces ActionsLoop1S-9S)

This class handles actions when a loop is in suspended state.

Member Typedef Documentation

◆ base_type

template<int LOOP_INDEX>
using ifw::slm::ActionsLoopSuspended< LOOP_INDEX >::base_type = BaseLoopSuspendedActions

Constructor & Destructor Documentation

◆ ActionsLoopSuspended() [1/2]

template<int LOOP_INDEX>
ifw::slm::ActionsLoopSuspended< LOOP_INDEX >::ActionsLoopSuspended ( const std::string & name,
rad::Application & appl,
rad::ConfigurableActionMgr & action_mgr,
DataContext & data,
int loop_index,
std::shared_ptr< LoopCompletionHandler > completion_handler )
inline

◆ ~ActionsLoopSuspended()

template<int LOOP_INDEX>
ifw::slm::ActionsLoopSuspended< LOOP_INDEX >::~ActionsLoopSuspended ( )
inlineoverride

◆ ActionsLoopSuspended() [2/2]

template<int LOOP_INDEX>
ifw::slm::ActionsLoopSuspended< LOOP_INDEX >::ActionsLoopSuspended ( const ActionsLoopSuspended< LOOP_INDEX > & )
delete

Member Function Documentation

◆ Abort()

template<int LOOP_INDEX>
void ifw::slm::ActionsLoopSuspended< LOOP_INDEX >::Abort ( scxml4cpp::Context * c)
inlineoverridevirtual

◆ Complete()

template<int LOOP_INDEX>
void ifw::slm::ActionsLoopSuspended< LOOP_INDEX >::Complete ( scxml4cpp::Context * c)
inlineoverridevirtual

◆ Execute()

template<int LOOP_INDEX>
void ifw::slm::ActionsLoopSuspended< LOOP_INDEX >::Execute ( scxml4cpp::Context * c)
inlineoverridevirtual

◆ operator=()

template<int LOOP_INDEX>
ActionsLoopSuspended & ifw::slm::ActionsLoopSuspended< LOOP_INDEX >::operator= ( const ActionsLoopSuspended< LOOP_INDEX > & )
delete

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