CFx SDK Documentation  2020SP3
Classes | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
OdGsBaseDeviceMTHelpersTemplate< SyncCount > Class Template Reference

#include <GsBaseInclude.h>

Classes

class  SyncHelper
 

Public Member Functions

 OdGsBaseDeviceMTHelpersTemplate ()
 
void setEnabled (bool bEnable)
 
bool isEnabled () const
 
void lock (OdUInt32 nSync)
 
void unlock (OdUInt32 nSync)
 

Protected Member Functions

void check (int nSyncObjects)
 

Protected Attributes

OdMutexPtr m_locker [SyncCount]
 
bool m_bEnabled
 

Detailed Description

template<int SyncCount = 4>
class OdGsBaseDeviceMTHelpersTemplate< SyncCount >

Template class for helpers which provide base synchronization routines for device resources access.

Corresponding C++ library: Gs

<group OdGs_Classes>

Definition at line 423 of file GsBaseInclude.h.

Constructor & Destructor Documentation

◆ OdGsBaseDeviceMTHelpersTemplate()

template<int SyncCount = 4>
OdGsBaseDeviceMTHelpersTemplate< SyncCount >::OdGsBaseDeviceMTHelpersTemplate ( )
inline

Definition at line 429 of file GsBaseInclude.h.

Member Function Documentation

◆ check()

template<int SyncCount = 4>
void OdGsBaseDeviceMTHelpersTemplate< SyncCount >::check ( int  nSyncObjects)
inlineprotected

Definition at line 445 of file GsBaseInclude.h.

◆ isEnabled()

template<int SyncCount = 4>
bool OdGsBaseDeviceMTHelpersTemplate< SyncCount >::isEnabled ( ) const
inline

Definition at line 431 of file GsBaseInclude.h.

◆ lock()

template<int SyncCount = 4>
void OdGsBaseDeviceMTHelpersTemplate< SyncCount >::lock ( OdUInt32  nSync)
inline

Definition at line 432 of file GsBaseInclude.h.

◆ setEnabled()

template<int SyncCount = 4>
void OdGsBaseDeviceMTHelpersTemplate< SyncCount >::setEnabled ( bool  bEnable)
inline

Definition at line 430 of file GsBaseInclude.h.

◆ unlock()

template<int SyncCount = 4>
void OdGsBaseDeviceMTHelpersTemplate< SyncCount >::unlock ( OdUInt32  nSync)
inline

Definition at line 438 of file GsBaseInclude.h.

Member Data Documentation

◆ m_bEnabled

template<int SyncCount = 4>
bool OdGsBaseDeviceMTHelpersTemplate< SyncCount >::m_bEnabled
protected

Definition at line 427 of file GsBaseInclude.h.

◆ m_locker

template<int SyncCount = 4>
OdMutexPtr OdGsBaseDeviceMTHelpersTemplate< SyncCount >::m_locker[SyncCount]
protected

Definition at line 426 of file GsBaseInclude.h.


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