|
C++ YASMIN (Yet Another State MachINe)
|
#include <functional>#include <memory>#include <set>#include <string>#include <unordered_map>#include <vector>

Go to the source code of this file.
Namespaces | |
| namespace | yasmin |
Macros | |
| #define | YASMIN_SHARED_PTR_ALIAS(...) |
| Macro to define a SharedPtr alias for a class. | |
| #define | YASMIN_UNIQUE_PTR_ALIAS(...) |
| Macro to define a UniquePtr alias for a class. | |
| #define | YASMIN_WEAK_PTR_ALIAS(...) |
| Macro to define a WeakPtr alias for a class. | |
| #define | YASMIN_PTR_ALIASES(ClassName) |
| Macro to define all pointer aliases for a class. | |
Typedefs | |
| using | yasmin::StringSet = std::set<std::string> |
| Set of strings. | |
| using | yasmin::StringMap = std::unordered_map<std::string, std::string> |
| Map from string to string. | |
| using | yasmin::Outcomes = StringSet |
| Set of possible outcomes for states. | |
| using | yasmin::StateOutcomeMap = StringMap |
| Map of state names to their outcomes. | |
| using | yasmin::OutcomeMap = std::unordered_map<std::string, StateOutcomeMap> |
| Map of outcomes to state outcome maps. | |
| using | yasmin::Transitions = StringMap |
| Map of transitions (string to string). | |
| using | yasmin::TransitionsMap = std::unordered_map<std::string, Transitions> |
| Map of state names to transitions. | |
| using | yasmin::Remappings = StringMap |
| Map of remappings (string to string). | |
| using | yasmin::RemappingsMap = std::unordered_map<std::string, Remappings> |
| Map of keys to remappings. | |
| using | yasmin::ParameterMappings = StringMap |
| Map of child parameter names to parent parameter names. | |
| using | yasmin::ParameterMappingsMap = std::unordered_map<std::string, ParameterMappings> |
| Map of state names to parameter mappings. | |
| using | yasmin::TypeRegistry = StringMap |
| Registry for type information. | |
| using | yasmin::BlackboardPtr = std::shared_ptr<Blackboard> |
| Shared pointer to Blackboard. | |
| using | yasmin::StatePtr = std::shared_ptr<State> |
| Shared pointer to State. | |
| using | yasmin::StateMachinePtr = std::shared_ptr<StateMachine> |
| Shared pointer to StateMachine. | |
| using | yasmin::ConcurrencePtr = std::shared_ptr<Concurrence> |
| Shared pointer to Concurrence. | |
| using | yasmin::StateMap = std::unordered_map<std::string, std::shared_ptr<State>> |
| Map of state names to state pointers. | |
| using | yasmin::CbStateCallback = std::function<std::string(std::shared_ptr<Blackboard>)> |
| Callback function type for CbState. | |
| #define YASMIN_PTR_ALIASES | ( | ClassName | ) |
Macro to define all pointer aliases for a class.
| #define YASMIN_SHARED_PTR_ALIAS | ( | ... | ) |
Macro to define a SharedPtr alias for a class.
| #define YASMIN_UNIQUE_PTR_ALIAS | ( | ... | ) |
Macro to define a UniquePtr alias for a class.
| #define YASMIN_WEAK_PTR_ALIAS | ( | ... | ) |
Macro to define a WeakPtr alias for a class.