RTC Toolkit  1.0.0
Classes | Namespaces | Typedefs | Functions
stateMachineEngine.hpp File Reference

Wrapper around the SCXML State Machine Engine. More...

#include <rtctk/componentFramework/exceptions.hpp>
#include <rtctk/componentFramework/stopToken.hpp>
#include <rad/signal.hpp>
#include <rad/smAdapter.hpp>

Go to the source code of this file.

Classes

class  rtctk::componentFramework::StateMachineEngine
 

Namespaces

 rtctk
 
 rtctk::componentFramework
 

Typedefs

using rtctk::componentFramework::ActionMethod = std::function< void(scxml4cpp::Context *c)>
 
using rtctk::componentFramework::GuardMethod = std::function< bool(scxml4cpp::Context *c)>
 
using rtctk::componentFramework::ActivityMethod = std::function< void(StopToken f)>
 
using rtctk::componentFramework::SuccessMethod = std::function< void()>
 
using rtctk::componentFramework::FailureMethod = std::function< void(std::exception_ptr)>
 
using rtctk::componentFramework::RejectMethod = std::function< void(const rad::AnyEvent &, const std::string &state)>
 
using rtctk::componentFramework::StateMethod = std::function< void(const std::string &)>
 

Functions

template<typename EVENT >
std::shared_ptr< typename EVENT::payload_t > rtctk::componentFramework::GetPayloadNothrow (scxml4cpp::Context *c)
 

Detailed Description

Wrapper around the SCXML State Machine Engine.