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())