Container for all state machines.
More...
#include <StateMachines.h>
Container for all state machines.
◆ addStateMachine()
void Atoms::StateMachines::addStateMachine |
( |
const std::string & |
name, |
|
|
const StateMachine & |
stateMachine, |
|
|
bool |
replace = true |
|
) |
| |
Add a state machine to the map.
- Parameters
-
name | state machine name |
stateMachine | state machine |
◆ removeStateMachine()
void Atoms::StateMachines::removeStateMachine |
( |
const std::string & |
name | ) |
|
Removes a state machine from the map.
- Parameters
-
◆ stateMachine()
AtomsPtr<StateMachine> Atoms::StateMachines::stateMachine |
( |
const std::string & |
typeName | ) |
|
Gets a state machine by name.
- Parameters
-
typeName | state machine name |
- Returns
- Pointer to the state machine stored inside this class
◆ stateMachineExists()
bool Atoms::StateMachines::stateMachineExists |
( |
const std::string & |
name | ) |
|
Checks if a state machine exists.
- Parameters
-
- Returns
- Return true if the state machine exists
◆ stateMachineNames()
std::vector<std::string> Atoms::StateMachines::stateMachineNames |
( |
| ) |
|
Gets all state machines names.
- Returns
- List of all state machines
The documentation for this class was generated from the following file: