23 #include <coil/Properties.h> 67 return new _New(manager);
91 template <
class _Delete>
408 #endif // RTC_FACTORY_H
RTObject_impl *(* RtcNewFunc)(Manager *manager)
virtual RTObject_impl * create(Manager *mgr)=0
Create components.
int m_Number
Number of current RT-Component's instances.
virtual coil::Properties & profile()
Get the component profile.
NumberingPolicy * m_policy
The naming policy on creating the components.
virtual int number()
Get the number of current instances.
coil::Properties m_Profile
Component profile.
void Delete(RTObject_impl *rtc)
Template function to destroy RT-Components.
RTObject_impl * Create(Manager *manager)
Template function to create RT-Components.
virtual void destroy(RTObject_impl *comp)=0
Destroy components.
Abstruct class for naming policy management when creating objects.
FactoryBase(const coil::Properties &profile)
Constructor.
RtcNewFunc m_New
The pointer to component object create function.
Object numbering policy class.
Class represents a set of properties.
virtual ~FactoryBase(void)
Destructor.
void(* RtcDeleteFunc)(RTObject_impl *rtc)
Class for naming policy management when creating objects.
RtcDeleteFunc m_Delete
The pointer to component object destroy function.