RTP Trace System  1.0
Coral::TraceEncoder Class Reference

Trace Encoder. More...

#include <traceencoder.h>

Inheritance diagram for Coral::TraceEncoder:
Coral::TraceEncoderInterface Coral::EncoderInterface

List of all members.

Public Member Functions

 TraceEncoder (TDTFMediaReader *audioReader)
 ~TraceEncoder ()
const card16 getTypeID () const
const char * getTypeName () const
void activate ()
void deactivate ()
void reset ()
bool checkInterval (card64 &time, bool &newRUList)
bool prepareNextFrame (const cardinal headerSize, const cardinal maxPacketSize, const cardinal flags)
cardinal getNextPacket (EncoderPacket *encoderPacket)
AbstractQoSDescriptiongetQoSDescription (const cardinal pktHeaderSize, const cardinal pktMaxSize, const card64 offset)
void updateQuality (const AbstractQoSDescription *aqd)
double getFrameRate () const
void setFrameRate (const double frameRate)
double getWantedUtilization () const
void setWantedUtilization (const double utilization)
int8 getStreamPriority () const
void setStreamPriority (const int8 priority)
int8 getSessionPriority () const
void setSessionPriority (const int8 priority)
double getMaxTransferDelay () const
void setMaxTransferDelay (const double delay)
card32 getFlags () const
void setFlags (const card32 flags)
card64 getMinWantedBandwidth () const
card64 getMaxWantedBandwidth () const
void setMinWantedBandwidth (const card64 bandwidth)
void setMaxWantedBandwidth (const card64 bandwidth)

Public Attributes

double CurrentUtilization
card64 CurrentBandwidth

Private Attributes

TDTFMediaReaderSource
double ManagerFrameRate
double ManagerScaleFactor [RTPConstants::RTPMaxQualityLayers]
cardinal ManagerFrameSizeLimit [RTPConstants::RTPMaxQualityLayers]
double MaxTransferDelay
card64 MinWantedBandwidth
card64 MaxWantedBandwidth
double WantedUtilization
double FrameFrameRate
double FrameUtilization
card64 FramePosition
card64 FrameMaxPosition
card64 FrameBandwidth
card32 FrameFlags
card32 Flags
cardinal FrameSize [RTPConstants::RTPMaxQualityLayers]
cardinal Offset [RTPConstants::RTPMaxQualityLayers]
cardinal FrameID [RTPConstants::RTPMaxQualityLayers]
cardinal Layers
cardinal SendError
card8 ErrorCode
int8 StreamPriority
int8 SessionPriority
bool Scaled
bool Paused

Detailed Description

Trace Encoder.

This class is a trace encoder.

Author:
Thomas Dreibholz
Version:
1.0

Constructor & Destructor Documentation

Constructor for the trace encoder.

Parameters:
traceReaderTDTFReader for the trace input.

Member Function Documentation

bool Coral::TraceEncoder::checkInterval ( card64 time,
bool &  newRUList 
) [virtual]

getFrameRate() implementation of TraceEncoderInterface.

See also:
TraceEncoderInterface::getFrameRate
AbstractQoSDescription * Coral::TraceEncoder::getQoSDescription ( const cardinal  pktHeaderSize,
const cardinal  pktMaxSize,
const card64  offset 
) [virtual]
const char * Coral::TraceEncoder::getTypeName ( ) const [virtual]

getTypeName implementation of EncoderInterface.

See also:
EncoderInterface::getTypeName

Implements Coral::EncoderInterface.

bool Coral::TraceEncoder::prepareNextFrame ( const cardinal  headerSize,
const cardinal  maxPacketSize,
const cardinal  flags 
) [virtual]
void Coral::TraceEncoder::reset ( ) [virtual]
void Coral::TraceEncoder::setFrameRate ( const double  frameRate)

setFrameRate() implementation of TraceEncoderInterface.

See also:
TraceEncoderInterface::setFrameRate
void Coral::TraceEncoder::setMaxTransferDelay ( const double  delay) [virtual]

setMaxTransferDelay() implementation of TraceEncoderInterface.

See also:
TraceEncoderInterface::setMaxWanted

Implements Coral::TraceEncoderInterface.


Member Data Documentation


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines