CFx SDK Documentation 2024 SP0
|
#include <RxThreadPoolService.h>
Additional Inherited Members | |
Public Types inherited from OdArray< OdApcQueueHelper > | |
using | size_type = typename A::size_type |
using | iterator = OdApcQueueHelper * |
using | const_iterator = const OdApcQueueHelper * |
using | value_type = OdApcQueueHelper |
using | const_reference = const OdApcQueueHelper & |
using | reference = OdApcQueueHelper & |
using | ConstForPtrT = typename std::conditional< std::is_pointer< OdApcQueueHelper >::value, typename std::add_const< typename std::remove_pointer< OdApcQueueHelper >::type >::type *, OdApcQueueHelper >::type |
Static Public Member Functions inherited from OdArray< OdApcQueueHelper > | |
static OdArray< OdApcQueueHelper, A > | create (OdApcQueueHelper *sourceArray, int sourceLength) |
Corresponding C++ library: TD_DbRoot <group OdApc_Classes> class OdApcDataReadWriteDispatcherHelper : public OdSmartPtr<OdApcDataReadWriteDispatcher> { public: OdApcDataReadWriteDispatcherHelper( ) {} OdApcDataReadWriteDispatcherHelper( const OdApcDataReadWriteDispatcher* pObject, OdRxObjMod m ) : OdSmartPtr<OdApcDataReadWriteDispatcher>( pObject, m ) {} OdApcDataReadWriteDispatcherHelper( const OdApcDataReadWriteDispatcher* pObject ) : OdSmartPtr<OdApcDataReadWriteDispatcher>( pObject ) {} OdApcDataReadWriteDispatcherHelper( const OdRxObject* pObject ) : OdSmartPtr<OdApcDataReadWriteDispatcher>( pObject ) {} OdApcDataReadWriteDispatcherHelper( OdRxObject* pObject, OdRxObjMod m ) : OdSmartPtr<OdApcDataReadWriteDispatcher>( pObject, m ) {} OdApcDataReadWriteDispatcherHelper( const OdSmartPtr<OdApcDataReadWriteDispatcher>& pObject ) : OdSmartPtr<OdApcDataReadWriteDispatcher>( pObject ) {} OdApcDataReadWriteDispatcherHelper( const OdRxObjectPtr& pObject ) : OdSmartPtr<OdApcDataReadWriteDispatcher>( pObject ) {} OdApcDataReadWriteDispatcherHelper( const OdBaseObjectPtr& pObject ) : OdSmartPtr<OdApcDataReadWriteDispatcher>( pObject ) {}
using OdSmartPtr<OdApcDataReadWriteDispatcher>::operator =;
void init( OdRxThreadPoolService* pThreadPool ) { this = pThreadPool ? pThreadPool->newDataReadWriteDispatcher().get() : 0; }
void enter() { if( m_pObject ) { get()->enter(); } }
void leave() { if( m_pObject ) { get()->leave(); } }
void lock() { if( m_pObject ) { get()->lock(); } }
void unlock() { if( m_pObject ) { get()->unlock(); } }
void lockFromInside() { if( m_pObject ) { get()->lockFromInside(); } }
void unlockFromInside() { if( m_pObject ) { get()->unlockFromInside(); } } };
class OdReadWriteDispatcherAutoPass { public: OdReadWriteDispatcherAutoPass( OdApcDataReadWriteDispatcherHelper& lock ) : m_lock( lock ) { m_lock.enter(); } ~OdReadWriteDispatcherAutoPass() { m_lock.leave(); } private: OdApcDataReadWriteDispatcherHelper& m_lock; };
class OdReadWriteDispatcherAutoLock { public: OdReadWriteDispatcherAutoLock( OdApcDataReadWriteDispatcherHelper& lock ) : m_lock( lock ) { m_lock.lock(); } ~OdReadWriteDispatcherAutoLock() { m_lock.unlock(); } private: OdApcDataReadWriteDispatcherHelper& m_lock; };
class OdReadWriteDispatcherAutoLockFromInside { public: OdReadWriteDispatcherAutoLockFromInside( OdApcDataReadWriteDispatcherHelper& lock ) : m_lock( lock ) { m_lock.lockFromInside(); } ~OdReadWriteDispatcherAutoLockFromInside() { m_lock.unlockFromInside(); } private: OdApcDataReadWriteDispatcherHelper& m_lock; };
Corresponding C++ library: TD_DbRoot <group OdApc_Classes>
Definition at line 700 of file RxThreadPoolService.h.
|
inline |
Definition at line 702 of file RxThreadPoolService.h.
|
inline |
Definition at line 710 of file RxThreadPoolService.h.