def testCheckParameters(self): xsDataInput = XSDataInputWriteMatrix() xsDataInput.setInputMatrix(XSDataArray()) xsDataInput.setOutputMatrixFile(XSDataFile()) edPluginExecMatrixWrite = self.createPlugin() edPluginExecMatrixWrite.setDataInput(xsDataInput) edPluginExecMatrixWrite.checkParameters()
def doSuccessExecInvert(self, _edPlugin=None): EDVerbose.DEBUG("EDPluginControlMatrixInvertFilev1_0.doSuccessExecInvert") self.retrieveSuccessMessages(_edPlugin, "EDPluginControlMatrixInvertFilev1_0.doSuccessExecInvert") xsdmat = _edPlugin.getDataOutput().getOutputMatrix() xsdin = XSDataInputWriteMatrix() xsdin.setInputMatrix(xsdmat) xsdin.setOutputMatrixFile(self.getDataInput().getOutputMatrixFile()) self.__edPluginExecWrite.setDataInput(xsdin) self.__edPluginExecWrite.connectSUCCESS(self.doSuccessExecWrite) self.__edPluginExecWrite.connectFAILURE(self.doFailureExecWrite) self.__edPluginExecWrite.executeSynchronous()
def doSuccessExecInvert(self, _edPlugin=None): EDVerbose.DEBUG( "EDPluginControlMatrixInvertFilev1_0.doSuccessExecInvert") self.retrieveSuccessMessages( _edPlugin, "EDPluginControlMatrixInvertFilev1_0.doSuccessExecInvert") xsdmat = _edPlugin.getDataOutput().getOutputMatrix() xsdin = XSDataInputWriteMatrix() xsdin.setInputMatrix(xsdmat) xsdin.setOutputMatrixFile(self.getDataInput().getOutputMatrixFile()) self.__edPluginExecWrite.setDataInput(xsdin) self.__edPluginExecWrite.connectSUCCESS(self.doSuccessExecWrite) self.__edPluginExecWrite.connectFAILURE(self.doFailureExecWrite) self.__edPluginExecWrite.executeSynchronous()