4.6.0
Freundlich's C++ toolkit
Loading...
Searching...
No Matches
fcppt::scoped_state_machine< Machine > Class Template Reference

Detailed Description

template<typename Machine>
class fcppt::scoped_state_machine< Machine >

Scopes a boost state machine.

Calls initiate in the constructor and terminate in the destructor.

Template Parameters
MachineMust be a boost::statechart::state_machine

Public Types

using machine_ref = fcppt::reference<Machine>
 

Public Member Functions

 scoped_state_machine (machine_ref)
 
 ~scoped_state_machine ()
 

Member Typedef Documentation

◆ machine_ref

template<typename Machine >
using fcppt::scoped_state_machine< Machine >::machine_ref = fcppt::reference<Machine>

Constructor & Destructor Documentation

◆ scoped_state_machine()

template<typename Machine >
fcppt::scoped_state_machine< Machine >::scoped_state_machine ( machine_ref )
explicit

◆ ~scoped_state_machine()

template<typename Machine >
fcppt::scoped_state_machine< Machine >::~scoped_state_machine ( )