Пример #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
Пример #2
0
 def __init__(self):
     CoviseMsgLoopAction.__init__(
         self,
         "ErrorLog",
         36,
         "36 is covise error message" )
     self.error="None"
     self.textBrowser="None"
     self.gui=None
Пример #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 = {}
Пример #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 = {}
Пример #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 = {}
Пример #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.
Пример #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.
Пример #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
Пример #9
0
 def __init__(self):
     CoviseMsgLoopAction.__init__(self, "LISTACTION", self.UI,
                                  "action to react on the list of modules")
     self.stop = False
Пример #10
0
 def __init__(self):
     CoviseMsgLoopAction.__init__( self, "FinishedACTION", self.UI, "action to react on Finished msg of modules" )
     self.stop = False
Пример #11
0
 def __init__(self):
     CoviseMsgLoopAction.__init__( self, "LISTACTION", self.UI, "action to react on the list of modules" )
     self.stop = False
Пример #12
0
 def __init__(self):
     CoviseMsgLoopAction.__init__(self, "Error", 36, "action to print warnings to stdout" )
Пример #13
0
 def __init__(self):
     CoviseMsgLoopAction.__init__(self, "Warning", 55, "action to print warnings to stdout" )
Пример #14
0
 def __init__(self):
     CoviseMsgLoopAction.__init__(self, "ErrorLog", 36,
                                  "36 is covise error message")
     self.error = "None"
     self.textBrowser = "None"
     self.gui = None
Пример #15
0
 def __init__(self):
     CoviseMsgLoopAction.__init__(self, "Warning", 55,
                                  "action to print warnings to stdout")
Пример #16
0
 def __init__(self):
     CoviseMsgLoopAction.__init__(self, "Error", 36,
                                  "action to print warnings to stdout")
Пример #17
0
 def __init__(self):
     CoviseMsgLoopAction.__init__( self, "ConnectACTION", self.UI, "action to react on Connect msg of modules" )
     self.stop = False
Пример #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
Пример #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