class TraceDecoderRepository

Trace Decoder Repository. More...

Full nameCoral::TraceDecoderRepository
Definition#include <tracedecoderrepository.h>
InheritsCoral::DecoderRepositoryInterface [virtual public], Coral::TraceDecoderInterface [virtual public]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods


Detailed Description

This class is a repository for trace decoders.

 TraceDecoderRepository ()

Constructor.

TraceDecoderRepository ()

Destructor.

bool  addDecoder (TraceDecoderInterface* decoder)

Add trace decoder to repository.

Parameters:
decoderNew trace decoder to be added.

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

void  removeDecoder (TraceDecoderInterface* decoder)

Remove trace decoder from repository.

Parameters:
decoderTrace decoder to be removed.

bool  selectDecoderForTypeID (const card16 typeID)

selectDecoderForTypeID() implementation of DecoderRepositoryInterface.

Reimplemented from DecoderRepositoryInterface.

inline void  setAutoDelete (const bool on)

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

DecoderInterface*  getCurrentDecoder ()

[const]

getCurrentDecoder() implementation of DecoderRepositoryInterface.

Reimplemented from DecoderRepositoryInterface.

TraceDecoderInterface*  getCurrentTraceDecoder ()

[const]

Get TraceDecoderInterface of the current decoder.

Returns: Current decoder's TraceDecoderInterface.

const card16  getTypeID ()

[const]

getTypeID() implementation of DecoderInterface.

Reimplemented from DecoderInterface.

const char*  getTypeName ()

[const]

getTypeName implementation of DecoderInterface.

Reimplemented from DecoderInterface.

void  activate ()

activate() implementation of DecoderInterface.

Reimplemented from DecoderInterface.

void  deactivate ()

deactivate() implementation of DecoderInterface.

Reimplemented from DecoderInterface.

void  reset ()

reset() implementation of DecoderInterface.

Reimplemented from DecoderInterface.

void  getMediaInfo (MediaInfo& mediaInfo)

[const]

getMediaInfo() implementation of DecoderInterface.

Reimplemented from DecoderInterface.

card8  getErrorCode ()

[const]

getErrorCode() implementation of DecoderInterface.

Reimplemented from DecoderInterface.

card64  getPosition ()

[const]

getPosition() implementation of DecoderInterface.

Reimplemented from DecoderInterface.

card64  getMaxPosition ()

[const]

getMaxPosition() implementation of DecoderInterface.

Reimplemented from DecoderInterface.

bool  checkNextPacket (DecoderPacket* decoderPacket)

checkNextPacket() implementation of DecoderInterface.

Reimplemented from DecoderInterface.

void  handleNextPacket (const DecoderPacket* decoderPacket)

handleNextPacket() implementation of DecoderInterface.

Reimplemented from DecoderInterface.

double  getFrameRate ()

[const]

getFrameRate() implementation of TraceEncoderInterface.

Reimplemented from TraceDecoderInterface.

double  getUtilization ()

[const]

getUtilization() implementation of TraceEncoderInterface.

Reimplemented from TraceDecoderInterface.

Range<cardinal>  getBandwidth ()

[const]

getBandwidth() implementation of TraceEncoderInterface.

Reimplemented from TraceDecoderInterface.

int8  getStreamPriority ()

[const]

getStreamPriority() implementation of TraceEncoderInterface.

Reimplemented from TraceDecoderInterface.

int8  getSessionPriority ()

[const]

getSessionPriority() implementation of TraceEncoderInterface.

Reimplemented from TraceDecoderInterface.