OpenCSD - CoreSight Trace Decode Library
1.3.3
|
Classes providing library infrastructure and auxilary functionality. More...
Classes | |
class | componentAttachPt< T > |
Single component interface pointer attachment point. More... | |
class | TraceComponent |
Base class for all decode components in the library. More... | |
class | trcPrintableElem |
Class to provide trace element strings for printing. More... | |
class | ocsdError |
Functions | |
template<class Pc , class Pt > | |
void | trcPrintElemToString (const void *p_pkt, std::string &str) |
componentAttachPt< T >::componentAttachPt () | |
virtual | componentAttachPt< T >::~componentAttachPt () |
virtual ocsd_err_t | componentAttachPt< T >::attach (T *component) |
virtual ocsd_err_t | componentAttachPt< T >::replace_first (T *component) |
virtual ocsd_err_t | componentAttachPt< T >::detach (T *component) |
virtual T * | componentAttachPt< T >::first () |
virtual T * | componentAttachPt< T >::next () |
virtual int | componentAttachPt< T >::num_attached () |
virtual void | componentAttachPt< T >::detach_all () |
void | componentAttachPt< T >::set_notifier (IComponentAttachNotifier *notifier) |
const bool | componentAttachPt< T >::enabled () const |
void | componentAttachPt< T >::set_enabled (const bool enable) |
virtual void | trcPrintableElem::toString (std::string &str) const |
virtual void | trcPrintableElem::toStringFmt (const uint32_t fmtFlags, std::string &str) const |
Classes providing library infrastructure and auxilary functionality.
Notification interface for attachment.
Interface to the componentAttachPt classes that allow notification on component connect and disconnect.
|
virtual |
Attach an interface of type T to the attachment point.
component | : interface to attach. |
Definition at line 167 of file comp_attach_pt_t.h.
componentAttachPt< T >::componentAttachPt |
Default constructor
Definition at line 153 of file comp_attach_pt_t.h.
|
virtual |
Detach component from the attachment point.
component | : Component to detach. |
Definition at line 188 of file comp_attach_pt_t.h.
|
virtual |
Detach all components.
Definition at line 213 of file comp_attach_pt_t.h.
const bool componentAttachPt< T >::enabled |
return the enabled flag.
Definition at line 225 of file comp_attach_pt_t.h.
|
virtual |
Return the current (first) attached interface pointer. Will return 0 if nothing attached or the attachment point is disabled.
Definition at line 198 of file comp_attach_pt_t.h.
|
virtual |
Return the next attached interface. The componentAttachPt base implmentation will always return 0 as only a single attachment is possible
Definition at line 203 of file comp_attach_pt_t.h.
|
virtual |
Returns the number of interface pointers attached to this attachment point.
Definition at line 208 of file comp_attach_pt_t.h.
|
virtual |
void componentAttachPt< T >::set_enabled | ( | const bool | enable | ) |
Definition at line 230 of file comp_attach_pt_t.h.
void componentAttachPt< T >::set_notifier | ( | IComponentAttachNotifier * | notifier | ) |
Attach a notifier interface to the attachment point. Will call back on this interface whenever a component is attached or detached.
*notifier | : pointer to the IComponentAttachNotifier interface. |
Definition at line 220 of file comp_attach_pt_t.h.
|
inlinevirtual |
Reimplemented in StmTrcPacket, PtmTrcPacket, EtmV4ITrcPacket, EtmV3TrcPacket, and OcsdTraceElement.
Definition at line 68 of file trc_printable_elem.h.
|
inlinevirtual |
Reimplemented in StmTrcPacket, PtmTrcPacket, EtmV4ITrcPacket, and EtmV3TrcPacket.
Definition at line 73 of file trc_printable_elem.h.
void trcPrintElemToString | ( | const void * | p_pkt, |
std::string & | str | ||
) |
static template string function - used in "C" API to provide generic printing
Definition at line 80 of file trc_printable_elem.h.
|
virtual |
Default destructor
Definition at line 161 of file comp_attach_pt_t.h.