CommandBufferTypeId.ixx File
Unique type identifier for command buffers. More...
Included Headers
#include <functional>
#include <cstddef>
#include <helios.ecs.types>
#include <helios.ecs.TypeIndexer>
Namespaces Index
| namespace | helios |
| namespace | engine |
| namespace | runtime |
| namespace | messaging |
| namespace | command |
| namespace | types |
Classes Index
| class | CommandBufferTypeId |
|
Unique type identifier for command buffer types. More... | |
| struct | helios_engine_common_tag_CommandTypes |
|
Tag type for the TypeIndexer domain. More... | |
| struct | hash<helios::engine::runtime::messaging::command::types::CommandBufferTypeId> |
|
Hash specialization for CommandBufferTypeId. More... | |
Description
Unique type identifier for command buffers.
File Listing
The file content with the documentation metadata removed is:
15export namespace helios::engine::runtime::messaging::command::types {
30 class CommandBufferTypeId {
53 explicit CommandBufferTypeId(const size_t id) : id_(id) {}
61 explicit CommandBufferTypeId(helios::ecs::types::no_init_t) {}
85 [[nodiscard]] static CommandBufferTypeId id() {
86 static const size_t tid = helios::ecs::TypeIndexer<ComponentType>::typeIndex<T>();
87 return CommandBufferTypeId(tid);
90 friend constexpr bool operator==(CommandBufferTypeId, CommandBufferTypeId) noexcept = default;
102 std::size_t operator()(const helios::engine::runtime::messaging::command::types::CommandBufferTypeId& id) const noexcept {
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.