RTP Trace System  1.0
Coral::TraceEncoderRepository Class Reference

Trace Encoder Repository. More...

#include <traceencoderrepository.h>

Inheritance diagram for Coral::TraceEncoderRepository:
Coral::EncoderRepositoryInterface Coral::TraceEncoderInterface Coral::EncoderInterface Coral::EncoderInterface

List of all members.

Public Member Functions

 TraceEncoderRepository ()
 ~TraceEncoderRepository ()
bool addEncoder (TraceEncoderInterface *encoder)
void removeEncoder (TraceEncoderInterface *encoder)
bool selectEncoderForTypeID (const card16 typeID)
void setAutoDelete (const bool on)
EncoderInterfacegetCurrentEncoder () const
TraceEncoderInterfacegetCurrentTraceEncoder () const
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 position)
void updateQuality (const AbstractQoSDescription *aqd)
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)

Private Attributes

multimap< const card16,
TraceEncoderInterface * > 
TraceEncoderRepository
TraceEncoderInterfaceEncoder
bool AutoDelete

Detailed Description

Trace Encoder Repository.

This class is a repository for trace encoders.

Author:
Thomas Dreibholz
Version:
1.0

Constructor & Destructor Documentation


Member Function Documentation

Add trace encoder to repository.

Parameters:
encoderNew trace encoder to be added.
Returns:
true, if encoder has been added; false, if not.
bool Coral::TraceEncoderRepository::checkInterval ( card64 time,
bool &  newRUList 
) [virtual]
AbstractQoSDescription * Coral::TraceEncoderRepository::getQoSDescription ( const cardinal  pktHeaderSize,
const cardinal  pktMaxSize,
const card64  position 
) [virtual]
const char * Coral::TraceEncoderRepository::getTypeName ( ) const [virtual]

getTypeName implementation of EncoderInterface.

See also:
EncoderInterface::getTypeName

Implements Coral::EncoderInterface.

bool Coral::TraceEncoderRepository::prepareNextFrame ( const cardinal  headerSize,
const cardinal  maxPacketSize,
const cardinal  flags 
) [virtual]

Remove trace encoder from repository.

Parameters:
encoderTrace encoder to be removed.
void Coral::TraceEncoderRepository::setAutoDelete ( const bool  on) [inline]

Set AutoDelete mode. If true, all encoders will be deleted with delete operator by the destructor.

void Coral::TraceEncoderRepository::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