|
Games Task Scheduler (GTS)
A multi-processor scheduling framework for games engines
|
The base class for all Guards. More...
#include <Guards.h>
Inherited by gts::ReadGuard< T, TAccessorSharedMutex, TGrowSharedMutex >, and gts::WriteGuard< T, TAccessorSharedMutex, TGrowSharedMutex >.
Public Member Functions | |
| GuardBase (GuardBase const &)=delete | |
| GuardBase & | operator= (GuardBase const &)=delete |
| GuardBase (GuardBase &&other) | |
| GuardBase & | operator= (GuardBase &&other) |
| GuardBase (T *pItem, TAccessorSharedMutex *pAccessorMutex, TGrowSharedMutex *pGrowMutex) | |
| T const & | get () const |
| Gets the contained value. More... | |
| bool | isValid () const |
| Checks if the contained value is valid. More... | |
Protected Attributes | |
| T * | m_pItem |
| TAccessorSharedMutex * | m_pAccessorMutex |
| TGrowSharedMutex * | m_pGrowMutex |
The base class for all Guards.
| T const & internal::GuardBase::get | ( | ) | const |
Gets the contained value.
| bool internal::GuardBase::isValid | ( | ) | const |
Checks if the contained value is valid.