Analysis Software
Documentation for sPHENIX simulation 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 ()
 

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 >
 

Detailed Description

Definition at line 194 of file FiniteStateMachineTests.cpp.

View newest version in sPHENIX GitHub at line 194 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 237 of file FiniteStateMachineTests.cpp.

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

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

Definition at line 205 of file FiniteStateMachineTests.cpp.

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

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

Definition at line 211 of file FiniteStateMachineTests.cpp.

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

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

Definition at line 217 of file FiniteStateMachineTests.cpp.

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

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

Definition at line 224 of file FiniteStateMachineTests.cpp.

View newest version in sPHENIX GitHub at line 224 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 231 of file FiniteStateMachineTests.cpp.

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

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

Definition at line 242 of file FiniteStateMachineTests.cpp.

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

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

Definition at line 247 of file FiniteStateMachineTests.cpp.

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

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

Definition at line 198 of file FiniteStateMachineTests.cpp.

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

Member Data Documentation

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

Definition at line 196 of file FiniteStateMachineTests.cpp.

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

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

Definition at line 195 of file FiniteStateMachineTests.cpp.

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

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

Definition at line 197 of file FiniteStateMachineTests.cpp.

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


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