OpenCSD - CoreSight Trace Decode Library
1.3.3
|
#include <ocsd_lib_dcd_register.h>
Public Member Functions | |
const ocsd_err_t | registerDecoderTypeByName (const std::string &name, IDecoderMngr *p_decoder_fact) |
register a decoder manager interface More... | |
const ocsd_err_t | getDecoderMngrByName (const std::string &name, IDecoderMngr **p_decoder_mngr) |
const ocsd_err_t | getDecoderMngrByType (const ocsd_trace_protocol_t decoderType, IDecoderMngr **p_decoder_mngr) |
const bool | isRegisteredDecoder (const std::string &name) |
const bool | getFirstNamedDecoder (std::string &name) |
const bool | getNextNamedDecoder (std::string &name) |
const bool | isRegisteredDecoderType (const ocsd_trace_protocol_t decoderType) |
Static Public Member Functions | |
static OcsdLibDcdRegister * | getDecoderRegister () |
static void | deregisterAllDecoders () |
library cleanup - deregisters decoder managers and destroys the register object. More... | |
static const ocsd_trace_protocol_t | getNextCustomProtocolID () |
static void | releaseLastCustomProtocolID () |
with the library
library decoder register class allows decoders to be registered by name, and the register allows clients to access the list of names of registerd decoders.
The decoders in the library are accessed through the decoder manager interface. This provides a set of functions to allow the creation, manipulation and destruction of registered decoders
Definition at line 54 of file ocsd_lib_dcd_register.h.
|
static |
library cleanup - deregisters decoder managers and destroys the register object.
const ocsd_err_t OcsdLibDcdRegister::getDecoderMngrByName | ( | const std::string & | name, |
IDecoderMngr ** | p_decoder_mngr | ||
) |
const ocsd_err_t OcsdLibDcdRegister::getDecoderMngrByType | ( | const ocsd_trace_protocol_t | decoderType, |
IDecoderMngr ** | p_decoder_mngr | ||
) |
|
static |
const bool OcsdLibDcdRegister::getFirstNamedDecoder | ( | std::string & | name | ) |
|
static |
const bool OcsdLibDcdRegister::getNextNamedDecoder | ( | std::string & | name | ) |
const bool OcsdLibDcdRegister::isRegisteredDecoder | ( | const std::string & | name | ) |
const bool OcsdLibDcdRegister::isRegisteredDecoderType | ( | const ocsd_trace_protocol_t | decoderType | ) |
const ocsd_err_t OcsdLibDcdRegister::registerDecoderTypeByName | ( | const std::string & | name, |
IDecoderMngr * | p_decoder_fact | ||
) |
register a decoder manager interface
|
static |