CORBA Naming Service helper class. More...
Public Member Functions | |
def | __del__ |
destructor | |
def | __init__ |
Consructor. | |
def | bind |
def | bindByString |
def | bindContext |
def | bindContextRecursive |
def | bindNewContext |
def | bindOrResolve |
Bind of resolve the given name component. | |
def | bindOrResolveContext |
Bind of resolve the given name component. | |
def | bindRecursive |
def | clearAll |
Destroy all binding. | |
def | destroy |
def | destroyRecursive |
Destroy the naming context recursively. | |
def | getNameLength |
Get string length of the name component's string representation. | |
def | getNameServer |
Get the name of naming server. | |
def | getRootContext |
Get the root context. | |
def | init |
def | list |
def | nameIsNamingContext |
Whether the given name component is NamingContext. | |
def | nameToString |
Get string representation of name component. | |
def | newContext |
def | objIsNamingContext |
Whether the object is NamingContext. | |
def | rebind |
def | rebindByString |
def | rebindContext |
def | rebindContextRecursive |
def | rebindRecursive |
def | resolve |
def | resolveStr |
Resolve from name of string representation and get object. | |
def | split |
Split of string. | |
def | subName |
Get subset of given name component. | |
def | toName |
Get NameComponent from gien string name representation. | |
def | toString |
Get string representation of given NameComponent. | |
def | toUrl |
Get URL representation from given addr and string_name. | |
def | unbind |
void unbind(const CosNaming::Name& name) throw(NotFound, CannotProceed, InvalidName); | |
Private Attributes | |
_blLength | |
_nameServer | |
_orb | |
_rootContext |
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.
Definition at line 60 of file examples/AutoTest/CorbaNaming.py.
def OpenRTM_aist.examples.AutoTest.CorbaNaming.CorbaNaming.__init__ | ( | self, | |
orb, | |||
name_server = None |
|||
) |
Consructor.
Definition at line 80 of file examples/AutoTest/CorbaNaming.py.
destructor
Definition at line 112 of file examples/AutoTest/CorbaNaming.py.
def OpenRTM_aist.examples.AutoTest.CorbaNaming.CorbaNaming.bind | ( | self, | |
name_list, | |||
obj, | |||
force = None |
|||
) |
Definition at line 185 of file examples/AutoTest/CorbaNaming.py.
def OpenRTM_aist.examples.AutoTest.CorbaNaming.CorbaNaming.bindByString | ( | self, | |
string_name, | |||
obj, | |||
force = True |
|||
) |
Definition at line 229 of file examples/AutoTest/CorbaNaming.py.
def OpenRTM_aist.examples.AutoTest.CorbaNaming.CorbaNaming.bindContext | ( | self, | |
name, | |||
name_cxt, | |||
force = True |
|||
) |
Definition at line 427 of file examples/AutoTest/CorbaNaming.py.
def OpenRTM_aist.examples.AutoTest.CorbaNaming.CorbaNaming.bindContextRecursive | ( | self, | |
context, | |||
name_list, | |||
name_cxt | |||
) |
Definition at line 453 of file examples/AutoTest/CorbaNaming.py.
def OpenRTM_aist.examples.AutoTest.CorbaNaming.CorbaNaming.bindNewContext | ( | self, | |
name, | |||
force = True |
|||
) |
Definition at line 633 of file examples/AutoTest/CorbaNaming.py.
def OpenRTM_aist.examples.AutoTest.CorbaNaming.CorbaNaming.bindOrResolve | ( | self, | |
context, | |||
name_list, | |||
obj | |||
) |
Bind of resolve the given name component.
Definition at line 920 of file examples/AutoTest/CorbaNaming.py.
def OpenRTM_aist.examples.AutoTest.CorbaNaming.CorbaNaming.bindOrResolveContext | ( | self, | |
context, | |||
name_list, | |||
new_context = None |
|||
) |
Bind of resolve the given name component.
Definition at line 951 of file examples/AutoTest/CorbaNaming.py.
def OpenRTM_aist.examples.AutoTest.CorbaNaming.CorbaNaming.bindRecursive | ( | self, | |
context, | |||
name_list, | |||
obj | |||
) |
Definition at line 268 of file examples/AutoTest/CorbaNaming.py.
Destroy all binding.
Definition at line 750 of file examples/AutoTest/CorbaNaming.py.
def OpenRTM_aist.examples.AutoTest.CorbaNaming.CorbaNaming.destroy | ( | self, | |
context | |||
) |
Definition at line 688 of file examples/AutoTest/CorbaNaming.py.
def OpenRTM_aist.examples.AutoTest.CorbaNaming.CorbaNaming.destroyRecursive | ( | self, | |
context | |||
) |
Destroy the naming context recursively.
Definition at line 711 of file examples/AutoTest/CorbaNaming.py.
def OpenRTM_aist.examples.AutoTest.CorbaNaming.CorbaNaming.getNameLength | ( | self, | |
name_list | |||
) |
Get string length of the name component's string representation.
Definition at line 1123 of file examples/AutoTest/CorbaNaming.py.
Get the name of naming server.
Definition at line 974 of file examples/AutoTest/CorbaNaming.py.
Get the root context.
Definition at line 991 of file examples/AutoTest/CorbaNaming.py.
def OpenRTM_aist.examples.AutoTest.CorbaNaming.CorbaNaming.init | ( | self, | |
name_server | |||
) |
Definition at line 129 of file examples/AutoTest/CorbaNaming.py.
def OpenRTM_aist.examples.AutoTest.CorbaNaming.CorbaNaming.list | ( | self, | |
name_cxt, | |||
how_many, | |||
rbl, | |||
rbi | |||
) |
Definition at line 769 of file examples/AutoTest/CorbaNaming.py.
def OpenRTM_aist.examples.AutoTest.CorbaNaming.CorbaNaming.nameIsNamingContext | ( | self, | |
name_list | |||
) |
Whether the given name component is NamingContext.
Definition at line 1032 of file examples/AutoTest/CorbaNaming.py.
def OpenRTM_aist.examples.AutoTest.CorbaNaming.CorbaNaming.nameToString | ( | self, | |
name_list, | |||
string_name, | |||
slen | |||
) |
Get string representation of name component.
Definition at line 1088 of file examples/AutoTest/CorbaNaming.py.
Definition at line 603 of file examples/AutoTest/CorbaNaming.py.
Whether the object is NamingContext.
Definition at line 1009 of file examples/AutoTest/CorbaNaming.py.
def OpenRTM_aist.examples.AutoTest.CorbaNaming.CorbaNaming.rebind | ( | self, | |
name_list, | |||
obj, | |||
force = True |
|||
) |
Definition at line 310 of file examples/AutoTest/CorbaNaming.py.
def OpenRTM_aist.examples.AutoTest.CorbaNaming.CorbaNaming.rebindByString | ( | self, | |
string_name, | |||
obj, | |||
force = True |
|||
) |
Definition at line 355 of file examples/AutoTest/CorbaNaming.py.
def OpenRTM_aist.examples.AutoTest.CorbaNaming.CorbaNaming.rebindContext | ( | self, | |
name, | |||
name_cxt, | |||
force = True |
|||
) |
Definition at line 481 of file examples/AutoTest/CorbaNaming.py.
def OpenRTM_aist.examples.AutoTest.CorbaNaming.CorbaNaming.rebindContextRecursive | ( | self, | |
context, | |||
name_list, | |||
name_cxt | |||
) |
Definition at line 506 of file examples/AutoTest/CorbaNaming.py.
def OpenRTM_aist.examples.AutoTest.CorbaNaming.CorbaNaming.rebindRecursive | ( | self, | |
context, | |||
name_list, | |||
obj | |||
) |
Definition at line 385 of file examples/AutoTest/CorbaNaming.py.
def OpenRTM_aist.examples.AutoTest.CorbaNaming.CorbaNaming.resolve | ( | self, | |
name | |||
) |
Definition at line 538 of file examples/AutoTest/CorbaNaming.py.
def OpenRTM_aist.examples.AutoTest.CorbaNaming.CorbaNaming.resolveStr | ( | self, | |
string_name | |||
) |
Resolve from name of string representation and get object.
Definition at line 892 of file examples/AutoTest/CorbaNaming.py.
def OpenRTM_aist.examples.AutoTest.CorbaNaming.CorbaNaming.split | ( | self, | |
input, | |||
delimiter, | |||
results | |||
) |
Split of string.
Definition at line 1160 of file examples/AutoTest/CorbaNaming.py.
def OpenRTM_aist.examples.AutoTest.CorbaNaming.CorbaNaming.subName | ( | self, | |
name_list, | |||
begin, | |||
end = None |
|||
) |
Get subset of given name component.
Definition at line 1054 of file examples/AutoTest/CorbaNaming.py.
def OpenRTM_aist.examples.AutoTest.CorbaNaming.CorbaNaming.toName | ( | self, | |
sname | |||
) |
Get NameComponent from gien string name representation.
Definition at line 825 of file examples/AutoTest/CorbaNaming.py.
def OpenRTM_aist.examples.AutoTest.CorbaNaming.CorbaNaming.toString | ( | self, | |
name_list | |||
) |
Get string representation of given NameComponent.
Definition at line 798 of file examples/AutoTest/CorbaNaming.py.
def OpenRTM_aist.examples.AutoTest.CorbaNaming.CorbaNaming.toUrl | ( | self, | |
addr, | |||
string_name | |||
) |
Get URL representation from given addr and string_name.
Definition at line 869 of file examples/AutoTest/CorbaNaming.py.
def OpenRTM_aist.examples.AutoTest.CorbaNaming.CorbaNaming.unbind | ( | self, | |
name | |||
) |
void unbind(const CosNaming::Name& name) throw(NotFound, CannotProceed, InvalidName);
Definition at line 578 of file examples/AutoTest/CorbaNaming.py.
Definition at line 80 of file examples/AutoTest/CorbaNaming.py.
Definition at line 80 of file examples/AutoTest/CorbaNaming.py.
Definition at line 80 of file examples/AutoTest/CorbaNaming.py.
Definition at line 80 of file examples/AutoTest/CorbaNaming.py.