OpenRTM-aist-Python 2.0.0
|
Public Member Functions | |
def | __init__ (self, orb, name_server=None) |
def | __del__ (self) |
def | init (self, name_server) |
def | isAlive (self) |
def | bind (self, name_list, obj, force=None) |
def | bindByString (self, string_name, obj, force=True) |
def | bindRecursive (self, context, name_list, obj) |
def | rebind (self, name_list, obj, force=True) |
def | rebindByString (self, string_name, obj, force=True) |
def | rebindRecursive (self, context, name_list, obj) |
def | bindContext (self, name, name_cxt, force=True) |
def | bindContextRecursive (self, context, name_list, name_cxt) |
def | rebindContext (self, name, name_cxt, force=True) |
def | rebindContextRecursive (self, context, name_list, name_cxt) |
def | resolve (self, name) |
def | unbind (self, name) |
void unbind(const CosNaming::Name& name) throw(NotFound, CannotProceed, InvalidName); | |
def | newContext (self) |
def | bindNewContext (self, name, force=True) |
def | destroy (self, context) |
def | destroyRecursive (self, context) |
def | clearAll (self) |
def | list (self, name_cxt, how_many, rbl, rbi) |
def | toString (self, name_list) |
def | toName (self, sname) |
def | toUrl (self, addr, string_name) |
def | resolveStr (self, string_name) |
def | bindOrResolve (self, context, name_list, obj) |
def | bindOrResolveContext (self, context, name_list, new_context=None) |
def | getNameServer (self) |
def | getRootContext (self) |
def | objIsNamingContext (self, obj) |
def | nameIsNamingContext (self, name_list) |
def | subName (self, name_list, begin, end=None) |
def | nameToString (self, name_list, string_name, slen) |
def | getNameLength (self, name_list) |
def | split (self, input, delimiter, results) |
def | listByKind (self, string_name, string_kind) |
def | 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.
def OpenRTM_aist.CorbaNaming.CorbaNaming.__init__ | ( | self, | |
orb, | |||
name_server = None |
|||
) |
Consructor
def OpenRTM_aist.CorbaNaming.CorbaNaming.__del__ | ( | self | ) |
destructor
def OpenRTM_aist.CorbaNaming.CorbaNaming.bind | ( | self, | |
name_list, | |||
obj, | |||
force = None |
|||
) |
def OpenRTM_aist.CorbaNaming.CorbaNaming.bindByString | ( | self, | |
string_name, | |||
obj, | |||
force = True |
|||
) |
def OpenRTM_aist.CorbaNaming.CorbaNaming.bindContext | ( | self, | |
name, | |||
name_cxt, | |||
force = True |
|||
) |
def OpenRTM_aist.CorbaNaming.CorbaNaming.bindContextRecursive | ( | self, | |
context, | |||
name_list, | |||
name_cxt | |||
) |
def OpenRTM_aist.CorbaNaming.CorbaNaming.bindOrResolve | ( | self, | |
context, | |||
name_list, | |||
obj | |||
) |
Bind of resolve the given name component
def OpenRTM_aist.CorbaNaming.CorbaNaming.bindOrResolveContext | ( | self, | |
context, | |||
name_list, | |||
new_context = None |
|||
) |
Bind of resolve the given name component
def OpenRTM_aist.CorbaNaming.CorbaNaming.bindRecursive | ( | self, | |
context, | |||
name_list, | |||
obj | |||
) |
def OpenRTM_aist.CorbaNaming.CorbaNaming.clearAll | ( | self | ) |
Destroy all binding
def OpenRTM_aist.CorbaNaming.CorbaNaming.destroyRecursive | ( | self, | |
context | |||
) |
Destroy the naming context recursively
def OpenRTM_aist.CorbaNaming.CorbaNaming.getNameLength | ( | self, | |
name_list | |||
) |
Get string length of the name component's string representation
def OpenRTM_aist.CorbaNaming.CorbaNaming.getNameServer | ( | self | ) |
Get the name of naming server
def OpenRTM_aist.CorbaNaming.CorbaNaming.getRootContext | ( | self | ) |
Get the root context
def 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() |
def OpenRTM_aist.CorbaNaming.CorbaNaming.listBinding | ( | self, | |
string_name | |||
) |
Get all the binding under given naming path
self | |
string_name |
def 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 |
def OpenRTM_aist.CorbaNaming.CorbaNaming.nameIsNamingContext | ( | self, | |
name_list | |||
) |
Whether the given name component is NamingContext
def OpenRTM_aist.CorbaNaming.CorbaNaming.nameToString | ( | self, | |
name_list, | |||
string_name, | |||
slen | |||
) |
Get string representation of name component
def OpenRTM_aist.CorbaNaming.CorbaNaming.objIsNamingContext | ( | self, | |
obj | |||
) |
Whether the object is NamingContext
def OpenRTM_aist.CorbaNaming.CorbaNaming.rebind | ( | self, | |
name_list, | |||
obj, | |||
force = True |
|||
) |
def OpenRTM_aist.CorbaNaming.CorbaNaming.rebindByString | ( | self, | |
string_name, | |||
obj, | |||
force = True |
|||
) |
def OpenRTM_aist.CorbaNaming.CorbaNaming.rebindContextRecursive | ( | self, | |
context, | |||
name_list, | |||
name_cxt | |||
) |
def OpenRTM_aist.CorbaNaming.CorbaNaming.rebindRecursive | ( | self, | |
context, | |||
name_list, | |||
obj | |||
) |
def OpenRTM_aist.CorbaNaming.CorbaNaming.resolveStr | ( | self, | |
string_name | |||
) |
Resolve from name of string representation and get object
def OpenRTM_aist.CorbaNaming.CorbaNaming.split | ( | self, | |
input, | |||
delimiter, | |||
results | |||
) |
Split of string
def OpenRTM_aist.CorbaNaming.CorbaNaming.subName | ( | self, | |
name_list, | |||
begin, | |||
end = None |
|||
) |
Get subset of given name component
def OpenRTM_aist.CorbaNaming.CorbaNaming.toName | ( | self, | |
sname | |||
) |
Get NameComponent from gien string name representation
def OpenRTM_aist.CorbaNaming.CorbaNaming.toString | ( | self, | |
name_list | |||
) |
Get string representation of given NameComponent
def OpenRTM_aist.CorbaNaming.CorbaNaming.toUrl | ( | self, | |
addr, | |||
string_name | |||
) |
Get URL representation from given addr and string_name