tsm 0.1.0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
tsm::detail::ThreadedExecWithObserver< Observer, Context, Policy > Struct Template Reference

#include <tsm.h>

Inheritance diagram for tsm::detail::ThreadedExecWithObserver< Observer, Context, Policy >:
Inheritance graph
Collaboration diagram for tsm::detail::ThreadedExecWithObserver< Observer, Context, Policy >:
Collaboration graph

Public Types

using type = ThreadedExecWithObserver< Observer, Context, Policy >
 
using HsmType = typename Policy< Context >::type
 

Public Member Functions

void start ()
 
virtual ~ThreadedExecWithObserver ()=default
 

Detailed Description

template<typename Observer, typename Context, template< typename > class Policy = ThreadedExecutionPolicy>
struct tsm::detail::ThreadedExecWithObserver< Observer, Context, Policy >

Another Threaded execution policy. The only difference with ThreadedExecutionPolicy is that an Observer's notify method will be invoked at the end of processing each event - specifically, right before the blocking wait for the next event.

Member Typedef Documentation

◆ HsmType

template<typename Observer , typename Context , template< typename > class Policy = ThreadedExecutionPolicy>
using tsm::detail::ThreadedExecWithObserver< Observer, Context, Policy >::HsmType = typename Policy<Context>::type

◆ type

template<typename Observer , typename Context , template< typename > class Policy = ThreadedExecutionPolicy>
using tsm::detail::ThreadedExecWithObserver< Observer, Context, Policy >::type = ThreadedExecWithObserver<Observer, Context, Policy>

Constructor & Destructor Documentation

◆ ~ThreadedExecWithObserver()

template<typename Observer , typename Context , template< typename > class Policy = ThreadedExecutionPolicy>
virtual tsm::detail::ThreadedExecWithObserver< Observer, Context, Policy >::~ThreadedExecWithObserver ( )
virtualdefault

Member Function Documentation

◆ start()

template<typename Observer , typename Context , template< typename > class Policy = ThreadedExecutionPolicy>
void tsm::detail::ThreadedExecWithObserver< Observer, Context, Policy >::start ( )
inline

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