The SALOME base class for all DSC components implemented in python (interface Engines::Superv_Component). More...

Public Member Functions | |
| def | __init__ (self, orb, poa, contID, containerName, instanceName, interfaceName) |
| def | init_service (self, service) |
| def | get_provides_port (self, name, error) |
| def | connect_uses_port (self, name, port) |
| def | connect_provides_port (self, name) |
| def | disconnect_provides_port (self, name, message) |
| def | disconnect_uses_port (self, name, port, message) |
| def | get_port_properties (self, name) |
| def | setInputFileToService (self, service_name, Salome_file_name) |
| def | checkInputFilesToService (self, service_name) |
| def | getInputFileToService (self, service_name, Salome_file_name) |
| def | setOutputFileToService (self, service_name, Salome_file_name) |
| def | getOutputFileToService (self, service_name, Salome_file_name) |
| def | checkOutputFilesToService (self, service_name) |
| def | beginService (self, service_name) |
Data Fields | |
| proxy | |
Static Public Attributes | |
| dictionary | enums |
The SALOME base class for all DSC components implemented in python (interface Engines::Superv_Component).
A Python DSC component is implemented by a Python class that has the name of the component and is located in a python module that has the name of the component. You must derive it and implement init_service and those methods that are services of the component.
| def dsccalcium.PyDSCComponent.__init__ | ( | self, | |
| orb, | |||
| poa, | |||
| contID, | |||
| containerName, | |||
| instanceName, | |||
| interfaceName | |||
| ) |
Reimplemented from SALOME_DriverPy.SALOME_DriverPy_i.
References SALOME_DriverPy.SALOME_DriverPy_i.__init__(), and SALOME_ComponentPy.SALOME_ComponentPy_i.__init__().
| def dsccalcium.PyDSCComponent.beginService | ( | self, | |
| service_name | |||
| ) |
Reimplemented from SALOME_ComponentPy.SALOME_ComponentPy_Gen_i.
References dsccalcium.PyDSCComponent.proxy, and Parallel_Salome_file_i.proxy.
| def dsccalcium.PyDSCComponent.checkInputFilesToService | ( | self, | |
| service_name | |||
| ) |
| def dsccalcium.PyDSCComponent.checkOutputFilesToService | ( | self, | |
| service_name | |||
| ) |
| def dsccalcium.PyDSCComponent.connect_provides_port | ( | self, | |
| name | |||
| ) |
| def dsccalcium.PyDSCComponent.connect_uses_port | ( | self, | |
| name, | |||
| port | |||
| ) |
| def dsccalcium.PyDSCComponent.disconnect_provides_port | ( | self, | |
| name, | |||
| message | |||
| ) |
| def dsccalcium.PyDSCComponent.disconnect_uses_port | ( | self, | |
| name, | |||
| port, | |||
| message | |||
| ) |
| def dsccalcium.PyDSCComponent.get_port_properties | ( | self, | |
| name | |||
| ) |
| def dsccalcium.PyDSCComponent.get_provides_port | ( | self, | |
| name, | |||
| error | |||
| ) |
| def dsccalcium.PyDSCComponent.getInputFileToService | ( | self, | |
| service_name, | |||
| Salome_file_name | |||
| ) |
| def dsccalcium.PyDSCComponent.getOutputFileToService | ( | self, | |
| service_name, | |||
| Salome_file_name | |||
| ) |
| def dsccalcium.PyDSCComponent.init_service | ( | self, | |
| service | |||
| ) |
| def dsccalcium.PyDSCComponent.setInputFileToService | ( | self, | |
| service_name, | |||
| Salome_file_name | |||
| ) |
| def dsccalcium.PyDSCComponent.setOutputFileToService | ( | self, | |
| service_name, | |||
| Salome_file_name | |||
| ) |
|
static |
| dsccalcium.PyDSCComponent.proxy |
Referenced by dsccalcium.PyDSCComponent.beginService(), dsccalcium.PyDSCComponent.checkInputFilesToService(), dsccalcium.PyDSCComponent.checkOutputFilesToService(), dsccalcium.PyDSCComponent.connect_provides_port(), dsccalcium.PyDSCComponent.connect_uses_port(), dsccalcium.PyDSCComponent.disconnect_provides_port(), dsccalcium.PyDSCComponent.disconnect_uses_port(), dsccalcium.PyDSCComponent.get_port_properties(), dsccalcium.PyDSCComponent.get_provides_port(), dsccalcium.PyDSCComponent.getInputFileToService(), dsccalcium.PyDSCComponent.getOutputFileToService(), dsccalcium.PyDSCComponent.setInputFileToService(), and dsccalcium.PyDSCComponent.setOutputFileToService().