CFx SDK Documentation  2022 SP0
Public Types | Public Member Functions | List of all members
OdGsBaseDeviceMTHelpers Class Reference

#include <GsBaseInclude.h>

Inheritance diagram for OdGsBaseDeviceMTHelpers:
OdGsBaseDeviceMTHelpersTemplate< SyncCount >

Public Types

enum  SyncType {
  kSyncDeviceAccess = 0 , kSyncDeviceResource , kSyncRasterCache , kSyncTextureCache ,
  kSyncCount
}
 

Public Member Functions

 OdGsBaseDeviceMTHelpers ()
 
void lock (SyncType nSync)
 
void unlock (SyncType nSync)
 
- Public Member Functions inherited from OdGsBaseDeviceMTHelpersTemplate< SyncCount >
 OdGsBaseDeviceMTHelpersTemplate ()
 
void setEnabled (bool bEnable)
 
bool isEnabled () const
 
void lock (OdUInt32 nSync)
 
void unlock (OdUInt32 nSync)
 

Additional Inherited Members

- Protected Member Functions inherited from OdGsBaseDeviceMTHelpersTemplate< SyncCount >
void check (int nSyncObjects)
 
- Protected Attributes inherited from OdGsBaseDeviceMTHelpersTemplate< SyncCount >
OdMutexPtr m_locker [SyncCount]
 
bool m_bEnabled
 

Detailed Description

Helper class provide base synchronization routines for device resources access.

Corresponding C++ library: Gs

<group OdGs_Classes>

Definition at line 471 of file GsBaseInclude.h.

Member Enumeration Documentation

◆ SyncType

Enumerator
kSyncDeviceAccess 
kSyncDeviceResource 
kSyncRasterCache 
kSyncTextureCache 
kSyncCount 

Definition at line 474 of file GsBaseInclude.h.

Constructor & Destructor Documentation

◆ OdGsBaseDeviceMTHelpers()

OdGsBaseDeviceMTHelpers::OdGsBaseDeviceMTHelpers ( )
inline

Definition at line 484 of file GsBaseInclude.h.

Member Function Documentation

◆ lock()

void OdGsBaseDeviceMTHelpers::lock ( SyncType  nSync)
inline

Definition at line 485 of file GsBaseInclude.h.

◆ unlock()

void OdGsBaseDeviceMTHelpers::unlock ( SyncType  nSync)
inline

Definition at line 486 of file GsBaseInclude.h.


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