ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Acts::Test::fsm3 Struct Reference
+ Inheritance diagram for Acts::Test::fsm3:
+ Collaboration diagram for Acts::Test::fsm3:

Public Member Functions

void reset ()
 
event_return on_event (const S1 &, const E1 &)
 
event_return on_event (const S2 &, const E1 &)
 
event_return on_event (const S2 &, const E2 &)
 
event_return on_event (const S2 &, const E3 &)
 
template<typename State , typename Event , typename... Args>
event_return on_event (const State &, const Event &, Args &&...) const
 
template<typename State , typename... Args>
void on_enter (const State &, Args &&...)
 
template<typename State , typename... Args>
void on_exit (const State &, Args &&...)
 
template<typename... Args>
void on_process (Args &&...)
 
- Public Member Functions inherited from Acts::FiniteStateMachine< fsm3, S1, S2, S3 >
 FiniteStateMachine ()
 
 FiniteStateMachine (StateVariant state)
 
const StateVariantgetState () const noexcept
 
void setState (State state, Args &&...args)
 
bool is (const S &) const noexcept
 
bool is () const noexcept
 
bool terminated () const noexcept
 
void dispatch (Event &&event, Args &&...args)
 

Public Attributes

bool on_exit_called = false
 
bool on_enter_called = false
 
bool on_process_called = false
 

Additional Inherited Members

- Public Types inherited from Acts::FiniteStateMachine< fsm3, S1, S2, S3 >
using StateVariant = std::variant< Terminated, States...>
 
- Protected Types inherited from Acts::FiniteStateMachine< fsm3, S1, S2, S3 >
using fsm_base = FiniteStateMachine< fsm3, States...>
 
using event_return = std::optional< StateVariant >
 
- Protected Member Functions inherited from Acts::FiniteStateMachine< fsm3, S1, S2, S3 >
event_return process_event (Event &&event, Args &&...args)
 

Detailed Description

Definition at line 183 of file FiniteStateMachineTests.cpp.

View newest version in sPHENIX GitHub at line 183 of file FiniteStateMachineTests.cpp

Member Function Documentation

template<typename State , typename... Args>
void Acts::Test::fsm3::on_enter ( const State ,
Args &&  ... 
)
inline

Definition at line 219 of file FiniteStateMachineTests.cpp.

View newest version in sPHENIX GitHub at line 219 of file FiniteStateMachineTests.cpp

event_return Acts::Test::fsm3::on_event ( const S1 ,
const E1  
)
inline

Definition at line 194 of file FiniteStateMachineTests.cpp.

View newest version in sPHENIX GitHub at line 194 of file FiniteStateMachineTests.cpp

event_return Acts::Test::fsm3::on_event ( const S2 ,
const E1  
)
inline

Definition at line 198 of file FiniteStateMachineTests.cpp.

View newest version in sPHENIX GitHub at line 198 of file FiniteStateMachineTests.cpp

event_return Acts::Test::fsm3::on_event ( const S2 ,
const E2  
)
inline

Definition at line 202 of file FiniteStateMachineTests.cpp.

View newest version in sPHENIX GitHub at line 202 of file FiniteStateMachineTests.cpp

event_return Acts::Test::fsm3::on_event ( const S2 ,
const E3  
)
inline

Definition at line 209 of file FiniteStateMachineTests.cpp.

View newest version in sPHENIX GitHub at line 209 of file FiniteStateMachineTests.cpp

template<typename State , typename Event , typename... Args>
event_return Acts::Test::fsm3::on_event ( const State ,
const Event ,
Args &&  ... 
) const
inline

Definition at line 214 of file FiniteStateMachineTests.cpp.

View newest version in sPHENIX GitHub at line 214 of file FiniteStateMachineTests.cpp

template<typename State , typename... Args>
void Acts::Test::fsm3::on_exit ( const State ,
Args &&  ... 
)
inline

Definition at line 224 of file FiniteStateMachineTests.cpp.

View newest version in sPHENIX GitHub at line 224 of file FiniteStateMachineTests.cpp

template<typename... Args>
void Acts::Test::fsm3::on_process ( Args &&  ...)
inline

Definition at line 229 of file FiniteStateMachineTests.cpp.

View newest version in sPHENIX GitHub at line 229 of file FiniteStateMachineTests.cpp

void Acts::Test::fsm3::reset ( )
inline

Definition at line 187 of file FiniteStateMachineTests.cpp.

View newest version in sPHENIX GitHub at line 187 of file FiniteStateMachineTests.cpp

Member Data Documentation

bool Acts::Test::fsm3::on_enter_called = false

Definition at line 185 of file FiniteStateMachineTests.cpp.

View newest version in sPHENIX GitHub at line 185 of file FiniteStateMachineTests.cpp

bool Acts::Test::fsm3::on_exit_called = false

Definition at line 184 of file FiniteStateMachineTests.cpp.

View newest version in sPHENIX GitHub at line 184 of file FiniteStateMachineTests.cpp

bool Acts::Test::fsm3::on_process_called = false

Definition at line 186 of file FiniteStateMachineTests.cpp.

View newest version in sPHENIX GitHub at line 186 of file FiniteStateMachineTests.cpp


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