Shkyera Engine
Easy to use, game engine for Python
Loading...
Searching...
No Matches
shkyera::Policy Struct Reference

#include <RegistryViewer.hpp>

Public Member Functions

 Policy (TypeSet readSet, TypeSet writeSet, bool mainThread)
 
template<typename Type >
bool canRead () const
 
template<typename Type >
bool canWrite () const
 

Public Attributes

TypeSet read
 
TypeSet write
 
bool onlyMainThread
 

Constructor & Destructor Documentation

◆ Policy()

shkyera::Policy::Policy ( TypeSet  readSet,
TypeSet  writeSet,
bool  mainThread 
)
inline

Member Function Documentation

◆ canRead()

template<typename Type >
bool shkyera::Policy::canRead ( ) const
inline

◆ canWrite()

template<typename Type >
bool shkyera::Policy::canWrite ( ) const
inline

Member Data Documentation

◆ onlyMainThread

bool shkyera::Policy::onlyMainThread

◆ read

TypeSet shkyera::Policy::read

◆ write

TypeSet shkyera::Policy::write

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