CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Classes | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
OdGsBaseDeviceMTHelpersTemplate< SyncCount > Class Template Reference

#include <GsBaseInclude.h>

Inheritance diagram for OdGsBaseDeviceMTHelpersTemplate< SyncCount >:
OdGsBaseDeviceMTHelpers

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 502 of file GsBaseInclude.h.

Constructor & Destructor Documentation

◆ OdGsBaseDeviceMTHelpersTemplate()

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

Definition at line 508 of file GsBaseInclude.h.

Member Function Documentation

◆ check()

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

Definition at line 524 of file GsBaseInclude.h.

◆ isEnabled()

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

Definition at line 510 of file GsBaseInclude.h.

◆ lock()

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

Definition at line 511 of file GsBaseInclude.h.

◆ setEnabled()

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

Definition at line 509 of file GsBaseInclude.h.

◆ unlock()

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

Definition at line 517 of file GsBaseInclude.h.

Member Data Documentation

◆ m_bEnabled

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

Definition at line 506 of file GsBaseInclude.h.

◆ m_locker

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

Definition at line 505 of file GsBaseInclude.h.


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