#include <MediaStream.h>
Definition at line 42 of file MediaStream.h.
cmlabs::MediaStream::MediaStream | ( | const JString & | streamname, | |
long | hardMaxSize = -1 , |
|||
long | softMaxSize = -1 , |
|||
long | maxCount = -1 , |
|||
long | maxBackupCount = -1 | |||
) |
Definition at line 29 of file MediaStream.cpp.
cmlabs::MediaStream::~MediaStream | ( | ) | [virtual] |
Definition at line 58 of file MediaStream.cpp.
Object * cmlabs::MediaStream::clone | ( | ) | const [virtual] |
JString cmlabs::MediaStream::print | ( | ) | [virtual] |
bool cmlabs::MediaStream::handleMultipleWriters | ( | bool | allow | ) |
Definition at line 80 of file MediaStream.cpp.
bool cmlabs::MediaStream::addSample | ( | DataSample * | sample | ) |
Definition at line 123 of file MediaStream.cpp.
bool cmlabs::MediaStream::addSamples | ( | ObjectCollection * | samples, | |
bool | deleteCol = true | |||
) |
Definition at line 167 of file MediaStream.cpp.
bool cmlabs::MediaStream::deleteSample | ( | DataSample * | sample | ) |
Definition at line 220 of file MediaStream.cpp.
bool cmlabs::MediaStream::deleteSample | ( | int | pos | ) |
Definition at line 241 of file MediaStream.cpp.
bool cmlabs::MediaStream::deleteSampleAt | ( | const JTime & | time | ) |
Definition at line 330 of file MediaStream.cpp.
bool cmlabs::MediaStream::deleteSamplesOlderThan | ( | const JTime & | time | ) |
Definition at line 353 of file MediaStream.cpp.
bool cmlabs::MediaStream::deleteSamplesNewerThan | ( | const JTime & | time | ) |
Definition at line 369 of file MediaStream.cpp.
Definition at line 385 of file MediaStream.cpp.
long cmlabs::MediaStream::getTotalDataSize | ( | ) |
Definition at line 406 of file MediaStream.cpp.
long cmlabs::MediaStream::getTotalDataMemUse | ( | ) |
Definition at line 440 of file MediaStream.cpp.
int cmlabs::MediaStream::getCount | ( | ) |
Definition at line 457 of file MediaStream.cpp.
double cmlabs::MediaStream::getInputDataRate | ( | ) |
Definition at line 259 of file MediaStream.cpp.
double cmlabs::MediaStream::getOutputDataRate | ( | ) |
Definition at line 301 of file MediaStream.cpp.
double cmlabs::MediaStream::getTotalDataEverHandled | ( | ) |
Definition at line 251 of file MediaStream.cpp.
long cmlabs::MediaStream::getTotalCountEverHandled | ( | ) |
Definition at line 255 of file MediaStream.cpp.
JTime cmlabs::MediaStream::getOldestSampleTime | ( | ) |
Definition at line 493 of file MediaStream.cpp.
JTime cmlabs::MediaStream::getNewestSampleTime | ( | ) |
Definition at line 509 of file MediaStream.cpp.
ObjectCollection * cmlabs::MediaStream::getDataSampleList | ( | ) |
Definition at line 461 of file MediaStream.cpp.
ObjectCollection * cmlabs::MediaStream::getTimestampList | ( | ) |
Definition at line 477 of file MediaStream.cpp.
DataSample * cmlabs::MediaStream::getOldestSample | ( | ) |
Definition at line 525 of file MediaStream.cpp.
DataSample * cmlabs::MediaStream::getNewestSample | ( | ) |
Definition at line 541 of file MediaStream.cpp.
DataSample * cmlabs::MediaStream::getSample | ( | const JString & | id | ) |
Definition at line 558 of file MediaStream.cpp.
DataSample * cmlabs::MediaStream::getSampleAt | ( | const JTime & | time | ) |
Definition at line 581 of file MediaStream.cpp.
DataSample * cmlabs::MediaStream::getFirstSampleAfter | ( | const JString & | id | ) |
Definition at line 600 of file MediaStream.cpp.
DataSample * cmlabs::MediaStream::getFirstSampleAfter | ( | const JTime & | time | ) |
Definition at line 624 of file MediaStream.cpp.
DataSample * cmlabs::MediaStream::getLastSampleBefore | ( | const JTime & | time | ) |
Definition at line 641 of file MediaStream.cpp.
ObjectCollection * cmlabs::MediaStream::getSamplesBetween | ( | const JTime & | fromTime, | |
const JTime & | toTime | |||
) |
Definition at line 658 of file MediaStream.cpp.
DataSample * cmlabs::MediaStream::waitForFirstSampleAfter | ( | const JTime & | time, | |
long | ms | |||
) |
Definition at line 691 of file MediaStream.cpp.
DataSample * cmlabs::MediaStream::waitForLastSampleAfter | ( | const JTime & | time, | |
long | ms | |||
) |
Definition at line 712 of file MediaStream.cpp.
DataSample * cmlabs::MediaStream::waitForFirstSampleAfter | ( | const JString & | id, | |
long | ms | |||
) |
Definition at line 746 of file MediaStream.cpp.
DataSample * cmlabs::MediaStream::waitForLastSampleAfter | ( | const JString & | id, | |
long | ms | |||
) |
Definition at line 765 of file MediaStream.cpp.
Definition at line 860 of file MediaStream.cpp.
bool cmlabs::MediaStream::destroyChannel | ( | const JString & | name | ) |
Definition at line 869 of file MediaStream.cpp.
ObjectCollection * cmlabs::MediaStream::searchChannel | ( | const JString & | name, | |
double | val1, | |||
double | val2 | |||
) |
Definition at line 877 of file MediaStream.cpp.
InfoItem * cmlabs::MediaStream::getInfo | ( | ) |
Definition at line 85 of file MediaStream.cpp.
bool cmlabs::MediaStream::doMaintenance | ( | ) |
Definition at line 787 of file MediaStream.cpp.
bool cmlabs::MediaStream::addChannelSample | ( | DataSample * | sample | ) | [protected] |
Definition at line 901 of file MediaStream.cpp.
bool cmlabs::MediaStream::removeChannelSample | ( | DataSample * | sample | ) | [protected] |
Definition at line 924 of file MediaStream.cpp.
ObjectTable cmlabs::MediaStream::dataSamples [protected] |
Definition at line 107 of file MediaStream.h.
JTime cmlabs::MediaStream::lastAccessTime [protected] |
Definition at line 108 of file MediaStream.h.
ObjectCollection cmlabs::MediaStream::deletedSamples [protected] |
Definition at line 109 of file MediaStream.h.
Dictionary cmlabs::MediaStream::channelNames [protected] |
Definition at line 111 of file MediaStream.h.
ObjectDictionary cmlabs::MediaStream::channels [protected] |
Definition at line 112 of file MediaStream.h.
JSemaphore cmlabs::MediaStream::newDataSem [protected] |
Definition at line 114 of file MediaStream.h.
JMutex cmlabs::MediaStream::accessMutex [protected] |
Definition at line 115 of file MediaStream.h.
JString cmlabs::MediaStream::name [protected] |
Definition at line 117 of file MediaStream.h.
long cmlabs::MediaStream::softMax [protected] |
Definition at line 118 of file MediaStream.h.
long cmlabs::MediaStream::hardMax [protected] |
Definition at line 119 of file MediaStream.h.
long cmlabs::MediaStream::maxCount [protected] |
Definition at line 120 of file MediaStream.h.
long cmlabs::MediaStream::maxBackupCount [protected] |
Definition at line 121 of file MediaStream.h.
long cmlabs::MediaStream::currentSize [protected] |
Definition at line 122 of file MediaStream.h.
bool cmlabs::MediaStream::allowMultipleWriters [protected] |
Definition at line 124 of file MediaStream.h.
double cmlabs::MediaStream::bytesEverHandled [protected] |
Definition at line 125 of file MediaStream.h.
long cmlabs::MediaStream::countEverHandled [protected] |
Definition at line 126 of file MediaStream.h.
ObjectTable cmlabs::MediaStream::outputData [protected] |
Definition at line 127 of file MediaStream.h.