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

◆ ObjectInfoList

Constructor & Destructor Documentation

◆ NamingContextHelper() [1/2]

NamingContextHelper::NamingContextHelper ( )

◆ NamingContextHelper() [2/2]

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

Member Function Documentation

◆ bindObject()

bool NamingContextHelper::bindObject ( CORBA::Object_ptr  object,
const std::string &  name 
)

◆ errorMessage()

const std::string & NamingContextHelper::errorMessage ( )

◆ findObject() [1/2]

template<class T >
T::_ptr_type cnoid::NamingContextHelper::findObject ( const std::string &  name,
const std::string &  kind = "" 
)
inline

◆ findObject() [2/2]

CORBA::Object::_ptr_type cnoid::NamingContextHelper::findObject ( const std::string &  name,
const std::string &  kind = "" 
)
inline

◆ getObjectList()

NamingContextHelper::ObjectInfoList NamingContextHelper::getObjectList ( )

◆ host()

const std::string& cnoid::NamingContextHelper::host ( )
inline

◆ isAlive()

bool NamingContextHelper::isAlive ( bool  doRescan = true)

◆ isObjectAlive()

bool NamingContextHelper::isObjectAlive ( CORBA::Object_ptr  obj)

◆ port()

int cnoid::NamingContextHelper::port ( )
inline

◆ setLocation()

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

◆ unbind()

void NamingContextHelper::unbind ( const std::string &  name)

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