18 #ifndef DOIL_ICE_ICEMANAGER_H 19 #define DOIL_ICE_ICEMANAGER_H 21 #include <coil/Properties.h> 22 #include <coil/Mutex.h> 23 #include <coil/Guard.h> 88 virtual const char*
name()
440 ::Ice::CommunicatorPtr
getORB()
533 ::Ice::ObjectPrx objref)
554 : m_name(entry->
impl_->name())
576 return m_id == factory->
id();
611 #endif // RTM_Ice_IceMANAGER_H
::Ice::CommunicatorPtr m_ice
virtual ImplBase * toImpl(doil::ServantBase *servant)
Getting impl object by servant.
FactoryPred(const char *id)
ServantBase *(* ServantNewFunc)()
::Ice::ObjectAdapterPtr m_adapter
IceManager & operator=(const IceManager &rhs)
virtual const char * id()
find_by_obj(::Ice::ObjectPrx obj)
ObjectManager< const char *, Entry, EntryPred > ObjectMap
virtual ImplBase * getImpl(const char *name)
Getting object by name.
IceServantBase * servant_
void DoilIceInit(coil::Properties &prop)
Entry(ImplBase *impl, IceServantBase *servant, ::Ice::ObjectPrx objref)
ObjectManager< const char *, ServantFactory, FactoryPred > m_factory
virtual ReturnCode_t registerFactory(const char *id, doil::ServantNewFunc new_func, doil::ServantDeleteFunc delete_func)
Register servant's factory.
FactoryPred(ServantFactory *factory)
Doil Ice servant base class.
void(* ServantDeleteFunc)(ServantBase *)
::Ice::ObjectPrx toReference(doil::ImplBase *impl)
Converting Impl object to object reference.
bool operator()(Entry *entry)
::Ice::CommunicatorPtr getORB()
Getting ORB pointer.
virtual ReturnCode_t deactivateObject(doil::ImplBase *impl)
Deactivate object.
virtual ServantBase * getServant(const char *name)
Getting servant object by name.
prop
Organization::get_organization_property ();.
virtual void shutdown()
Shutdown ORB.
virtual const char * name()=0
Class represents a set of properties.
::Ice::ObjectAdapterPtr getAdapter()
Getting default POA pointer.
virtual ServantBase * toServant(doil::ImplBase *lobj)
Getting servant object by impl object.
static IceManager * init(coil::Properties prop)
initializer
::Ice::ObjectPrx getReference(const char *name)
Getting object reference from the given name.
static IceManager * manager
void initIce(coil::Properties prop)
Ice ORB initialization.
EntryPred(const char *name)
void operator()(IceManager::Entry *entry)
virtual const char * name()
Getting ORB's name.
bool operator()(ServantFactory *factory)
std::string createIceOptions()
Create ORB command options.
static IceManager & instance()
getting instance
coil::Properties m_config
virtual ReturnCode_t activateObject(doil::ImplBase *impl)
Activate object.