StateMachine< Identifier, Packet >::State Struct Reference
Represents one connection. More...
#include <stateMachine.hpp>
Public Member Functions | |
| State () | |
| State (StateID state, void *stateData) | |
| State (const State &s) | |
| void | set (const State &s) |
Public Attributes | |
| void * | stateData |
| StateID | state |
| uint32_t | timeoutID |
Detailed Description
template<class Identifier, class Packet>
struct StateMachine< Identifier, Packet >::State
Represents one connection.
This struct holds the information about the current state, and a void* which points to any kind of data the user chooses
Definition at line 96 of file stateMachine.hpp.
Constructor & Destructor Documentation
◆ State() [1/3]
template<class Identifier, class Packet>
|
inline |
Definition at line 102 of file stateMachine.hpp.
◆ State() [2/3]
template<class Identifier, class Packet>
|
inline |
Definition at line 103 of file stateMachine.hpp.
◆ State() [3/3]
template<class Identifier, class Packet>
|
inline |
Definition at line 105 of file stateMachine.hpp.
Member Function Documentation
◆ set()
template<class Identifier, class Packet>
|
inline |
Definition at line 108 of file stateMachine.hpp.
Member Data Documentation
◆ state
template<class Identifier, class Packet>
| StateID StateMachine< Identifier, Packet >::State::state |
Definition at line 99 of file stateMachine.hpp.
◆ stateData
template<class Identifier, class Packet>
| void* StateMachine< Identifier, Packet >::State::stateData |
Definition at line 98 of file stateMachine.hpp.
◆ timeoutID
template<class Identifier, class Packet>
| uint32_t StateMachine< Identifier, Packet >::State::timeoutID |
Definition at line 100 of file stateMachine.hpp.
The documentation for this struct was generated from the following file:
- /home/dominik/uni/MoonState/include/stateMachine.hpp
1.8.14