neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
neolib::ecs::scoped_component_lock< Data > Class Template Reference

#include <i_ecs.hpp>

Public Member Functions

 scoped_component_lock (const i_ecs &aEcs)
 
 scoped_component_lock (i_ecs &aEcs)
 
 scoped_component_lock (const i_ecs &aEcs, dont_lock_t)
 
 scoped_component_lock (i_ecs &aEcs, dont_lock_t)
 
 ~scoped_component_lock ()
 
void lock ()
 
void unlock ()
 
bool try_lock ()
 
template<typename Data2 >
i_lockablemutex ()
 
template<typename Data2 >
bool controlling () const
 
template<typename... Data2>
void lock_if ()
 
template<typename... Data2>
void unlock_if ()
 

Detailed Description

template<typename... Data>
class neolib::ecs::scoped_component_lock< Data >

Definition at line 339 of file i_ecs.hpp.

Constructor & Destructor Documentation

◆ scoped_component_lock() [1/4]

template<typename... Data>
neolib::ecs::scoped_component_lock< Data >::scoped_component_lock ( const i_ecs aEcs)
inline

Definition at line 402 of file i_ecs.hpp.

◆ scoped_component_lock() [2/4]

template<typename... Data>
neolib::ecs::scoped_component_lock< Data >::scoped_component_lock ( i_ecs aEcs)
inline

Definition at line 407 of file i_ecs.hpp.

◆ scoped_component_lock() [3/4]

template<typename... Data>
neolib::ecs::scoped_component_lock< Data >::scoped_component_lock ( const i_ecs aEcs,
dont_lock_t   
)
inline

Definition at line 412 of file i_ecs.hpp.

◆ scoped_component_lock() [4/4]

template<typename... Data>
neolib::ecs::scoped_component_lock< Data >::scoped_component_lock ( i_ecs aEcs,
dont_lock_t   
)
inline

Definition at line 417 of file i_ecs.hpp.

◆ ~scoped_component_lock()

template<typename... Data>
neolib::ecs::scoped_component_lock< Data >::~scoped_component_lock ( )
inline

Definition at line 422 of file i_ecs.hpp.

Member Function Documentation

◆ controlling()

template<typename... Data>
template<typename Data2 >
bool neolib::ecs::scoped_component_lock< Data >::controlling ( ) const
inline

Definition at line 453 of file i_ecs.hpp.

◆ lock()

template<typename... Data>
void neolib::ecs::scoped_component_lock< Data >::lock ( )
inline

Definition at line 428 of file i_ecs.hpp.

◆ lock_if()

template<typename... Data>
template<typename... Data2>
void neolib::ecs::scoped_component_lock< Data >::lock_if ( )
inline

Definition at line 458 of file i_ecs.hpp.

◆ mutex()

template<typename... Data>
template<typename Data2 >
i_lockable & neolib::ecs::scoped_component_lock< Data >::mutex ( )
inline

Definition at line 448 of file i_ecs.hpp.

◆ try_lock()

template<typename... Data>
bool neolib::ecs::scoped_component_lock< Data >::try_lock ( )
inline

Definition at line 439 of file i_ecs.hpp.

◆ unlock()

template<typename... Data>
void neolib::ecs::scoped_component_lock< Data >::unlock ( )
inline

Definition at line 435 of file i_ecs.hpp.

◆ unlock_if()

template<typename... Data>
template<typename... Data2>
void neolib::ecs::scoped_component_lock< Data >::unlock_if ( )
inline

Definition at line 463 of file i_ecs.hpp.


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