37 , m_pObserver( pFrameObserver )
38 , m_pMutex( new
Mutex() )
69 if ( NULL != pVmbFrame )
72 if ( NULL != pFrameHandler)
79 IFrameObserverPtr pObs;
90 LOG_FREE_TEXT(
"Could not lock frame handler. Skipping frame." )
95 LOG_FREE_TEXT(
"No frame handler passed. Frame has been removed from the frame queue." )
100 LOG_FREE_TEXT(
"Received callback for already freed frame." )
bool EnterWriteLock(BasicLockable &rLockable, bool bExclusive=false)
NetPointer< Frame, AVT::VmbAPINET::Frame > FramePtr
static void VMB_CALL FrameDoneCallback(const VmbHandle_t handle, VmbFrame_t *pFrame)
void ExitWriteLock(BasicLockable &rLockable)
#define LOG_FREE_TEXT(txt)
bool EnterWriteLock(bool bExclusive=false)
FramePtr GetFrame() const
void ExitReadLock(BasicLockable &rLockable)
bool EnterReadLock(BasicLockable &rLockable)
FrameHandler(FramePtr pFrame, IFrameObserverPtr pFrameObserver)
ConditionHelper m_conditionHelper