Lines Matching full:component
3 * \brief OpenCSD : Component attachment point interface class.
41 /** @defgroup ocsd_infrastructure OpenCSD Library : Library Component Infrastructure
50 * @brief Single component interface pointer attachment point.
54 * An attachment point connects a component interface pointer to the component providing the
69 * @param component : interface to attach.
73 virtual ocsd_err_t attach(T* component);
76 * Detach component from the attachment point.
78 * @param component : Component to detach.
80 …rtual ocsd_err_t : OCSD_OK if successful, OCSD_ERR_ATTACH_COMP_NOT_FOUND if no match to component.
82 virtual ocsd_err_t detach(T* component);
86 virtual ocsd_err_t replace_first(T* component);
112 * @return int : number of component interfaces attached.
118 * a component is attached or detached.
167 template<class T> ocsd_err_t componentAttachPt<T>::attach(T* component) in attach() argument
171 m_comp = component; in attach()
177 template<class T> ocsd_err_t componentAttachPt<T>::replace_first(T* component) in replace_first() argument
182 if(component == 0) in replace_first()
185 return attach(component); in replace_first()
188 template<class T> ocsd_err_t componentAttachPt<T>::detach(T* component) in detach() argument
190 if(m_comp != component) in detach()