NSAcqiris::DigitizerDataPool Class Reference

#include <acqiris_thread.h>

Collaboration diagram for NSAcqiris::DigitizerDataPool:

Collaboration graph

List of all members.

Public Member Functions

DigitizerDatagetData (int ch, int seg, int dS, int dB)
void deleteData (DigitizerData *data)
void houseKeeping (int size_to_preserve, int amount_to_preserve=10)

Static Public Member Functions

static DigitizerDataPoolthe ()

Private Member Functions

 DigitizerDataPool ()
 ~DigitizerDataPool ()

Private Attributes

QMultiMap< int, DigitizerData * > _pool
QReadWriteLock * _poolLock
QSemaphore _poolSemaphore
int _last_used_size

Constructor & Destructor Documentation

NSAcqiris::DigitizerDataPool::DigitizerDataPool (  )  [inline, private]

Referenced by the().

NSAcqiris::DigitizerDataPool::~DigitizerDataPool (  )  [inline, private]

References _poolLock.

Member Function Documentation

static DigitizerDataPool* NSAcqiris::DigitizerDataPool::the (  )  [inline, static]

DigitizerData* NSAcqiris::DigitizerDataPool::getData ( int  ch,
int  seg,
int  dS,
int  dB 
) [inline]

void NSAcqiris::DigitizerDataPool::deleteData ( DigitizerData data  )  [inline]

void NSAcqiris::DigitizerDataPool::houseKeeping ( int  size_to_preserve,
int  amount_to_preserve = 10 
) [inline]

Member Data Documentation


Referenced by deleteData(), getData(), and houseKeeping().

QReadWriteLock* NSAcqiris::DigitizerDataPool::_poolLock [private]

Referenced by deleteData(), getData(), and the().


Referenced by getData().

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

Generated on Tue Apr 12 02:10:22 2011 for epos by  doxygen 1.5.5