Version: 6.5.0
dsccalcium.PyDSCComponent Class Reference

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

Inheritance diagram for dsccalcium.PyDSCComponent:
Inheritance graph

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)
 
def ping (self)
 
def setProperties (self, dico)
 
def getProperties (self)
 
def destroy (self)
 
def GetContainerRef (self)
 
def endService (self, serviceName)
 
def sendMessage (self, event_type, message)
 
def Names (self, GraphName, NodeName)
 
def graphName (self)
 
def nodeName (self)
 
def Killer (self, ThreadId, signum)
 
def Kill_impl (self)
 
def Stop_impl (self)
 
def Suspend_impl (self)
 
def Resume_impl (self)
 
def CpuUsed_impl (self)
 
def DumpPython (self, theStudy, isPublished, isMultiFile)
 
def getStudyId (self)
 
def hasObjectInfo (self)
 
def getObjectInfo (self, studyId, entry)
 
def IORToLocalPersistentID (self, theSObject, IORString, isMultiFile, isASCII)
 
def LocalPersistentIDToIOR (self, theSObject, PersistentID, isMultiFile, isASCII)
 
def ComponentDataType (self)
 
def Save (self, theComponent, theURL, isMultiFile)
 
def SaveASCII (self, theComponent, theURL, isMultiFile)
 
def Load (self, theComponent, theStream, theURL, isMultiFile)
 
def LoadASCII (self, theComponent, theStream, theURL, isMultiFile)
 
def Close (self, theComponent)
 
def CanPublishInStudy (self, theIOR)
 
def PublishInStudy (self, theStudy, theSObject, theObject, theName)
 
def CanCopy (self, theObject)
 

Data Fields

 proxy
 

Detailed Description

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.
Copyright © 2007-2012 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS