35 #ifndef ARM_COMP_ATTACH_PT_T_H_INCLUDED 36 #define ARM_COMP_ATTACH_PT_T_H_INCLUDED 39 #include "opencsd/ocsd_if_types.h" 73 virtual ocsd_err_t
attach(T* component);
82 virtual ocsd_err_t
detach(T* component);
170 return OCSD_ERR_ATTACH_TOO_MANY;
191 return OCSD_ERR_ATTACH_COMP_NOT_FOUND;
210 return ((
m_comp != 0) ? 1 : 0);
238 #endif // ARM_COMP_ATTACH_PT_T_H_INCLUDED
virtual ocsd_err_t replace_first(T *component)
void set_enabled(const bool enable)
IComponentAttachNotifier * m_notifier
const bool enabled() const
const bool hasAttached() const
virtual ~componentAttachPt()
virtual void attachNotify(const int num_attached)=0
virtual int num_attached()
const bool hasAttachedAndEnabled() const
virtual void detach_all()
Single component interface pointer attachment point.
OpenCSD : Component attach point notifier interface.
virtual ocsd_err_t attach(T *component)
virtual ocsd_err_t detach(T *component)
void set_notifier(IComponentAttachNotifier *notifier)