API Documentation
Loading...
Searching...
No Matches
CheckoutLock Class Reference

Used by Viewports to signal they are rendering and we should not be performing an Update. More...

#include <GraphicsUpdater.h>

Collaboration diagram for CheckoutLock:
[legend]

Public Member Functions

 CheckoutLock (CheckoutLock &&checkout)
 
 CheckoutLock (const CheckoutLock &checkout)=delete
 
 CheckoutLock (GraphicsUpdater *updater, bool wait_until_ready, UUID id=Constant< UUID >::Invalid)
 
bool isCheckedOut ()
 
 ~CheckoutLock ()
 

Protected Attributes

UUID m_id
 
RLock m_lock
 
GraphicsUpdaterm_updater
 

Detailed Description

Used by Viewports to signal they are rendering and we should not be performing an Update.


Constructor & Destructor Documentation

◆ CheckoutLock() [1/3]

CheckoutLock ( GraphicsUpdater * updater,
bool wait_until_ready,
UUID id = Constant<UUID>::Invalid )
inline

◆ CheckoutLock() [2/3]

CheckoutLock ( const CheckoutLock & checkout)
delete

◆ CheckoutLock() [3/3]

CheckoutLock ( CheckoutLock && checkout)
inline

◆ ~CheckoutLock()

~CheckoutLock ( )
inline

Member Function Documentation

◆ isCheckedOut()

bool isCheckedOut ( )
inline

Member Data Documentation

◆ m_id

UUID m_id
protected

◆ m_lock

RLock m_lock
protected

◆ m_updater

GraphicsUpdater* m_updater
protected

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