19 from omniORB
import CORBA
59 self.
_name = factory.getProfile().name
62 name_ = obj.getProfile().name
63 return self.
_name == name_
77 prof = p.get_port_profile()
79 return self.
_name == name_
104 return self.
_port._is_equivalent(p)
133 self.
_rtcout = OpenRTM_aist.Manager.instance().getLogbuf(
"PortAdmin")
183 ret.append(p.get_port_profile())
278 self.
_rtcout.RTC_ERROR(
"registerPort() failed.")
289 if isinstance(port, RTC._objref_PortService):
336 self.
_rtcout.RTC_ERROR(
"deletePort(PortBase&) failed.")
342 if isinstance(port,RTC._objref_PortService):
346 port.disconnect_all()
347 tmp = port.getProfile().name
350 self.
_poa.deactivate_object(self.
_poa.servant_to_id(port))
351 port.setPortRef(RTC.PortService._nil)
357 self.
_rtcout.RTC_ERROR(OpenRTM_aist.Logger.print_exception())
403 port.activateInterfaces()
418 port.deactivateInterfaces()
446 for i
in range(len_):
def deletePortByName(self, port_name)
Delete the Port' registration.
def deletePort(self, port)
Delete the Port's registration.
def deactivatePorts(self)
Deactivate all Port interfaces void PortAdmin::deactivatePorts()
def finalizePorts(self)
Unregister the Port.
def getPortRef(self, port_name)
Get PortServiceList.
def getPortServiceList(self)
Get PortServiceList.
def __init__(self, orb, poa)
Constructor.
def __init__(self, name=None, factory=None)
def registerPort(self, port)
Regsiter Port.
def removePort(self, port)
def find(seq, f)
Return the index of CORBA sequence element that functor matches.
Functor to delete the Port.
def getPort(self, port_name)
Getpointer to the Port's servant.
def getPortProfileList(self)
Get PorProfileList.
def activatePorts(self)
Activate all Port interfaces void PortAdmin::activatePorts()