RTP Trace System
1.0
|
Public Member Functions | |
SimulatorTask (BandwidthManager *bwManager, ServiceLevelAgreement *sla) | |
~SimulatorTask () | |
bool | open (const char *name, const cardinal headerSize, const cardinal maxPacketSize) |
void | close () |
AbstractQoSDescription * | getQoSDescription (const card64 offset) |
void | updateQuality (const AbstractQoSDescription *aqd) |
void | lock () |
void | unlock () |
cardinal | nextStep () |
Public Attributes | |
double | FrameRate |
TDTFMediaReader | Reader |
TraceEncoder * | Encoder |
BandwidthManager * | BandwidthMgr |
ServiceLevelAgreement * | SLA |
cardinal | Layers |
card64 | TotalBandwidth |
card64 | TotalBandwidthDelay1 |
card64 | Bandwidth [RTPConstants::RTPMaxQualityLayers] |
card64 | BandwidthDelay1 [RTPConstants::RTPMaxQualityLayers] |
double | BufferDelayMS [RTPConstants::RTPMaxQualityLayers] |
cardinal | BufferDelay [RTPConstants::RTPMaxQualityLayers] |
card8 | TrafficClass [RTPConstants::RTPMaxQualityLayers] |
TrafficPolicer | Policer [RTPConstants::RTPMaxQualityLayers] |
cardinal | Flushes |
cardinal | SessionID |
cardinal | StreamID |
double | CostFactor [TrafficClassValues::MaxValues] |
card64 | Sent [TrafficClassValues::MaxValues] |
cardinal | HeaderSize |
cardinal | MaxPacketSize |
Static Public Attributes | |
static card64 | SimulatorTime = 1000000000 |
Private Member Functions | |
cardinal | handleNextFrame () |
Private Attributes | |
card64 | LastCall |
SimulatorTask::SimulatorTask | ( | BandwidthManager * | bwManager, |
ServiceLevelAgreement * | sla | ||
) |
Constructor.
Destructor.
void SimulatorTask::close | ( | ) |
Close stream.
AbstractQoSDescription * SimulatorTask::getQoSDescription | ( | const card64 | offset | ) | [virtual] |
Implementation of ManagedStreamInterface's getQoSDescription().
Implements Coral::ManagedStreamInterface.
cardinal SimulatorTask::handleNextFrame | ( | ) | [private] |
void SimulatorTask::lock | ( | ) | [virtual] |
Implementation of ManagedStreamInterface's lock().
Implements Coral::ManagedStreamInterface.
Do next simulation step.
bool SimulatorTask::open | ( | const char * | name, |
const cardinal | headerSize, | ||
const cardinal | maxPacketSize | ||
) |
Open stream.
name | TDTF file name. |
headerSize | Packet header size. |
maxPacketSize | Maximum packet size (e.g. 1500 for ethernet). |
void SimulatorTask::unlock | ( | ) | [virtual] |
Implementation of ManagedStreamInterface's unlock().
Implements Coral::ManagedStreamInterface.
void SimulatorTask::updateQuality | ( | const AbstractQoSDescription * | aqd | ) | [virtual] |
Implementation of ManagedStreamInterface's updateQuality().
Implements Coral::ManagedStreamInterface.
card64 SimulatorTask::Bandwidth[RTPConstants::RTPMaxQualityLayers] |
card64 SimulatorTask::BandwidthDelay1[RTPConstants::RTPMaxQualityLayers] |
cardinal SimulatorTask::BufferDelay[RTPConstants::RTPMaxQualityLayers] |
double SimulatorTask::BufferDelayMS[RTPConstants::RTPMaxQualityLayers] |
double SimulatorTask::CostFactor[TrafficClassValues::MaxValues] |
double SimulatorTask::FrameRate |
card64 SimulatorTask::LastCall [private] |
TrafficPolicer SimulatorTask::Policer[RTPConstants::RTPMaxQualityLayers] |
card64 SimulatorTask::Sent[TrafficClassValues::MaxValues] |
card64 SimulatorTask::SimulatorTime = 1000000000 [static] |
card8 SimulatorTask::TrafficClass[RTPConstants::RTPMaxQualityLayers] |