#include <BinaryBuffer.h>
Public Member Functions | |
BinaryBuffer (long size=100) | |
virtual | ~BinaryBuffer () |
bool | addEntry (JTime stamp, JString source, JString datatype, Object *obj) |
bool | reset () |
bool | deleteAll () |
Object * | clone () const |
JString | print () |
JString | printLast () |
BinaryBufferEntry * | getLastEntry () |
BinaryBufferEntry * | waitForNextEntryAfter (JTime t, long ms=1000) |
BinaryBufferEntry * | getNextEntryAfter (JTime t) |
Public Attributes | |
long | count |
long | buffersize |
Protected Member Functions | |
JString | print (BinaryBufferEntry *entry) |
bool | checkInUseTable () |
Protected Attributes | |
ObjectCollection * | inUseTable |
JMutex | mutex |
BinaryBufferEntry * | first |
BinaryBufferEntry * | last |
BinaryBufferEntry * | current |
Definition at line 60 of file BinaryBuffer.h.
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.
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] |
JString cmlabs::BinaryBuffer::print | ( | ) | [virtual] |
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.
Definition at line 79 of file BinaryBuffer.h.
Definition at line 80 of file BinaryBuffer.h.
ObjectCollection* cmlabs::BinaryBuffer::inUseTable [protected] |
Definition at line 84 of file BinaryBuffer.h.
JMutex cmlabs::BinaryBuffer::mutex [protected] |
Definition at line 86 of file BinaryBuffer.h.
BinaryBufferEntry* cmlabs::BinaryBuffer::first [protected] |
Definition at line 88 of file BinaryBuffer.h.
BinaryBufferEntry* cmlabs::BinaryBuffer::last [protected] |
Definition at line 89 of file BinaryBuffer.h.
BinaryBufferEntry* cmlabs::BinaryBuffer::current [protected] |
Definition at line 90 of file BinaryBuffer.h.