RTC Toolkit 5.0.0
Loading...
Searching...
No Matches
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

namespace  rtctk
 
namespace  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.