OpenCSD - CoreSight Trace Decode Library  1.3.3
Public Member Functions | List of all members
IDecoderMngr Class Referenceabstract

#include <ocsd_dcd_mngr_i.h>

Inheritance diagram for IDecoderMngr:
Inheritance graph
[legend]

Public Member Functions

 IDecoderMngr ()
 
virtual ~IDecoderMngr ()
 
virtual ocsd_err_t createDecoder (const int create_flags, const int instID, const CSConfig *p_config, TraceComponent **ppComponent)=0
 
virtual ocsd_err_t destroyDecoder (TraceComponent *pComponent)=0
 
virtual const ocsd_trace_protocol_t getProtocolType () const =0
 Get the built in protocol type ID managed by this instance - extern for custom decoders. More...
 
virtual ocsd_err_t attachErrorLogger (TraceComponent *pComponent, ITraceErrorLog *pIErrorLog)=0
 attach error logger to ptk-processor, or both of pkt processor and pkt decoder pair More...
 
virtual ocsd_err_t attachInstrDecoder (TraceComponent *pComponent, IInstrDecode *pIInstrDec)=0
 attach instruction decoder to pkt decoder More...
 
virtual ocsd_err_t attachMemAccessor (TraceComponent *pComponent, ITargetMemAccess *pMemAccessor)=0
 attach memory accessor to pkt decoder More...
 
virtual ocsd_err_t attachOutputSink (TraceComponent *pComponent, ITrcGenElemIn *pOutSink)=0
 attach generic output interface to pkt decoder More...
 
virtual ocsd_err_t attachPktMonitor (TraceComponent *pComponent, ITrcTypedBase *pPktRawDataMon)=0
 attach a raw packet monitor to pkt processor (solo pkt processor, or pkt processor part of pair) More...
 
virtual ocsd_err_t attachPktIndexer (TraceComponent *pComponent, ITrcTypedBase *pPktIndexer)=0
 attach a packet indexer to pkt processor (solo pkt processor, or pkt processor part of pair) More...
 
virtual ocsd_err_t attachPktSink (TraceComponent *pComponent, ITrcTypedBase *pPktDataInSink)=0
 attach a packet data sink to pkt processor output (solo pkt processor only - instead of decoder when pkt processor only created.) More...
 
virtual ocsd_err_t getDataInputI (TraceComponent *pComponent, ITrcDataIn **ppDataIn)=0
 get raw data input interface from packet processor More...
 
virtual ocsd_err_t createConfigFromDataStruct (CSConfig **pConfigBase, const void *pDataStruct)=0
 

Detailed Description

Definition at line 49 of file ocsd_dcd_mngr_i.h.

Constructor & Destructor Documentation

◆ IDecoderMngr()

IDecoderMngr::IDecoderMngr ( )
inline

Definition at line 52 of file ocsd_dcd_mngr_i.h.

◆ ~IDecoderMngr()

virtual IDecoderMngr::~IDecoderMngr ( )
inlinevirtual

Definition at line 53 of file ocsd_dcd_mngr_i.h.

Member Function Documentation

◆ attachErrorLogger()

virtual ocsd_err_t IDecoderMngr::attachErrorLogger ( TraceComponent pComponent,
ITraceErrorLog pIErrorLog 
)
pure virtual

attach error logger to ptk-processor, or both of pkt processor and pkt decoder pair

Implemented in DecoderMngrBase< P, Pt, Pc >.

◆ attachInstrDecoder()

virtual ocsd_err_t IDecoderMngr::attachInstrDecoder ( TraceComponent pComponent,
IInstrDecode pIInstrDec 
)
pure virtual

attach instruction decoder to pkt decoder

Implemented in DecoderMngrBase< P, Pt, Pc >.

◆ attachMemAccessor()

virtual ocsd_err_t IDecoderMngr::attachMemAccessor ( TraceComponent pComponent,
ITargetMemAccess pMemAccessor 
)
pure virtual

attach memory accessor to pkt decoder

Implemented in DecoderMngrBase< P, Pt, Pc >.

◆ attachOutputSink()

virtual ocsd_err_t IDecoderMngr::attachOutputSink ( TraceComponent pComponent,
ITrcGenElemIn pOutSink 
)
pure virtual

attach generic output interface to pkt decoder

Implemented in DecoderMngrBase< P, Pt, Pc >.

◆ attachPktIndexer()

virtual ocsd_err_t IDecoderMngr::attachPktIndexer ( TraceComponent pComponent,
ITrcTypedBase pPktIndexer 
)
pure virtual

attach a packet indexer to pkt processor (solo pkt processor, or pkt processor part of pair)

Implemented in DecoderMngrBase< P, Pt, Pc >.

◆ attachPktMonitor()

virtual ocsd_err_t IDecoderMngr::attachPktMonitor ( TraceComponent pComponent,
ITrcTypedBase pPktRawDataMon 
)
pure virtual

attach a raw packet monitor to pkt processor (solo pkt processor, or pkt processor part of pair)

Implemented in DecoderMngrBase< P, Pt, Pc >.

◆ attachPktSink()

virtual ocsd_err_t IDecoderMngr::attachPktSink ( TraceComponent pComponent,
ITrcTypedBase pPktDataInSink 
)
pure virtual

attach a packet data sink to pkt processor output (solo pkt processor only - instead of decoder when pkt processor only created.)

Implemented in DecoderMngrBase< P, Pt, Pc >.

◆ createConfigFromDataStruct()

virtual ocsd_err_t IDecoderMngr::createConfigFromDataStruct ( CSConfig **  pConfigBase,
const void *  pDataStruct 
)
pure virtual

◆ createDecoder()

virtual ocsd_err_t IDecoderMngr::createDecoder ( const int  create_flags,
const int  instID,
const CSConfig p_config,
TraceComponent **  ppComponent 
)
pure virtual

◆ destroyDecoder()

virtual ocsd_err_t IDecoderMngr::destroyDecoder ( TraceComponent pComponent)
pure virtual

Implemented in DecoderMngrBase< P, Pt, Pc >.

Here is the caller graph for this function:

◆ getDataInputI()

virtual ocsd_err_t IDecoderMngr::getDataInputI ( TraceComponent pComponent,
ITrcDataIn **  ppDataIn 
)
pure virtual

get raw data input interface from packet processor

Implemented in DecoderMngrBase< P, Pt, Pc >.

◆ getProtocolType()

virtual const ocsd_trace_protocol_t IDecoderMngr::getProtocolType ( ) const
pure virtual

Get the built in protocol type ID managed by this instance - extern for custom decoders.

Implemented in DecoderMngrBase< P, Pt, Pc >.

Here is the caller graph for this function:

The documentation for this class was generated from the following file: