cmlabs::BinaryBuffer Class Reference

#include <BinaryBuffer.h>

Inheritance diagram for cmlabs::BinaryBuffer:

Inheritance graph
[legend]
Collaboration diagram for cmlabs::BinaryBuffer:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 BinaryBuffer (long size=100)
virtual ~BinaryBuffer ()
bool addEntry (JTime stamp, JString source, JString datatype, Object *obj)
bool reset ()
bool deleteAll ()
Objectclone () const
JString print ()
JString printLast ()
BinaryBufferEntrygetLastEntry ()
BinaryBufferEntrywaitForNextEntryAfter (JTime t, long ms=1000)
BinaryBufferEntrygetNextEntryAfter (JTime t)

Public Attributes

long count
long buffersize

Protected Member Functions

JString print (BinaryBufferEntry *entry)
bool checkInUseTable ()

Protected Attributes

ObjectCollectioninUseTable
JMutex mutex
BinaryBufferEntryfirst
BinaryBufferEntrylast
BinaryBufferEntrycurrent


Detailed Description

Definition at line 60 of file BinaryBuffer.h.


Constructor & Destructor Documentation

cmlabs::BinaryBuffer::BinaryBuffer ( long  size = 100  ) 

Definition at line 34 of file BinaryBuffer.cpp.

cmlabs::BinaryBuffer::~BinaryBuffer (  )  [virtual]

Definition at line 41 of file BinaryBuffer.cpp.


Member Function Documentation

bool cmlabs::BinaryBuffer::addEntry ( JTime  stamp,
JString  source,
JString  datatype,
Object obj 
)

Definition at line 49 of file BinaryBuffer.cpp.

bool cmlabs::BinaryBuffer::reset (  ) 

Definition at line 171 of file BinaryBuffer.cpp.

bool cmlabs::BinaryBuffer::deleteAll (  ) 

Definition at line 178 of file BinaryBuffer.cpp.

Object* cmlabs::BinaryBuffer::clone (  )  const [virtual]

Implements cmlabs::Object.

Definition at line 70 of file BinaryBuffer.h.

JString cmlabs::BinaryBuffer::print (  )  [virtual]

Reimplemented from cmlabs::Object.

Definition at line 207 of file BinaryBuffer.cpp.

JString cmlabs::BinaryBuffer::printLast (  ) 

Definition at line 211 of file BinaryBuffer.cpp.

BinaryBufferEntry * cmlabs::BinaryBuffer::getLastEntry (  ) 

Definition at line 113 of file BinaryBuffer.cpp.

BinaryBufferEntry * cmlabs::BinaryBuffer::waitForNextEntryAfter ( JTime  t,
long  ms = 1000 
)

Definition at line 124 of file BinaryBuffer.cpp.

BinaryBufferEntry * cmlabs::BinaryBuffer::getNextEntryAfter ( JTime  t  ) 

Definition at line 147 of file BinaryBuffer.cpp.

JString cmlabs::BinaryBuffer::print ( BinaryBufferEntry entry  )  [protected]

Definition at line 215 of file BinaryBuffer.cpp.

bool cmlabs::BinaryBuffer::checkInUseTable (  )  [protected]

Definition at line 236 of file BinaryBuffer.cpp.


Member Data Documentation

Definition at line 79 of file BinaryBuffer.h.

Definition at line 80 of file BinaryBuffer.h.

Definition at line 84 of file BinaryBuffer.h.

Definition at line 86 of file BinaryBuffer.h.

Definition at line 88 of file BinaryBuffer.h.

Definition at line 89 of file BinaryBuffer.h.

Definition at line 90 of file BinaryBuffer.h.


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

Generated on Tue Jul 7 16:22:32 2009 for CoreLibrary by  doxygen 1.5.6