Operator Console
|
a buffer class where all access (read or write) to the buffer is protected by critical sections More...
#include <CriticalBuf.h>
Public Member Functions | |
CriticalBuf (void) | |
~CriticalBuf (void) | |
void | Get (void *buf) |
void | Set (void *buf) |
bool | Init (unsigned int bufLen) |
CriticalBuf (void) | |
~CriticalBuf (void) | |
void | Get (void *buf) |
void | Set (void *buf) |
bool | Init (unsigned int bufLen) |
Private Attributes | |
byte * | m_buf |
pointer to the buffer More... | |
unsigned int | m_bufLen |
length of m_buf in bytes More... | |
a buffer class where all access (read or write) to the buffer is protected by critical sections
CriticalBuf::~CriticalBuf | ( | void | ) |
References m_buf.
CriticalBuf::CriticalBuf | ( | void | ) |
CriticalBuf::~CriticalBuf | ( | void | ) |
void CriticalBuf::Get | ( | void * | buf | ) |
References m_buf, and m_bufLen.
Referenced by ImageAcquisition::GetFrame().
void CriticalBuf::Get | ( | void * | buf | ) |
bool CriticalBuf::Init | ( | unsigned int | bufLen | ) |
bool CriticalBuf::Init | ( | unsigned int | bufLen | ) |
References m_buf, and m_bufLen.
Referenced by ImageAcquisition::Init().
void CriticalBuf::Set | ( | void * | buf | ) |
References m_buf, and m_bufLen.
Referenced by ImageAcquisition::ThreadProc().
void CriticalBuf::Set | ( | void * | buf | ) |
|
private |
pointer to the buffer
Referenced by CriticalBuf(), Get(), Init(), Set(), and ~CriticalBuf().
|
private |
length of m_buf in bytes
Referenced by CriticalBuf(), Get(), Init(), and Set().