Class component_handle_base¶
Defined in File component_handle.hpp
Class Documentation¶
-
class
legion::core::ecs
::
component_handle_base
¶ Base class of legion::core::ecs::component_handle. legion::core::ecs::component_handle.
Public Functions
-
inline
component_handle_base
()¶
-
inline
component_handle_base
(const component_handle_base &other)¶
-
inline
component_handle_base
(component_handle_base &&other)¶
-
inline component_handle_base &
operator=
(const component_handle_base &other)¶
-
inline component_handle_base &
operator=
(component_handle_base &&other)¶
-
template<typename
component_type
>
inline component_handle<component_type>cast
()¶
-
template<typename
component_type
>
inline const component_handle<component_type>cast
() const¶
-
void
serialize
(cereal::JSONOutputArchive &oarchive)¶
-
void
serialize
(cereal::BinaryOutputArchive &oarchive)¶
-
void
serialize
(cereal::JSONInputArchive &oarchive)¶
-
void
serialize
(cereal::BinaryInputArchive &oarchive)¶
-
virtual bool valid () const LEGION_IMPURE_RETURN(entity.valid())
Checks if handle still points to a valid component.
-
inline
operator bool
() const¶ Checks if handle still points to a valid component.
Public Members
-
entity_handle
entity
¶
Protected Static Attributes
-
static EcsRegistry *
m_registry
= nullptr¶
Friends
- friend class legion::core::Engine
-
inline