RTP Trace System  1.0
Coral::TraceDecoderRepository Class Reference

Trace Decoder Repository. More...

#include <tracedecoderrepository.h>

Inheritance diagram for Coral::TraceDecoderRepository:
Coral::DecoderRepositoryInterface Coral::TraceDecoderInterface Coral::DecoderInterface Coral::DecoderInterface

List of all members.

Public Member Functions

 TraceDecoderRepository ()
 ~TraceDecoderRepository ()
bool addDecoder (TraceDecoderInterface *decoder)
void removeDecoder (TraceDecoderInterface *decoder)
bool selectDecoderForTypeID (const card16 typeID)
void setAutoDelete (const bool on)
DecoderInterfacegetCurrentDecoder () const
TraceDecoderInterfacegetCurrentTraceDecoder () const
const card16 getTypeID () const
const char * getTypeName () const
void activate ()
void deactivate ()
void reset ()
void getMediaInfo (MediaInfo &mediaInfo) const
card8 getErrorCode () const
card64 getPosition () const
card64 getMaxPosition () const
bool checkNextPacket (DecoderPacket *decoderPacket)
void handleNextPacket (const DecoderPacket *decoderPacket)
double getFrameRate () const
double getUtilization () const
card32 getFlags () const
Range< card64getBandwidth () const
int8 getStreamPriority () const
int8 getSessionPriority () const

Private Attributes

multimap< const card16,
TraceDecoderInterface * > 
TraceDecoderRepository
TraceDecoderInterfaceDecoder
bool AutoDelete

Detailed Description

Trace Decoder Repository.

This class is a repository for trace decoders.

Author:
Thomas Dreibholz
Version:
1.0

Constructor & Destructor Documentation


Member Function Documentation

Add trace decoder to repository.

Parameters:
decoderNew trace decoder to be added.
Returns:
true, if decoder has been added; false, if not.

getBandwidth() implementation of TraceEncoderInterface.

See also:
TraceEncoderInterface::getBandwidth

Implements Coral::TraceDecoderInterface.

double Coral::TraceDecoderRepository::getFrameRate ( ) const [virtual]

getFrameRate() implementation of TraceEncoderInterface.

See also:
TraceEncoderInterface::getFrameRate

Implements Coral::TraceDecoderInterface.

const char * Coral::TraceDecoderRepository::getTypeName ( ) const [virtual]

getTypeName implementation of DecoderInterface.

See also:
DecoderInterface::getTypeName

Implements Coral::DecoderInterface.

getUtilization() implementation of TraceEncoderInterface.

See also:
TraceEncoderInterface::getUtilization

Implements Coral::TraceDecoderInterface.

Remove trace decoder from repository.

Parameters:
decoderTrace decoder to be removed.
void Coral::TraceDecoderRepository::setAutoDelete ( const bool  on) [inline]

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


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