Lines Matching defs:component
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 * @return virtual 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)
171 m_comp = component;
177 template<class T> ocsd_err_t componentAttachPt<T>::replace_first(T* component)
182 if(component == 0)
185 return attach(component);
188 template<class T> ocsd_err_t componentAttachPt<T>::detach(T* component)
190 if(m_comp != component)