RtsProfile object.
More...
|
def | __init__ (self, xml_spec=None, yaml_spec=None) |
|
def | __str__ (self) |
|
def | abstract (self) |
|
def | abstract (self, abstract) |
|
def | activation (self) |
|
def | activation (self, activation) |
|
def | comment (self) |
|
def | comment (self, comment) |
|
def | components (self) |
|
def | components (self, components) |
|
def | creation_date (self) |
|
def | creation_date (self, creation_date) |
|
def | data_port_connectors (self) |
|
def | data_port_connectors (self, data_port_connectors) |
|
def | deactivation (self) |
|
def | deactivation (self, deactivation) |
|
def | finalizing (self) |
|
def | finalizing (self, finalizing) |
|
def | find_comp_by_target (self, target) |
| API functions. More...
|
|
def | groups (self) |
|
def | groups (self, groups) |
|
def | id (self) |
| Properties. More...
|
|
def | id (self, id) |
|
def | initializing (self) |
|
def | initializing (self, initializing) |
|
def | optional_data_connections (self) |
|
def | optional_service_connections (self) |
|
def | parse_from_xml (self, xml_spec) |
| XML. More...
|
|
def | parse_from_yaml (self, yaml_spec) |
| YAML. More...
|
|
def | properties (self) |
|
def | properties (self, properties) |
|
def | required_data_connections (self) |
|
def | required_service_connections (self) |
|
def | resetting (self) |
|
def | resetting (self, resetting) |
|
def | save_to_xml (self) |
|
def | save_to_yaml (self) |
|
def | service_port_connectors (self) |
|
def | service_port_connectors (self, service_port_connectors) |
|
def | shutdown (self) |
|
def | shutdown (self, shutdown) |
|
def | startup (self) |
|
def | startup (self, startup) |
|
def | update_date (self) |
|
def | update_date (self, update_date) |
|
def | version (self) |
|
def | version (self, version) |
|
def | version_up_log (self) |
|
def | version_up_log (self, version_up_log) |
|
RtsProfile object.
Definition at line 50 of file rts_profile.py.
def rtsprofile.rts_profile.RtsProfile.__init__ |
( |
|
self, |
|
|
|
xml_spec = None , |
|
|
|
yaml_spec = None |
|
) |
| |
Constructor.
Pass in an RTSProfile specification either in a string or a file
object, and the RtsProfile will be loaded from that.
If no specification is provided, the RtsProfile will be constructed
from the default values. Use the properties to set the values you need.
@param xml_spec A string or open file object containing the XML
specification of the RTS Profile. If present, the other arguments must
be None.
@param yaml_spec A string or open file object containing the YAML
specification of the RTS Profile. If present, the other arguments must
be None.
Definition at line 51 of file rts_profile.py.
def rtsprofile.rts_profile.RtsProfile.__str__ |
( |
|
self | ) |
|
def rtsprofile.rts_profile.RtsProfile._parse_xml |
( |
|
self, |
|
|
|
dom |
|
) |
| |
|
private |
def rtsprofile.rts_profile.RtsProfile._parse_yaml |
( |
|
self, |
|
|
|
spec |
|
) |
| |
|
private |
def rtsprofile.rts_profile.RtsProfile._reset |
( |
|
self | ) |
|
|
private |
def rtsprofile.rts_profile.RtsProfile._to_dict |
( |
|
self | ) |
|
|
private |
def rtsprofile.rts_profile.RtsProfile._to_xml_dom |
( |
|
self | ) |
|
|
private |
def rtsprofile.rts_profile.RtsProfile._to_yaml |
( |
|
self | ) |
|
|
private |
def rtsprofile.rts_profile.RtsProfile.abstract |
( |
|
self | ) |
|
Description of this RT system.
May be empty.
Definition at line 149 of file rts_profile.py.
def rtsprofile.rts_profile.RtsProfile.abstract |
( |
|
self, |
|
|
|
abstract |
|
) |
| |
def rtsprofile.rts_profile.RtsProfile.activation |
( |
|
self | ) |
|
Ordering and conditions for when the RT system is activated.
Definition at line 291 of file rts_profile.py.
def rtsprofile.rts_profile.RtsProfile.activation |
( |
|
self, |
|
|
|
activation |
|
) |
| |
def rtsprofile.rts_profile.RtsProfile.comment |
( |
|
self | ) |
|
Comment about the system.
A brief comment about the system. May or may not be displayed in other
tools. May be empty.
Part of the extended profile.
Definition at line 346 of file rts_profile.py.
def rtsprofile.rts_profile.RtsProfile.comment |
( |
|
self, |
|
|
|
comment |
|
) |
| |
def rtsprofile.rts_profile.RtsProfile.components |
( |
|
self | ) |
|
Information about the components that make up the RT system.
May be an empty list if there are no components. Members are of type
@ref Component.
Definition at line 205 of file rts_profile.py.
def rtsprofile.rts_profile.RtsProfile.components |
( |
|
self, |
|
|
|
components |
|
) |
| |
def rtsprofile.rts_profile.RtsProfile.creation_date |
( |
|
self | ) |
|
The date this RT system was first created.
Usually set automatically by the tool that created the system.
Definition at line 164 of file rts_profile.py.
def rtsprofile.rts_profile.RtsProfile.creation_date |
( |
|
self, |
|
|
|
creation_date |
|
) |
| |
def rtsprofile.rts_profile.RtsProfile.data_port_connectors |
( |
|
self | ) |
|
Connections between data ports in the RT system.
Members are of type @ref DataPortConnector.
Definition at line 237 of file rts_profile.py.
def rtsprofile.rts_profile.RtsProfile.data_port_connectors |
( |
|
self, |
|
|
|
data_port_connectors |
|
) |
| |
def rtsprofile.rts_profile.RtsProfile.deactivation |
( |
|
self | ) |
|
Ordering and conditions for when the RT system is deactivated.
Definition at line 302 of file rts_profile.py.
def rtsprofile.rts_profile.RtsProfile.deactivation |
( |
|
self, |
|
|
|
deactivation |
|
) |
| |
def rtsprofile.rts_profile.RtsProfile.finalizing |
( |
|
self | ) |
|
Ordering and conditions for when the RT system is finalised.
Definition at line 335 of file rts_profile.py.
def rtsprofile.rts_profile.RtsProfile.finalizing |
( |
|
self, |
|
|
|
finalizing |
|
) |
| |
def rtsprofile.rts_profile.RtsProfile.find_comp_by_target |
( |
|
self, |
|
|
|
target |
|
) |
| |
API functions.
Finds a component using a TargetComponent or one of its subclasses.
@param A @ref TargetComponent object or subclass of @ref
TargetComponent.
@return A Component object matching the target.
@raises MissingComponentError
Definition at line 401 of file rts_profile.py.
def rtsprofile.rts_profile.RtsProfile.groups |
( |
|
self | ) |
|
Information about the component groups in the RT system.
May be an empty list if there are no groups. Members are of type @ref
ComponentGroup.
Definition at line 221 of file rts_profile.py.
def rtsprofile.rts_profile.RtsProfile.groups |
( |
|
self, |
|
|
|
groups |
|
) |
| |
def rtsprofile.rts_profile.RtsProfile.id |
( |
|
self | ) |
|
Properties.
ID used to distinguish the RT system.
Typically in the format '[vendor name].[system name].[version]'.
Definition at line 133 of file rts_profile.py.
def rtsprofile.rts_profile.RtsProfile.id |
( |
|
self, |
|
|
|
id |
|
) |
| |
def rtsprofile.rts_profile.RtsProfile.initializing |
( |
|
self | ) |
|
Ordering and conditions for when the RT system is initialised.
Definition at line 324 of file rts_profile.py.
def rtsprofile.rts_profile.RtsProfile.initializing |
( |
|
self, |
|
|
|
initializing |
|
) |
| |
def rtsprofile.rts_profile.RtsProfile.optional_data_connections |
( |
|
self | ) |
|
Finds all data connections in which one or more components are not
required.
If all the components involved in a connection are required, that
connection is also required. If one or more are not required, that
connection is optional.
Definition at line 416 of file rts_profile.py.
def rtsprofile.rts_profile.RtsProfile.optional_service_connections |
( |
|
self | ) |
|
Finds all service connections in which one or more components are
not required.
If all the components involved in a connection are required, that
connection is also required. If one or more are not required, that
connection is optional.
Definition at line 433 of file rts_profile.py.
def rtsprofile.rts_profile.RtsProfile.parse_from_xml |
( |
|
self, |
|
|
|
xml_spec |
|
) |
| |
XML.
Parse a string or file containing an XML specification.
Definition at line 485 of file rts_profile.py.
def rtsprofile.rts_profile.RtsProfile.parse_from_yaml |
( |
|
self, |
|
|
|
yaml_spec |
|
) |
| |
YAML.
Parse a string or file containing a YAML specification.
Definition at line 502 of file rts_profile.py.
def rtsprofile.rts_profile.RtsProfile.properties |
( |
|
self | ) |
|
Miscellaneous properties.
Stores key/value pair properties.
Part of the extended profile.
Definition at line 382 of file rts_profile.py.
def rtsprofile.rts_profile.RtsProfile.properties |
( |
|
self, |
|
|
|
properties |
|
) |
| |
def rtsprofile.rts_profile.RtsProfile.required_data_connections |
( |
|
self | ) |
|
Finds all data connections in which all components are required.
If all the components involved in a connection are required, that
connection is also required. If one or more are not required, that
connection is optional.
Definition at line 450 of file rts_profile.py.
def rtsprofile.rts_profile.RtsProfile.required_service_connections |
( |
|
self | ) |
|
Finds all service connections in which all components are required.
If all the components involved in a connection are required, that
connection is also required. If one or more are not required, that
connection is optional.
Definition at line 466 of file rts_profile.py.
def rtsprofile.rts_profile.RtsProfile.resetting |
( |
|
self | ) |
|
Ordering and conditions for when the RT system is reset.
Definition at line 313 of file rts_profile.py.
def rtsprofile.rts_profile.RtsProfile.resetting |
( |
|
self, |
|
|
|
resetting |
|
) |
| |
def rtsprofile.rts_profile.RtsProfile.save_to_xml |
( |
|
self | ) |
|
Save this RtsProfile into an XML-formatted string.
Definition at line 494 of file rts_profile.py.
def rtsprofile.rts_profile.RtsProfile.save_to_yaml |
( |
|
self | ) |
|
Save this RtsProfile into a YAML-formatted string.
Definition at line 506 of file rts_profile.py.
def rtsprofile.rts_profile.RtsProfile.service_port_connectors |
( |
|
self | ) |
|
Connections between service ports in the RT system.
Members are of type @ref ServicePortConnector.
Definition at line 253 of file rts_profile.py.
def rtsprofile.rts_profile.RtsProfile.service_port_connectors |
( |
|
self, |
|
|
|
service_port_connectors |
|
) |
| |
def rtsprofile.rts_profile.RtsProfile.shutdown |
( |
|
self | ) |
|
Ordering and conditions for when the RT system is shut down.
Definition at line 280 of file rts_profile.py.
def rtsprofile.rts_profile.RtsProfile.shutdown |
( |
|
self, |
|
|
|
shutdown |
|
) |
| |
def rtsprofile.rts_profile.RtsProfile.startup |
( |
|
self | ) |
|
Ordering and conditions for when the RT system is started.
Definition at line 269 of file rts_profile.py.
def rtsprofile.rts_profile.RtsProfile.startup |
( |
|
self, |
|
|
|
startup |
|
) |
| |
def rtsprofile.rts_profile.RtsProfile.update_date |
( |
|
self | ) |
|
The date this RT system was most recently updated.
Usually set automatically by the tool that created the system.
Definition at line 179 of file rts_profile.py.
def rtsprofile.rts_profile.RtsProfile.update_date |
( |
|
self, |
|
|
|
update_date |
|
) |
| |
def rtsprofile.rts_profile.RtsProfile.version |
( |
|
self | ) |
|
Version of the RTSProfile specification this is in.
Definition at line 194 of file rts_profile.py.
def rtsprofile.rts_profile.RtsProfile.version |
( |
|
self, |
|
|
|
version |
|
) |
| |
def rtsprofile.rts_profile.RtsProfile.version_up_log |
( |
|
self | ) |
|
Log entries for new versions.
When an update to a system is made, the log entry describing changes is
stored in this value.
Part of the extended profile.
Definition at line 364 of file rts_profile.py.
def rtsprofile.rts_profile.RtsProfile.version_up_log |
( |
|
self, |
|
|
|
version_up_log |
|
) |
| |
rtsprofile.rts_profile.RtsProfile._abstract |
|
private |
rtsprofile.rts_profile.RtsProfile._activation |
|
private |
rtsprofile.rts_profile.RtsProfile._comment |
|
private |
rtsprofile.rts_profile.RtsProfile._components |
|
private |
rtsprofile.rts_profile.RtsProfile._creation_date |
|
private |
rtsprofile.rts_profile.RtsProfile._data_port_connectors |
|
private |
rtsprofile.rts_profile.RtsProfile._deactivation |
|
private |
rtsprofile.rts_profile.RtsProfile._finalizing |
|
private |
rtsprofile.rts_profile.RtsProfile._groups |
|
private |
rtsprofile.rts_profile.RtsProfile._id |
|
private |
rtsprofile.rts_profile.RtsProfile._initializing |
|
private |
rtsprofile.rts_profile.RtsProfile._properties |
|
private |
rtsprofile.rts_profile.RtsProfile._resetting |
|
private |
rtsprofile.rts_profile.RtsProfile._service_port_connectors |
|
private |
rtsprofile.rts_profile.RtsProfile._shutdown |
|
private |
rtsprofile.rts_profile.RtsProfile._startup |
|
private |
rtsprofile.rts_profile.RtsProfile._update_date |
|
private |
rtsprofile.rts_profile.RtsProfile._version |
|
private |
rtsprofile.rts_profile.RtsProfile._version_up_log |
|
private |
rtsprofile.rts_profile.RtsProfile.abstract |
rtsprofile.rts_profile.RtsProfile.comment |
rtsprofile.rts_profile.RtsProfile.creation_date |
rtsprofile.rts_profile.RtsProfile.id |
rtsprofile.rts_profile.RtsProfile.update_date |
rtsprofile.rts_profile.RtsProfile.version |
The documentation for this class was generated from the following file: