Choreonoid  1.5
Classes | Public Types | Public Member Functions | List of all members
cnoid::NamingContextHelper Class Reference

#include <CorbaUtil.h>

Classes

struct  ObjectInfo
 

Public Types

typedef std::vector< ObjectInfoObjectInfoList
 

Public Member Functions

 NamingContextHelper ()
 
 NamingContextHelper (const std::string &host, int port)
 
void setLocation (const std::string &host, int port)
 
template<class T >
T::_ptr_type findObject (const std::string &name, const std::string &kind="")
 
CORBA::Object::_ptr_type findObject (const std::string &name, const std::string &kind="")
 
const std::string & host ()
 
int port ()
 
const std::string & errorMessage ()
 
bool isAlive (bool doRescan=true)
 
bool isObjectAlive (CORBA::Object_ptr obj)
 
ObjectInfoList getObjectList ()
 
bool bindObject (CORBA::Object_ptr object, const std::string &name)
 
void unbind (const std::string &name)
 

Member Typedef Documentation

Constructor & Destructor Documentation

NamingContextHelper::NamingContextHelper ( )
NamingContextHelper::NamingContextHelper ( const std::string &  host,
int  port 
)

Member Function Documentation

bool NamingContextHelper::bindObject ( CORBA::Object_ptr  object,
const std::string &  name 
)
const std::string & NamingContextHelper::errorMessage ( )
template<class T >
T::_ptr_type cnoid::NamingContextHelper::findObject ( const std::string &  name,
const std::string &  kind = "" 
)
inline
CORBA::Object::_ptr_type cnoid::NamingContextHelper::findObject ( const std::string &  name,
const std::string &  kind = "" 
)
inline
NamingContextHelper::ObjectInfoList NamingContextHelper::getObjectList ( )
const std::string& cnoid::NamingContextHelper::host ( )
inline
bool NamingContextHelper::isAlive ( bool  doRescan = true)
bool NamingContextHelper::isObjectAlive ( CORBA::Object_ptr  obj)
int cnoid::NamingContextHelper::port ( )
inline
void NamingContextHelper::setLocation ( const std::string &  host,
int  port 
)
void NamingContextHelper::unbind ( const std::string &  name)

The documentation for this class was generated from the following files: