#include <cstdint>
#include <initializer_list>
#include <map>
#include <memory>
#include <mutex>
#include <optional>
#include <utility>
#include <cloe/core.hpp>
#include <cloe/utility/statistics.hpp>
#include <cloe/utility/timer.hpp>
Go to the source code of this file.
|
| #define | DEFINE_STATE_STRUCT(MachineType, ContextType, Id, StructName) |
| |
|
|
using | engine::StateId = const char * |
| |
◆ DEFINE_STATE_STRUCT
| #define DEFINE_STATE_STRUCT |
( |
|
MachineType, |
|
|
|
ContextType, |
|
|
|
Id, |
|
|
|
StructName |
|
) |
| |
Value: static constexpr StateId Id = #Id; \
struct StructName : public State<MachineType, ContextType> { \
using State<MachineType, ContextType>::State; \
StateId id() const override { return Id; } \
StateId impl(ContextType& ctx) override; \
}