TargetPort object. More...
Public Member Functions | |
def | __init__ |
def | __str__ |
def | parse_xml_node |
def | parse_yaml |
def | port_name |
def | port_name |
def | save_xml |
def | to_dict |
Public Attributes | |
port_name | |
Private Attributes | |
_port_name |
TargetPort object.
Stores enough information to uniquely identify a port on a component in the RT system. Used to specify target ports in connections.
Definition at line 178 of file targets.py.
def rtsprofile.targets.TargetPort.__init__ | ( | self, | |
component_id = '' , |
|||
instance_name = '' , |
|||
port_name = '' |
|||
) |
Constructor. See also the @ref TargetComponent constructor. @param port_name The name of the target port. @type port_name str
Definition at line 184 of file targets.py.
def rtsprofile.targets.TargetPort.__str__ | ( | self | ) |
Reimplemented from rtsprofile.targets.TargetComponent.
Definition at line 196 of file targets.py.
def rtsprofile.targets.TargetPort.parse_xml_node | ( | self, | |
node | |||
) |
Parse an xml.dom Node object representing a target port into this object.
Reimplemented from rtsprofile.targets.TargetComponent.
Definition at line 211 of file targets.py.
def rtsprofile.targets.TargetPort.parse_yaml | ( | self, | |
y | |||
) |
Parse a YAML specification of a target port into this object.
Reimplemented from rtsprofile.targets.TargetComponent.
Definition at line 220 of file targets.py.
def rtsprofile.targets.TargetPort.port_name | ( | self | ) |
The ID of the target port.
Definition at line 201 of file targets.py.
def rtsprofile.targets.TargetPort.port_name | ( | self, | |
port_name | |||
) |
Definition at line 206 of file targets.py.
def rtsprofile.targets.TargetPort.save_xml | ( | self, | |
doc, | |||
element | |||
) |
Save this target port into an xml.dom.Element object.
Reimplemented from rtsprofile.targets.TargetComponent.
Definition at line 226 of file targets.py.
def rtsprofile.targets.TargetPort.to_dict | ( | self | ) |
Save this target port into a dictionary.
Reimplemented from rtsprofile.targets.TargetComponent.
Definition at line 231 of file targets.py.
Definition at line 189 of file targets.py.
Definition at line 214 of file targets.py.