Rasterfarm-SDK
Loading...
Searching...
No Matches
Engine::MasterLock Struct Reference

#include <types.h>

Inheritance diagram for Engine::MasterLock:
Mutex Engine::CommandBuffer Engine::PrimaryCommandBuffer Engine::SecondaryCommandBuffer

Public Member Functions

 MasterLock ()
 
void lock ()
 
void wait ()
 
void unlock ()
 
bool isLocked ()
 

Public Attributes

volatile uint slaveCount
 
volatile bool locked
 

Constructor & Destructor Documentation

◆ MasterLock()

Engine::MasterLock::MasterLock ( )
inlineexplicit

Default state is unlocked.

Member Function Documentation

◆ isLocked()

bool Engine::MasterLock::isLocked ( )
inline

◆ lock()

void Engine::MasterLock::lock ( )
inline

◆ unlock()

void Engine::MasterLock::unlock ( )
inline

◆ wait()

void Engine::MasterLock::wait ( )
inline

Member Data Documentation

◆ locked

volatile bool Engine::MasterLock::locked

◆ slaveCount

volatile uint Engine::MasterLock::slaveCount

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