238 def __init__(self, profile, new_func, delete_func, policy=None):
239 FactoryBase.__init__(self, profile)
274 rtobj = self.
_New(mgr)
280 rtobj.setProperties(self.
profile())
282 instance_name = rtobj.getTypeName()
283 instance_name += self._policy.onCreate(rtobj)
284 rtobj.setInstanceName(instance_name)
288 print OpenRTM_aist.Logger.print_exception()
313 self._policy.onDelete(comp)
_Number
self._Number Number of current component instances.
_Profile
self._Profile Component profile
def profile(self)
Get component profile.
def __init__(self, profile)
Constructor.
def destroy(self, comp)
Destroy component.
def __init__(self, profile, new_func, delete_func, policy=None)
Constructor.
def create(self, mgr)
Create component.
def number(self)
Get number of component instances.
def create(self, mgr)
Create component.
def destroy(self, comp)
Destroy component.