125 if (orb == NULL)
return NULL;
155 return std::vector<IORB*>();
178 return std::vector<std::string>();
191 if (name == NULL)
return NULL;
213 const char* orbname)
throw()
241 const char* orbname)
throw()
243 if (impl == NULL || orbname == NULL)
return INVALID_ARGS;
262 const char* orbname)
throw()
264 if (name == NULL || orbname == NULL)
return INVALID_ARGS;
293 return std::vector<ImplBase*>();
300 if (name == NULL)
return NULL;
std::vector< IORB * > orbs_
virtual ReturnCodes deactivateObject(ImplBase *impl, const char *orbname="")
Deactivate object.
A functor to deactivate a given impl object.
std::vector< std::string > orbs_
virtual void shutdown()
shutdown ORBManager
static ORBManager * manager
ImplBase * getObject(const char *name)
Delete object.
static ORBManager & instance()
getting instance
static const char * default_config[]
Default configuration for ORBManager.
IORB * deleteORB(const char *name)
Delete registered ORB by name.
bool registerObject(Object *obj)
Register the specified object.
Object * unregisterObject(const Identifier &id)
Unregister the specified object.
Object * find(const Identifier &id) const
Find the object.
const std::vector< ImplBase * > getObjects()
Delete object.
Pred for_each(Pred p)
Functor for searching object.
prop
Organization::get_organization_property ();.
std::vector< ImplBase * > impls_
ReturnCode_t addORB(IORB *orb)
Register an ORB to the ORBManager.
Class represents a set of properties.
const std::vector< std::string > availableORBs()
Get all the ORBs' name that are registered in this ORBManager.
static ORBManager * init(coil::Properties prop)
initializer
IORB * getORB(const char *name)
Get an ORB that is registered in this ORBManager.
virtual ReturnCodes activateObject(ImplBase *impl, const char *orbname="")
Activate object.
A functor to activate a given impl object.
const std::vector< IORB * > getORBs()
Get all the ORBs that are registered in this ORBManager.