OpenCSD - CoreSight Trace Decode Library
1.3.3
|
Single component interface pointer attachment point. More...
#include <comp_attach_pt_t.h>
Public Member Functions | |
componentAttachPt () | |
virtual | ~componentAttachPt () |
virtual ocsd_err_t | attach (T *component) |
virtual ocsd_err_t | detach (T *component) |
virtual ocsd_err_t | replace_first (T *component) |
virtual void | detach_all () |
virtual T * | first () |
virtual T * | next () |
virtual int | num_attached () |
void | set_notifier (IComponentAttachNotifier *notifier) |
const bool | enabled () const |
void | set_enabled (const bool enable) |
const bool | hasAttached () const |
const bool | hasAttachedAndEnabled () const |
Protected Attributes | |
bool | m_enabled |
bool | m_hasAttached |
IComponentAttachNotifier * | m_notifier |
T * | m_comp |
Single component interface pointer attachment point.
This is a class template to standardise the connections between decode components.
An attachment point connects a component interface pointer to the component providing the attachment point.
This attachment point implementation allows a single interface to be connected.
Definition at line 61 of file comp_attach_pt_t.h.
|
inline |
Check to see if any attachements. Will return attach state independent of enable state.
Definition at line 134 of file comp_attach_pt_t.h.
|
inline |
Return both the attachment and enabled state.
Definition at line 142 of file comp_attach_pt_t.h.
|
protected |
pointer to the single attached interface
Definition at line 148 of file comp_attach_pt_t.h.
|
protected |
Flag to indicate if the attachment point is enabled.
Definition at line 145 of file comp_attach_pt_t.h.
|
protected |
Flag indicating at least one attached interface
Definition at line 146 of file comp_attach_pt_t.h.
|
protected |
Optional attachement notifier interface.
Definition at line 147 of file comp_attach_pt_t.h.