#include <functional>
#include <memory>
#include <string>
#include <unordered_map>
#include <vector>
#include "SD/core/types.hpp"
#include "SD/utils/serialization.hpp"
Go to the source code of this file.
◆ COMMAND_ID
Value:public: \
u32 get_type_id()
const override { \
} \
\
private:
std::uint32_t u32
Definition types.hpp:15
constexpr T g_type_max
Definition types.hpp:21
◆ COMMAND_ID_T
Value:public: \
u32 get_type_id()
const override { \
} \
\
private:
◆ REGISTER_COMMAND
Value: namespace { \
sd::CommandFactory::register_(sd::Name::s_type_id, \
[] { return std::make_unique<sd::Name>(); }); \
} \
}; \
}
static u32 register_(const char *name, u32 component_id=0)
Definition CommandQueue.cpp:8
◆ REGISTER_COMPONENT_COMMANDS
| #define REGISTER_COMPONENT_COMMANDS |
( |
|
T | ) |
|
Value: namespace { \
[] { return std::make_unique<sd::AddComponentCmd<T>>(); }); \
} \
}; \
} \
namespace { \
[] { return std::make_unique<sd::RemoveComponentCmd<T>>(); }); \
} \
}; \
}
Definition commands.hpp:46
Definition commands.hpp:71
Definition component_registration.hpp:71