class TraceEncoderRepository

Trace Encoder Repository. More...

Full nameCoral::TraceEncoderRepository
Definition#include <traceencoderrepository.h>
InheritsCoral::EncoderRepositoryInterface [virtual public], Coral::TraceEncoderInterface [virtual public]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods


Detailed Description

This class is a repository for trace encoders.

 TraceEncoderRepository ()

Constructor.

TraceEncoderRepository ()

Destructor.

bool  addEncoder (TraceEncoderInterface* encoder)

Add trace encoder to repository.

Parameters:
encoderNew trace encoder to be added.

Returns: true, if encoder has been added; false, if not.

void  removeEncoder (TraceEncoderInterface* encoder)

Remove trace encoder from repository.

Parameters:
encoderTrace encoder to be removed.

bool  selectEncoderForTypeID (const card16 typeID)

selectEncoderForTypeID() implementation of EncoderRepositoryInterface.

Reimplemented from EncoderRepositoryInterface.

inline void  setAutoDelete (const bool on)

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

EncoderInterface*  getCurrentEncoder ()

[const]

getCurrentEncoder() implementation of EncoderRepositoryInterface.

Reimplemented from EncoderRepositoryInterface.

TraceEncoderInterface*  getCurrentTraceEncoder ()

[const]

Get TraceEncoderInterface of the current encoder.

Returns: Current encoder's TraceEncoderInterface.

const card16  getTypeID ()

[const]

getTypeID() implementation of EncoderInterface.

Reimplemented from EncoderInterface.

const char*  getTypeName ()

[const]

getTypeName implementation of EncoderInterface.

Reimplemented from EncoderInterface.

void  activate ()

activate() implementation of EncoderInterface.

Reimplemented from EncoderInterface.

void  deactivate ()

deactivate() implementation of EncoderInterface.

Reimplemented from EncoderInterface.

void  reset ()

reset() implementation of EncoderInterface.

Reimplemented from EncoderInterface.

card64  checkInterval ()

checkInterval() implementation of EncoderInterface.

Reimplemented from EncoderInterface.

bool  prepareNextFrame (const cardinal headerSize, const cardinal maxPacketSize, const cardinal flags)

prepareNextFrame() implementation of EncoderInterface.

Reimplemented from EncoderInterface.

cardinal  getNextPacket (EncoderPacket* encoderPacket)

getNextPacket() implementation of EncoderInterface.

Reimplemented from EncoderInterface.

AbstractQoSDescription*  getQoSDescription (const cardinal pktHeaderSize, const cardinal pktMaxSize, const card64 position)

getQoSDescription() implementation of EncoderInterface.

Reimplemented from EncoderInterface.

void  updateQuality (const AbstractQoSDescription* aqd)

updateQuality() implementation of EncoderInterface.

Reimplemented from EncoderInterface.

double  getWantedUtilization ()

[const]

getWantedUtilization() implementation of TraceEncoderInterface.

Reimplemented from TraceEncoderInterface.

void  setWantedUtilization (const double utilization)

setWantedUtilization() implementation of TraceEncoderInterface.

Reimplemented from TraceEncoderInterface.

int8  getStreamPriority ()

[const]

getStreamPriority() implementation of TraceEncoderInterface.

Reimplemented from TraceEncoderInterface.

void  setStreamPriority (const int8 priority)

setStreamPriority() implementation of TraceEncoderInterface.

Reimplemented from TraceEncoderInterface.

double  getMaxWantedDelay ()

[const]

getMaxWantedDelay() implementation of TraceEncoderInterface.

Reimplemented from TraceEncoderInterface.

void  setMaxWantedDelay (const double delay)

setMaxWantedDelay() implementation of TraceEncoderInterface.

Reimplemented from TraceEncoderInterface.

cardinal  getMinWantedBandwidth ()

[const]

getMinWantedBandwidth() implementation of TraceEncoderInterface.

Reimplemented from TraceEncoderInterface.

cardinal  getMaxWantedBandwidth ()

[const]

getMaxWantedBandwidth() implementation of TraceEncoderInterface.

Reimplemented from TraceEncoderInterface.

void  setMinWantedBandwidth (const cardinal bandwidth)

setMinWantedBandwidth() implementation of TraceEncoderInterface.

Reimplemented from TraceEncoderInterface.

void  setMaxWantedBandwidth (const cardinal bandwidth)

setMaxWantedBandwidth() implementation of TraceEncoderInterface.

Reimplemented from TraceEncoderInterface.