Lluvia
NodeState.h
Go to the documentation of this file.
1
8
#ifndef LLUVIA_CORE_NODE_NODE_STATE_H_
9
#define LLUVIA_CORE_NODE_NODE_STATE_H_
10
11
#include "
lluvia/core/enums/enums.h
"
12
#include "
lluvia/core/vulkan/vulkan.hpp
"
13
14
namespace
ll
{
15
21
enum class
NodeState
:
ll::enum_t
{
22
Created
= 0,
23
Init
= 1
24
};
25
26
namespace
impl {
27
33
constexpr
const
std::array<std::tuple<const char*, ll::NodeState>, 2>
NodeStateStrings
{{std::make_tuple(
"Created"
,
ll::NodeState::Created
),
34
std::make_tuple(
"Init"
,
ll::NodeState::Init
)}};
35
36
}
// namespace impl
37
38
}
// namespace ll
39
40
#endif
// LLUVIA_CORE_NODE_NODE_STATE_H_
enums.h
Enums.
ll::impl::NodeStateStrings
constexpr const std::array< std::tuple< const char *, ll::NodeState >, 2 > NodeStateStrings
Node state string values used for converting ll::NodeState to std::string and vice-versa.
Definition:
NodeState.h:33
ll
Definition:
Buffer.h:28
ll::NodeState
NodeState
Class for node state.
Definition:
NodeState.h:21
ll::NodeState::Created
@ Created
ll::NodeState::Init
@ Init
ll::enum_t
uint32_t enum_t
Definition:
enums.h:23
vulkan.hpp
lluvia
cpp
core
include
lluvia
core
node
NodeState.h
Generated by
1.9.1