Exemple #1
0
 def __init__(self, modName):
     CoviseMsgLoopAction.__init__(self, "InitACTION for " + modName,
                                  self.UI,
                                  "action to react on Init msg of modules")
     self.stop = False
     self.modName = modName
     self.modNr = None
Exemple #2
0
 def __init__(self):
     CoviseMsgLoopAction.__init__(
         self,
         "ErrorLog",
         36,
         "36 is covise error message" )
     self.error="None"
     self.textBrowser="None"
     self.gui=None
Exemple #3
0
    def __init__ (self):
        CoviseMsgLoopAction.__init__(
            self,
            self.__class__.__module__ + '.' + self.__class__.__name__,
            56, # Magic number 56 is covise-msg type INFO
            'Collect number of boundaries and names from covise-info-messages.')

        # start with true and set to false in first message
        self.__boundariesFinished = False
        self.__nboundaries = {}
        self.__boundaries = {}
Exemple #4
0
    def __init__ (self):
        CoviseMsgLoopAction.__init__(
            self,
            self.__class__.__module__ + '.' + self.__class__.__name__,
            56, # Magic number 56 is covise-msg type INFO
            'Collect parts-names and numbers from covise-info-messages.')

        self.__partsinfoFinished = False

        self.__refAndNameDict2d = {}
        self.__refAndNameDict3d = {}
Exemple #5
0
    def __init__(self):
        CoviseMsgLoopAction.__init__(
            self,
            self.__class__.__module__ + '.' + self.__class__.__name__,
            56,  # Magic number 56 is covise-msg type INFO
            'Collect parts-names and numbers from covise-info-messages.')

        self.__partsinfoFinished = False

        self.__refAndNameDict2d = {}
        self.__refAndNameDict3d = {}
Exemple #6
0
    def __init__(self, modname=None, instance=-1, params=None):
        CoviseMsgLoopAction.__init__(self,
                                     "PARAMACTION" + modname + str(instance),
                                     (self.UI, self.PARAM),
                                     "action to react on parameter changes")
        self.__modname_ = modname
        self.__instance_ = instance
        self.__params_ = {}
        self.__notifyFunc_ = None
        # transform parm list to dict
        if params:
            for p in params:
                self.__params_[p.name_] = p

        self.__infoPrintIsOn = False  # Goes together with self.__printInfo.
Exemple #7
0
    def __init__(self, modname=None, instance=-1, params=None):
        CoviseMsgLoopAction.__init__(
            self,
            "PARAMACTION" + modname + str(instance),
            (self.UI,self.PARAM), "action to react on parameter changes" )
        self.__modname_  = modname
        self.__instance_ = instance
        self.__params_ = {}
        self.__notifyFunc_ = None
        # transform parm list to dict
        if params:
            for p in params:
                self.__params_[p.name_] = p

        self.__infoPrintIsOn = False # Goes together with self.__printInfo.
Exemple #8
0
 def __init__(self, mod):
     CoviseMsgLoopAction.__init__( self, "DescACTION for "+ mod.name_, self.UI, "action to react on Init msg of modules" )
     self.stop = False
     self.mod = mod
Exemple #9
0
 def __init__(self):
     CoviseMsgLoopAction.__init__(self, "LISTACTION", self.UI,
                                  "action to react on the list of modules")
     self.stop = False
Exemple #10
0
 def __init__(self):
     CoviseMsgLoopAction.__init__( self, "FinishedACTION", self.UI, "action to react on Finished msg of modules" )
     self.stop = False
Exemple #11
0
 def __init__(self):
     CoviseMsgLoopAction.__init__( self, "LISTACTION", self.UI, "action to react on the list of modules" )
     self.stop = False
Exemple #12
0
 def __init__(self):
     CoviseMsgLoopAction.__init__(self, "Error", 36, "action to print warnings to stdout" )
Exemple #13
0
 def __init__(self):
     CoviseMsgLoopAction.__init__(self, "Warning", 55, "action to print warnings to stdout" )
Exemple #14
0
 def __init__(self):
     CoviseMsgLoopAction.__init__(self, "ErrorLog", 36,
                                  "36 is covise error message")
     self.error = "None"
     self.textBrowser = "None"
     self.gui = None
Exemple #15
0
 def __init__(self):
     CoviseMsgLoopAction.__init__(self, "Warning", 55,
                                  "action to print warnings to stdout")
Exemple #16
0
 def __init__(self):
     CoviseMsgLoopAction.__init__(self, "Error", 36,
                                  "action to print warnings to stdout")
Exemple #17
0
 def __init__(self):
     CoviseMsgLoopAction.__init__( self, "ConnectACTION", self.UI, "action to react on Connect msg of modules" )
     self.stop = False
Exemple #18
0
 def __init__(self):
     #print("NEW_LISTACTION::NEW_LISTACTION")
     CoviseMsgLoopAction.__init__(self, "NEW_LISTACTION", self.NEW_UI,
                                  "action to react on the list of modules")
     self.stop = False
Exemple #19
0
 def __init__(self, modName):
     CoviseMsgLoopAction.__init__( self, "InitACTION for "+ modName, self.UI, "action to react on Init msg of modules" )
     self.stop = False
     self.modName = modName
     self.modNr = None