OpenRTM-aist-Python 2.0.2
|
Public Member Functions | |
__init__ (self, orb, name_server=None) | |
__del__ (self) | |
init (self, name_server) | |
isAlive (self) | |
bind (self, name_list, obj, force=None) | |
bindByString (self, string_name, obj, force=True) | |
bindRecursive (self, context, name_list, obj) | |
rebind (self, name_list, obj, force=True) | |
rebindByString (self, string_name, obj, force=True) | |
rebindRecursive (self, context, name_list, obj) | |
bindContext (self, name, name_cxt, force=True) | |
bindContextRecursive (self, context, name_list, name_cxt) | |
rebindContext (self, name, name_cxt, force=True) | |
rebindContextRecursive (self, context, name_list, name_cxt) | |
resolve (self, name) | |
unbind (self, name) | |
void unbind(const CosNaming.Name& name) throw(NotFound, CannotProceed, InvalidName); | |
newContext (self) | |
bindNewContext (self, name, force=True) | |
destroy (self, context) | |
destroyRecursive (self, context) | |
clearAll (self) | |
list (self, name_cxt, how_many, rbl, rbi) | |
toString (self, name_list) | |
toName (self, sname) | |
toUrl (self, addr, string_name) | |
resolveStr (self, string_name) | |
bindOrResolve (self, context, name_list, obj) | |
bindOrResolveContext (self, context, name_list, new_context=None) | |
getNameServer (self) | |
getRootContext (self) | |
objIsNamingContext (self, obj) | |
nameIsNamingContext (self, name_list) | |
subName (self, name_list, begin, end=None) | |
nameToString (self, name_list, string_name, slen) | |
getNameLength (self, name_list) | |
split (self, input, delimiter, results) | |
listByKind (self, string_name, string_kind) | |
listBinding (self, string_name) | |
CORBA Naming Service helper class
This class is a wrapper class of CosNaming.NamingContext. Almost the same operations which CosNaming.NamingContext has are provided, and some operation allows string naming representation of context and object instead of CosNaming.Name.
The object of the class would connect to a CORBA naming server at the instantiation or immediately after instantiation. After that the object invokes operations to the root context of it. This class realizes forced binding to deep NamingContext, without binding intermediate NamingContexts explicitly.
OpenRTM_aist.CorbaNaming.CorbaNaming.__init__ | ( | self, | |
orb, | |||
name_server = None ) |
Consructor
OpenRTM_aist.CorbaNaming.CorbaNaming.__del__ | ( | self | ) |
destructor
OpenRTM_aist.CorbaNaming.CorbaNaming.bind | ( | self, | |
name_list, | |||
obj, | |||
force = None ) |
OpenRTM_aist.CorbaNaming.CorbaNaming.bindByString | ( | self, | |
string_name, | |||
obj, | |||
force = True ) |
OpenRTM_aist.CorbaNaming.CorbaNaming.bindContext | ( | self, | |
name, | |||
name_cxt, | |||
force = True ) |
OpenRTM_aist.CorbaNaming.CorbaNaming.bindContextRecursive | ( | self, | |
context, | |||
name_list, | |||
name_cxt ) |
OpenRTM_aist.CorbaNaming.CorbaNaming.bindOrResolve | ( | self, | |
context, | |||
name_list, | |||
obj ) |
Bind of resolve the given name component
OpenRTM_aist.CorbaNaming.CorbaNaming.bindOrResolveContext | ( | self, | |
context, | |||
name_list, | |||
new_context = None ) |
Bind of resolve the given name component
OpenRTM_aist.CorbaNaming.CorbaNaming.bindRecursive | ( | self, | |
context, | |||
name_list, | |||
obj ) |
OpenRTM_aist.CorbaNaming.CorbaNaming.clearAll | ( | self | ) |
Destroy all binding
OpenRTM_aist.CorbaNaming.CorbaNaming.destroyRecursive | ( | self, | |
context ) |
Destroy the naming context recursively
OpenRTM_aist.CorbaNaming.CorbaNaming.getNameLength | ( | self, | |
name_list ) |
Get string length of the name component's string representation
OpenRTM_aist.CorbaNaming.CorbaNaming.getNameServer | ( | self | ) |
Get the name of naming server
OpenRTM_aist.CorbaNaming.CorbaNaming.getRootContext | ( | self | ) |
Get the root context
OpenRTM_aist.CorbaNaming.CorbaNaming.isAlive | ( | self | ) |
Check on whether the root context is alive. Check on whether the root context is alive.
self | bool CorbaNaming.isAlive() |
OpenRTM_aist.CorbaNaming.CorbaNaming.listBinding | ( | self, | |
string_name ) |
Get all the binding under given naming path
self | |
string_name |
OpenRTM_aist.CorbaNaming.CorbaNaming.listByKind | ( | self, | |
string_name, | |||
string_kind ) |
Get all the binding with specified kind under given naming path
self | |
string_name | path |
string_kind | kind |
OpenRTM_aist.CorbaNaming.CorbaNaming.nameIsNamingContext | ( | self, | |
name_list ) |
Whether the given name component is NamingContext
OpenRTM_aist.CorbaNaming.CorbaNaming.nameToString | ( | self, | |
name_list, | |||
string_name, | |||
slen ) |
Get string representation of name component
OpenRTM_aist.CorbaNaming.CorbaNaming.objIsNamingContext | ( | self, | |
obj ) |
Whether the object is NamingContext
OpenRTM_aist.CorbaNaming.CorbaNaming.rebind | ( | self, | |
name_list, | |||
obj, | |||
force = True ) |
OpenRTM_aist.CorbaNaming.CorbaNaming.rebindByString | ( | self, | |
string_name, | |||
obj, | |||
force = True ) |
OpenRTM_aist.CorbaNaming.CorbaNaming.rebindContextRecursive | ( | self, | |
context, | |||
name_list, | |||
name_cxt ) |
OpenRTM_aist.CorbaNaming.CorbaNaming.rebindRecursive | ( | self, | |
context, | |||
name_list, | |||
obj ) |
OpenRTM_aist.CorbaNaming.CorbaNaming.resolveStr | ( | self, | |
string_name ) |
Resolve from name of string representation and get object
OpenRTM_aist.CorbaNaming.CorbaNaming.split | ( | self, | |
input, | |||
delimiter, | |||
results ) |
Split of string
OpenRTM_aist.CorbaNaming.CorbaNaming.subName | ( | self, | |
name_list, | |||
begin, | |||
end = None ) |
Get subset of given name component
OpenRTM_aist.CorbaNaming.CorbaNaming.toName | ( | self, | |
sname ) |
Get NameComponent from gien string name representation
OpenRTM_aist.CorbaNaming.CorbaNaming.toString | ( | self, | |
name_list ) |
Get string representation of given NameComponent
OpenRTM_aist.CorbaNaming.CorbaNaming.toUrl | ( | self, | |
addr, | |||
string_name ) |
Get URL representation from given addr and string_name