Gaia-ECS v0.9.3
A simple and powerful entity component system
Loading...
Searching...
No Matches
gaia::ecs::detail::QueryImplStorage< Cached > Struct Template Reference

Public Member Functions

 QueryImplStorage (QueryImplStorage &&other)
 
QueryImplStorageoperator= (QueryImplStorage &&other)
 
 QueryImplStorage (const QueryImplStorage &other)
 
QueryImplStorageoperator= (const QueryImplStorage &other)
 
GAIA_NODISCARD Worldworld ()
 
GAIA_NODISCARD QuerySerBufferser_buffer ()
 
void ser_buffer_reset ()
 
void init (World *world, QueryCache *queryCache)
 
void reset ()
 Release any data allocated by the query.
 
void allow_to_destroy_again ()
 
GAIA_NODISCARD bool try_del_from_cache ()
 Try delete the query from query cache.
 
void invalidate ()
 Invalidates the query handle.
 
GAIA_NODISCARD bool is_cached () const
 Returns true if the query is found in the query cache.
 
GAIA_NODISCARD bool is_initialized () const
 Returns true if the query is ready to be used.
 

Public Attributes

Worldm_world {}
 
QueryCachem_queryCache {}
 QueryImpl cache (stable pointer to parent world's query cache)
 
QueryIdentity m_q {}
 Query identity.
 
bool m_destroyed = false
 

The documentation for this struct was generated from the following file: