├── .gitignore ├── CMakeLists.txt ├── LICENSE.txt ├── OpenXilEnv_Sil.png ├── Readme.md ├── Samples ├── ArduinoExample │ ├── .gitignore │ ├── CMakeLists.txt │ ├── README.md │ ├── arduino_example.ino │ ├── arduino_example_circuit.pdf │ ├── arduino_sim_config.ini │ ├── driverSimulation │ │ ├── include │ │ │ └── Arduino.h │ │ └── src │ │ │ └── pin.c │ └── xil_sources │ │ ├── CMakeLists.txt │ │ ├── arduino_model.cpp │ │ └── arduino_process.cpp ├── Automation │ └── Python │ │ ├── Automation.py │ │ └── OpenXilEnv │ │ ├── OpenXilEnv │ │ ├── XilEnvRpc.py │ │ ├── __init__.py │ │ └── openXilEnv.py │ │ ├── README.md │ │ ├── automationExample.py │ │ └── setup.py ├── CMakeLists.txt ├── Configurations │ ├── ElectricCarSample.ini │ └── ElectricCarSampleDebug.ini ├── ExternalProcesses │ ├── CMakeLists.txt │ ├── ExtProc_BatteryControlUnit │ │ ├── CMakeLists.txt │ │ └── ExtProc_BatteryControlUnit.c │ ├── ExtProc_BatteryModel │ │ ├── CMakeLists.txt │ │ └── ExtProc_BatteryModel.c │ ├── ExtProc_ElectricMotorControlUnit │ │ ├── CMakeLists.txt │ │ └── ExtProc_ElectricMotorControlUnit.c │ ├── ExtProc_ElectricMotorModel │ │ ├── CMakeLists.txt │ │ └── ExtProc_ElectricMotorModel.c │ ├── ExtProc_Esmini │ │ ├── CMakeLists.txt │ │ └── ExtProc_Esmini.cpp │ ├── ExtProc_FMU2Loader │ │ ├── CMakeLists.txt │ │ ├── ExtProc_FMU2Loader.cpp │ │ ├── Fmu2Execute.cpp │ │ ├── Fmu2Execute.h │ │ ├── Fmu2Extract.cpp │ │ ├── Fmu2Extract.h │ │ ├── Fmu2LoadDll.cpp │ │ ├── Fmu2LoadDll.h │ │ ├── Fmu2Struct.h │ │ ├── Fmu2Xml.cpp │ │ └── Fmu2Xml.h │ ├── ExtProc_FMU3Loader │ │ ├── CMakeLists.txt │ │ ├── ExtProc_FMU3Loader.cpp │ │ ├── Fmu3Execute.cpp │ │ ├── Fmu3Execute.h │ │ ├── Fmu3Extract.cpp │ │ ├── Fmu3Extract.h │ │ ├── Fmu3LoadDll.cpp │ │ ├── Fmu3LoadDll.h │ │ ├── Fmu3Struct.h │ │ ├── Fmu3Xml.cpp │ │ └── Fmu3Xml.h │ ├── ExtProc_FMUExtract │ │ ├── CMakeLists.txt │ │ ├── FmuExtract.cpp │ │ └── FmuExtract.h │ ├── ExtProc_Simple │ │ ├── CMakeLists.txt │ │ └── ExtProc_Simple.c │ ├── ExtProc_TransmitionControlUnit │ │ ├── CMakeLists.txt │ │ └── ExtProc_TransmitionControlUnit.c │ ├── ExtProc_TransmitionModel │ │ ├── CMakeLists.txt │ │ └── ExtProc_TransmitionModel.c │ └── ExtProc_VehicleModel │ │ ├── CMakeLists.txt │ │ └── ExtProc_VehicleModel.c └── LinuxRemoteMaster │ ├── CMakeLists.txt │ └── LinuxRemoteMasterEasySample │ ├── CMakeLists.txt │ └── LinuxRemoteMasterEasySample.c ├── Src ├── A2lParser │ ├── A2LAccess.c │ ├── A2LAccess.h │ ├── A2LAccessData.c │ ├── A2LAccessData.h │ ├── A2LBuffer.c │ ├── A2LBuffer.h │ ├── A2LCache.c │ ├── A2LCache.h │ ├── A2LConvert.c │ ├── A2LConvert.h │ ├── A2LConvertToXcp.c │ ├── A2LConvertToXcp.h │ ├── A2LData.h │ ├── A2LLink.c │ ├── A2LLink.h │ ├── A2LLinkThread.c │ ├── A2LLinkThread.h │ ├── A2LParser.c │ ├── A2LParser.h │ ├── A2LParserModuleIfData.c │ ├── A2LRecordLayout.c │ ├── A2LTokenizer.c │ ├── A2LTokenizer.h │ ├── A2LUpdate.c │ ├── A2LUpdate.h │ ├── A2LValue.c │ ├── A2LValue.h │ ├── CMakeLists.txt │ ├── S19BinFile.c │ └── S19BinFile.h ├── Blackboard │ ├── Blackboard.c │ ├── Blackboard.h │ ├── BlackboardAccess.c │ ├── BlackboardAccess.h │ ├── BlackboardConvertFromTo.h │ ├── BlackboardHashIndex.c │ ├── BlackboardHashIndex.h │ ├── BlackboardIniCache.c │ ├── BlackboardIniCache.h │ ├── BlackboardIniCleaner.c │ ├── BlackboardIniCleaner.h │ ├── CMakeLists.txt │ ├── EquationList.c │ ├── EquationList.h │ ├── EquationParser.c │ ├── EquationParser.h │ ├── ExecutionStack.c │ ├── ExecutionStack.h │ ├── ExportA2L.c │ ├── ExportA2L.h │ ├── TextReplace.c │ └── TextReplace.h ├── CMakeLists.txt ├── CanDataBase │ ├── CMakeLists.txt │ ├── CanDataBase.c │ ├── CanDataBase.h │ ├── CanRecorder.c │ ├── CanRecorder.h │ ├── ImportDbc.c │ ├── ImportDbc.h │ ├── ReadCanCfg.c │ └── ReadCanCfg.h ├── CanServer │ ├── CMakeLists.txt │ ├── CanFifo.c │ ├── CanFifo.h │ ├── CanReplaceConversion.c │ ├── CanReplaceConversion.h │ ├── CanServer.c │ ├── CanServer.h │ ├── CcpAndXcpFilterHook.c │ ├── CcpAndXcpFilterHook.h │ ├── CcpControl.c │ ├── CcpControl.h │ ├── CcpMessages.h │ ├── VirtualCanDriver.c │ ├── VirtualCanDriver.h │ ├── XcpControl.c │ └── XcpControl.h ├── DebugInfos │ ├── CMakeLists.txt │ ├── DebugInfoAccessExpression.c │ ├── DebugInfoAccessExpression.h │ ├── DebugInfoDB.c │ ├── DebugInfoDB.h │ ├── DebugInfos.h │ ├── DelayedFetchData.c │ ├── DelayedFetchData.h │ ├── DwarfDecodeLocation.h │ ├── DwarfDwAt.h │ ├── DwarfDwForm.h │ ├── DwarfDwTags.h │ ├── DwarfReader.c │ ├── DwarfReader.h │ ├── ExtProcessReferences.c │ ├── ExtProcessReferences.h │ ├── GetExeDebugSign.c │ ├── GetExeDebugSign.h │ ├── GetLabelByAddress.c │ ├── GetNextStructEntry.c │ ├── GetNextStructEntry.h │ ├── LoadSaveToFile.c │ ├── LoadSaveToFile.h │ ├── ReadExeInfos.c │ ├── ReadExeInfos.h │ ├── ReadWriteValue.c │ ├── ReadWriteValue.h │ ├── SectionFilter.c │ ├── SectionFilter.h │ ├── WriteSection2Exe.c │ └── WriteSection2Exe.h ├── Equations │ ├── CMakeLists.txt │ ├── EquationsSingle.c │ ├── EquationsSingle.h │ ├── EquationsSplitCompiler.c │ └── EquationsSplitCompiler.h ├── ExternalProcess │ ├── CMakeLists.txt │ ├── ExtpBaseMessages.c │ ├── ExtpBaseMessages.h │ ├── ExtpBlackboard.c │ ├── ExtpBlackboard.h │ ├── ExtpBlackboardCopyLists.c │ ├── ExtpBlackboardCopyLists.h │ ├── ExtpError.c │ ├── ExtpError.h │ ├── ExtpExtError.c │ ├── ExtpExtError.h │ ├── ExtpKillExternProcessEvent.c │ ├── ExtpKillExternProcessEvent.h │ ├── ExtpMain.c │ ├── ExtpMemoryAccess.c │ ├── ExtpMemoryAccess.h │ ├── ExtpMemoryAllocation.c │ ├── ExtpMemoryAllocation.h │ ├── ExtpParseCmdLine.c │ ├── ExtpParseCmdLine.h │ ├── ExtpPipeMessages.c │ ├── ExtpPipeMessages.h │ ├── ExtpProcessAndTaskInfos.h │ ├── ExtpReferenceVariables.c │ ├── ExtpReferenceVariables.h │ ├── ExtpSocketMessages.c │ ├── ExtpSocketMessages.h │ ├── ExtpUnixDomainSocketMessages.c │ ├── ExtpUnixDomainSocketMessages.h │ ├── ExtpVirtualNetwork.c │ ├── ExtpVirtualNetwork.h │ ├── ExtpVirtualNetworkCan.c │ ├── ExtpXcpCopyPages.cpp │ ├── ExtpXcpCopyPages.h │ ├── OpenXilEnvExtp.def │ ├── XilEnvExtProc.h │ ├── XilEnvExtProcCan.h │ ├── XilEnvExtProcInterfaceMethods.c │ ├── XilEnvExtProcMain.c │ └── XilEnvRtProc.h ├── GUI │ ├── CMakeLists.txt │ ├── Console │ │ ├── AllOtherStubs.cpp │ │ ├── CMakeLists.txt │ │ ├── ErrorDialog.cpp │ │ ├── ErrorDialog.h │ │ ├── IniFileDosNotExistDialog.h │ │ ├── Main.cpp │ │ ├── MainWindow.cpp │ │ ├── MainWindow.h │ │ ├── MainWinowSyncWithOtherThreads.cpp │ │ ├── MainWinowSyncWithOtherThreads.h │ │ ├── MessageWindow.cpp │ │ ├── MessageWindow.h │ │ ├── OscilloscopeCyclic.c │ │ ├── OscilloscopeCyclic.h │ │ ├── ScriptDebuggingDialog.h │ │ ├── ScriptErrorDialog.cpp │ │ ├── ScriptErrorDialog.h │ │ └── WaitUntilCanStart.c │ └── Qt │ │ ├── BlackboardObserver.cpp │ │ ├── BlackboardObserver.h │ │ ├── CMakeLists.txt │ │ ├── ColorHelpers.cpp │ │ ├── ColorHelpers.h │ │ ├── ConfigFilter.cpp │ │ ├── ConfigFilter.h │ │ ├── DarkMode.cpp │ │ ├── DarkMode.h │ │ ├── Data │ │ ├── A2LFunctionModel.cpp │ │ ├── A2LFunctionModel.h │ │ ├── A2LMeasurementCalibrationModel.cpp │ │ ├── A2LMeasurementCalibrationModel.h │ │ ├── BlackboardVariableModel.cpp │ │ ├── BlackboardVariableModel.h │ │ ├── CMakeLists.txt │ │ ├── CheckableSortFilterProxyModel.cpp │ │ ├── CheckableSortFilterProxyModel.h │ │ ├── LampsModel.cpp │ │ ├── LampsModel.h │ │ ├── TextTableModel.cpp │ │ └── TextTableModel.h │ │ ├── Dialog │ │ ├── A2LSelectWidget.cpp │ │ ├── A2LSelectWidget.h │ │ ├── A2LSelectWidget.ui │ │ ├── AboutDialog.cpp │ │ ├── AboutDialog.h │ │ ├── AboutDialog.ui │ │ ├── ActiveEquationsDialog.cpp │ │ ├── ActiveEquationsDialog.h │ │ ├── ActiveEquationsDialog.ui │ │ ├── AddFilterDialog.cpp │ │ ├── AddFilterDialog.h │ │ ├── AddFilterDialog.ui │ │ ├── AddNewProcessSchedulerBarrier.cpp │ │ ├── AddNewProcessSchedulerBarrier.h │ │ ├── AddNewProcessSchedulerBarrier.ui │ │ ├── AddNewProcessSchedulerBarrierr.h │ │ ├── BarrierHistoryLoggingDialog.cpp │ │ ├── BarrierHistoryLoggingDialog.h │ │ ├── BarrierHistoryLoggingDialog.ui │ │ ├── BasicSettingsDialog.cpp │ │ ├── BasicSettingsDialog.h │ │ ├── BasicSettingsDialog.ui │ │ ├── BinaryCompareDialog.cpp │ │ ├── BinaryCompareDialog.h │ │ ├── BinaryCompareDialog.ui │ │ ├── BlackboardAccessDialog.cpp │ │ ├── BlackboardAccessDialog.h │ │ ├── BlackboardAccessDialog.ui │ │ ├── BlackboardInfoDialog.cpp │ │ ├── BlackboardInfoDialog.h │ │ ├── BlackboardInfoDialog.ui │ │ ├── BlackboardInternalDialog.cpp │ │ ├── BlackboardInternalDialog.h │ │ ├── BlackboardInternalDialog.ui │ │ ├── CMakeLists.txt │ │ ├── CanConfigDialog.cpp │ │ ├── CanConfigDialog.h │ │ ├── CanConfigDialog.ui │ │ ├── CanConfigJ1939AdditionalsDialog.cpp │ │ ├── CanConfigJ1939AdditionalsDialog.h │ │ ├── CanConfigJ1939AdditionalsDialog.ui │ │ ├── CanConfigJ1939MultiPGDialog.cpp │ │ ├── CanConfigJ1939MultiPGDialog.h │ │ ├── CanConfigJ1939MultiPGDialog.ui │ │ ├── CanConfigSearchVariableDialog.cpp │ │ ├── CanConfigSearchVariableDialog.h │ │ ├── CanConfigSearchVariableDialog.ui │ │ ├── CcpConfigDialog.cpp │ │ ├── CcpConfigDialog.h │ │ ├── CcpConfigDialog.ui │ │ ├── ChangeValueTextDialog.cpp │ │ ├── ChangeValueTextDialog.h │ │ ├── ChangeValueTextDialog.ui │ │ ├── ConfigSignalConversionDialog.cpp │ │ ├── ConfigSignalConversionDialog.h │ │ ├── ConfigSignalConversionDialog.ui │ │ ├── ConfigureBarrierDialog.cpp │ │ ├── ConfigureBarrierDialog.h │ │ ├── ConfigureBarrierDialog.ui │ │ ├── ConfigureProcessDialog.cpp │ │ ├── ConfigureProcessDialog.h │ │ ├── ConfigureProcessDialog.ui │ │ ├── ConfigureSchedulersDialog.cpp │ │ ├── ConfigureSchedulersDialog.h │ │ ├── ConfigureSchedulersDialog.ui │ │ ├── ConfigureXcpOverEthernetDialog.cpp │ │ ├── ConfigureXcpOverEthernetDialog.h │ │ ├── ConfigureXcpOverEthernetDialog.ui │ │ ├── DbcImportDialog.cpp │ │ ├── DbcImportDialog.h │ │ ├── DbcImportDialog.ui │ │ ├── DefaultDialogFrame.cpp │ │ ├── DefaultDialogFrame.h │ │ ├── DefaultDialogFrame.ui │ │ ├── DefaultElementDialog.cpp │ │ ├── DefaultElementDialog.h │ │ ├── DefaultElementDialog.ui │ │ ├── Dialog.cpp │ │ ├── Dialog.h │ │ ├── DialogFrame.cpp │ │ ├── DialogFrame.h │ │ ├── EditTextReplaceDialog.cpp │ │ ├── EditTextReplaceDialog.h │ │ ├── EditTextReplaceDialog.ui │ │ ├── ExportReferenceListDialog.cpp │ │ ├── ExportReferenceListDialog.h │ │ ├── ExportReferenceListDialog.ui │ │ ├── ExportSheetsDialog.cpp │ │ ├── ExportSheetsDialog.h │ │ ├── ExportSheetsDialog.ui │ │ ├── ExportVariablePropertiesDialog.cpp │ │ ├── ExportVariablePropertiesDialog.h │ │ ├── ExportVariablePropertiesDialog.ui │ │ ├── ExtErrorDialog.cpp │ │ ├── ExtErrorDialog.h │ │ ├── ExtErrorDialog.ui │ │ ├── ExternProcessCopyListDialog.cpp │ │ ├── ExternProcessCopyListDialog.h │ │ ├── ExternProcessCopyListDialog.ui │ │ ├── GlobalSectionFilterDialog.cpp │ │ ├── GlobalSectionFilterDialog.h │ │ ├── GlobalSectionFilterDialog.ui │ │ ├── HotkeysDialog.cpp │ │ ├── HotkeysDialog.h │ │ ├── HotkeysDialog.ui │ │ ├── ImExportControlLampsDialog.cpp │ │ ├── ImExportControlLampsDialog.h │ │ ├── ImExportControlLampsDialog.ui │ │ ├── ImportReferenceListDialog.cpp │ │ ├── ImportReferenceListDialog.h │ │ ├── ImportReferenceListDialog.ui │ │ ├── ImportSheetsDialog.cpp │ │ ├── ImportSheetsDialog.h │ │ ├── ImportSheetsDialog.ui │ │ ├── ImportVariableProperties.cpp │ │ ├── ImportVariableProperties.h │ │ ├── ImportVariableProperties.ui │ │ ├── IniFileDosNotExistDialog.cpp │ │ ├── IniFileDosNotExistDialog.h │ │ ├── IniFileDosNotExistDialog.ui │ │ ├── InsertCANErrorDialog.cpp │ │ ├── InsertCANErrorDialog.h │ │ ├── InsertCANErrorDialog.ui │ │ ├── InternalsDialog.cpp │ │ ├── InternalsDialog.h │ │ ├── InternalsDialog.ui │ │ ├── KnobDialogFrame.cpp │ │ ├── KnobDialogFrame.h │ │ ├── KnobDialogFrame.ui │ │ ├── LampsDialogFrame.cpp │ │ ├── LampsDialogFrame.h │ │ ├── LampsDialogFrame.ui │ │ ├── LoadCcpConfigDialog.cpp │ │ ├── LoadCcpConfigDialog.h │ │ ├── LoadCcpConfigDialog.ui │ │ ├── LoadSvlFileDialog.cpp │ │ ├── LoadSvlFileDialog.h │ │ ├── LoadSvlFileDialog.ui │ │ ├── LoadValuesDialog.cpp │ │ ├── LoadValuesDialog.h │ │ ├── LoadValuesDialog.ui │ │ ├── LoadXcpConfigDialog.cpp │ │ ├── LoadXcpConfigDialog.h │ │ ├── LoadXcpConfigDialog.ui │ │ ├── LoadedDebugInfosDialog.cpp │ │ ├── LoadedDebugInfosDialog.h │ │ ├── LoadedDebugInfosDialog.ui │ │ ├── NewHotkeyDialog.cpp │ │ ├── NewHotkeyDialog.h │ │ ├── NewHotkeyDialog.ui │ │ ├── NewSheetDialog.cpp │ │ ├── NewSheetDialog.h │ │ ├── NewSheetDialog.ui │ │ ├── OpenElementDialog.cpp │ │ ├── OpenElementDialog.h │ │ ├── OpenElementDialog.ui │ │ ├── OszilloscopeDialogFrame.cpp │ │ ├── OszilloscopeDialogFrame.h │ │ ├── OszilloscopeDialogFrame.ui │ │ ├── ProgressBar.cpp │ │ ├── ProgressBar.h │ │ ├── ProgressBar.ui │ │ ├── ReferencedLabelsDialog.cpp │ │ ├── ReferencedLabelsDialog.h │ │ ├── ReferencedLabelsDialog.ui │ │ ├── RemoteMasterCallStatitsticsDialog.cpp │ │ ├── RemoteMasterCallStatitsticsDialog.h │ │ ├── RemoteMasterCallStatitsticsDialog.ui │ │ ├── SaveCcpConfigDialog.cpp │ │ ├── SaveCcpConfigDialog.h │ │ ├── SaveCcpConfigDialog.ui │ │ ├── SaveProcessesDialog.cpp │ │ ├── SaveProcessesDialog.h │ │ ├── SaveProcessesDialog.ui │ │ ├── SaveXcpConfigDialog.cpp │ │ ├── SaveXcpConfigDialog.h │ │ ├── SaveXcpConfigDialog.ui │ │ ├── ScriptDebugWindowSync.cpp │ │ ├── ScriptDebugWindowSync.h │ │ ├── ScriptDebuggingDialog.cpp │ │ ├── ScriptDebuggingDialog.h │ │ ├── ScriptDebuggingDialog.ui │ │ ├── ScriptErrorDialog.cpp │ │ ├── ScriptErrorDialog.h │ │ ├── ScriptErrorDialog.ui │ │ ├── ScriptUserDialog.cpp │ │ ├── ScriptUserDialog.h │ │ ├── SearchWindowIncludedVariableDialog.cpp │ │ ├── SearchWindowIncludedVariableDialog.h │ │ ├── SearchWindowIncludedVariableDialog.ui │ │ ├── StartProcessDialog.cpp │ │ ├── StartProcessDialog.h │ │ ├── StartProcessDialog.ui │ │ ├── StartStopCcpCalDialog.cpp │ │ ├── StartStopCcpCalDialog.h │ │ ├── StartStopCcpCalDialog.ui │ │ ├── StartStopCppDialog.cpp │ │ ├── StartStopCppDialog.h │ │ ├── StartStopCppDialog.ui │ │ ├── StartStopXcpCalDialog.cpp │ │ ├── StartStopXcpCalDialog.h │ │ ├── StartStopXcpCalDialog.ui │ │ ├── StartStopXcpDialog.cpp │ │ ├── StartStopXcpDialog.h │ │ ├── StartStopXcpDialog.ui │ │ ├── StimuliConfiguration.cpp │ │ ├── StimuliConfiguration.h │ │ ├── StimuliConfiguration.ui │ │ ├── StopProcessDialog.cpp │ │ ├── StopProcessDialog.h │ │ ├── StopProcessDialog.ui │ │ ├── TextWindowChangeValueDialog.cpp │ │ ├── TextWindowChangeValueDialog.h │ │ ├── TextWindowChangeValueDialog.ui │ │ ├── TraceConfiguration.cpp │ │ ├── TraceConfiguration.h │ │ ├── TraceConfiguration.ui │ │ ├── UserDefinedBlackboardVariablesDialog.cpp │ │ ├── UserDefinedBlackboardVariablesDialog.h │ │ ├── UserDefinedBlackboardVariablesDialog.ui │ │ ├── UserDefinedEnvironmentVariablesDialog.cpp │ │ ├── UserDefinedEnvironmentVariablesDialog.h │ │ ├── UserDefinedEnvironmentVariablesDialog.ui │ │ ├── WritesSctionToExeDialog.cpp │ │ ├── WritesSctionToExeDialog.h │ │ ├── WritesSctionToExeDialog.ui │ │ ├── XcpConfigDialog.cpp │ │ ├── XcpConfigDialog.h │ │ └── XcpConfigDialog.ui │ │ ├── FileDialog.cpp │ │ ├── FileDialog.h │ │ ├── GetEventPos.h │ │ ├── GetNewUniqueWindowTitleStartWith.h │ │ ├── Hotkey.cpp │ │ ├── Hotkey.h │ │ ├── HotkeyHandler.cpp │ │ ├── HotkeyHandler.h │ │ ├── Icons.qrc │ │ ├── Icons │ │ ├── Bargraph.ico │ │ ├── BlackboardList.ico │ │ ├── Button.png │ │ ├── CAN.png │ │ ├── CalTreeDataTypeArray.png │ │ ├── CalTreeDataTypeBase.png │ │ ├── CalTreeDataTypeBaseClass.png │ │ ├── CalTreeDataTypeErr.png │ │ ├── CalTreeDataTypePointer.png │ │ ├── CalTreeDataTypeStruct.png │ │ ├── Car_1.ico │ │ ├── Car_2.ico │ │ ├── Car_3.ico │ │ ├── Car_4.ico │ │ ├── Continue.png │ │ ├── ContinueOne.png │ │ ├── Curve.png │ │ ├── DarkMode.png │ │ ├── DarkModeSmall.png │ │ ├── DefaultModeSmall.png │ │ ├── ErrorFile.png │ │ ├── Filter.png │ │ ├── Ghost.png │ │ ├── Graph.ico │ │ ├── Help.png │ │ ├── HideControlPanel.png │ │ ├── Html.png │ │ ├── Knob.png │ │ ├── Lamps.png │ │ ├── List.png │ │ ├── ListView.png │ │ ├── MagnifierDebugFile.png │ │ ├── MoveControlPanel.png │ │ ├── NormalMode.png │ │ ├── NormalModeSmall.png │ │ ├── Octopus_1.ico │ │ ├── Octopus_2.ico │ │ ├── Octopus_3.ico │ │ ├── Octopus_4.ico │ │ ├── Octopus_5.ico │ │ ├── ScrewDriver.ico │ │ ├── SheetMinus.png │ │ ├── SheetPlus.png │ │ ├── ShowControlPanel.png │ │ ├── Slider.ico │ │ ├── SoftIceCream_0.ico │ │ ├── SoftIceCream_1.ico │ │ ├── SoftIceCream_10.ico │ │ ├── SoftIceCream_11.ico │ │ ├── SoftIceCream_12.ico │ │ ├── SoftIceCream_13.ico │ │ ├── SoftIceCream_14.ico │ │ ├── SoftIceCream_15.ico │ │ ├── SoftIceCream_16.ico │ │ ├── SoftIceCream_17.ico │ │ ├── SoftIceCream_2.ico │ │ ├── SoftIceCream_3.ico │ │ ├── SoftIceCream_4.ico │ │ ├── SoftIceCream_5.ico │ │ ├── SoftIceCream_6.ico │ │ ├── SoftIceCream_7.ico │ │ ├── SoftIceCream_8.ico │ │ ├── SoftIceCream_9.ico │ │ ├── Softcar.gif │ │ ├── Tacho.ico │ │ ├── Text.ico │ │ ├── Text.png │ │ ├── UserDraw.ico │ │ ├── XMas_1.ico │ │ ├── XMas_2.ico │ │ ├── XMas_3.ico │ │ ├── XMas_4.ico │ │ ├── XiL.png │ │ ├── about.png │ │ ├── car.png │ │ ├── editError.png │ │ ├── equ_list_analog.png │ │ ├── equ_list_bb.png │ │ ├── equ_list_before.png │ │ ├── equ_list_behind.png │ │ ├── equ_list_can.png │ │ ├── equ_list_global.png │ │ ├── equ_list_rampe.png │ │ ├── equ_list_unknown.png │ │ ├── equ_list_waituntil.png │ │ ├── ext_err_error.png │ │ ├── ext_err_info.png │ │ ├── ext_err_realtime.png │ │ ├── ext_err_unknown.png │ │ ├── ext_err_warning.png │ │ ├── realtime.png │ │ ├── refresh.png │ │ ├── save.png │ │ └── stop.png │ │ ├── Interfaces │ │ ├── InterfaceWidgetElement.h │ │ └── InterfaceWidgetPlugin.h │ │ ├── IsAlreadyRunnung.cpp │ │ ├── IsAlreadyRunnung.h │ │ ├── IsWindowNameValid.h │ │ ├── IsWindowOpen.h │ │ ├── Main.cpp │ │ ├── MainWindow.cpp │ │ ├── MainWindow.h │ │ ├── MainWindow.ui │ │ ├── MainWinowSyncWithOtherThreads.cpp │ │ ├── MainWinowSyncWithOtherThreads.h │ │ ├── PhysValueInput.cpp │ │ ├── PhysValueInput.h │ │ ├── QVariantConvert.cpp │ │ ├── QVariantConvert.h │ │ ├── QtIniFile.cpp │ │ ├── QtIniFile.h │ │ ├── Sheets.cpp │ │ ├── Sheets.h │ │ ├── StatusBar.cpp │ │ ├── StatusBar.h │ │ ├── StringHelpers.cpp │ │ ├── StringHelpers.h │ │ ├── TextValueInput.cpp │ │ ├── TextValueInput.h │ │ ├── ValueInput.cpp │ │ ├── ValueInput.h │ │ ├── Widgets │ │ ├── A2LCalMap │ │ │ ├── A2LCalMap3DView.cpp │ │ │ ├── A2LCalMap3DView.h │ │ │ ├── A2LCalMapConfigDlg.cpp │ │ │ ├── A2LCalMapConfigDlg.h │ │ │ ├── A2LCalMapConfigDlg.ui │ │ │ ├── A2LCalMapData.cpp │ │ │ ├── A2LCalMapData.h │ │ │ ├── A2LCalMapDelegateEditor.cpp │ │ │ ├── A2LCalMapDelegateEditor.h │ │ │ ├── A2LCalMapKeyBindigDlg.cpp │ │ │ ├── A2LCalMapKeyBindigDlg.h │ │ │ ├── A2LCalMapKeyBindigDlg.ui │ │ │ ├── A2LCalMapModel.cpp │ │ │ ├── A2LCalMapModel.h │ │ │ ├── A2LCalMapPropertiesDlg.cpp │ │ │ ├── A2LCalMapPropertiesDlg.h │ │ │ ├── A2LCalMapPropertiesDlg.ui │ │ │ ├── A2LCalMapType.cpp │ │ │ ├── A2LCalMapType.h │ │ │ ├── A2LCalMapWidget.cpp │ │ │ ├── A2LCalMapWidget.h │ │ │ ├── A2LCalWidgetSync.cpp │ │ │ ├── A2LCalWidgetSync.h │ │ │ └── CMakeLists.txt │ │ ├── A2LCalSingle │ │ │ ├── A2LCalSingleConfigDlg.cpp │ │ │ ├── A2LCalSingleConfigDlg.h │ │ │ ├── A2LCalSingleConfigDlg.ui │ │ │ ├── A2LCalSingleData.cpp │ │ │ ├── A2LCalSingleData.h │ │ │ ├── A2LCalSingleDelegateEditor.cpp │ │ │ ├── A2LCalSingleDelegateEditor.h │ │ │ ├── A2LCalSingleModel.cpp │ │ │ ├── A2LCalSingleModel.h │ │ │ ├── A2LCalSinglePropertiesDlg.cpp │ │ │ ├── A2LCalSinglePropertiesDlg.h │ │ │ ├── A2LCalSinglePropertiesDlg.ui │ │ │ ├── A2LCalSingleTableView.cpp │ │ │ ├── A2LCalSingleTableView.h │ │ │ ├── A2LCalSingleType.cpp │ │ │ ├── A2LCalSingleType.h │ │ │ ├── A2LCalSingleWidget.cpp │ │ │ ├── A2LCalSingleWidget.h │ │ │ └── CMakeLists.txt │ │ ├── Bargraph │ │ │ ├── BargraphType.cpp │ │ │ ├── BargraphType.h │ │ │ ├── BargraphWidget.cpp │ │ │ ├── BargraphWidget.h │ │ │ └── CMakeLists.txt │ │ ├── BlackboardSignalSelectionWidget.cpp │ │ ├── BlackboardSignalSelectionWidget.h │ │ ├── CMakeLists.txt │ │ ├── CalibrationTree │ │ │ ├── CMakeLists.txt │ │ │ ├── CalibrationTreeAddReferenceDialog.cpp │ │ │ ├── CalibrationTreeAddReferenceDialog.h │ │ │ ├── CalibrationTreeAddReferenceDialog.ui │ │ │ ├── CalibrationTreeDelegateEditor.cpp │ │ │ ├── CalibrationTreeDelegateEditor.h │ │ │ ├── CalibrationTreeItem.cpp │ │ │ ├── CalibrationTreeItem.h │ │ │ ├── CalibrationTreeModel.cpp │ │ │ ├── CalibrationTreeModel.h │ │ │ ├── CalibrationTreeOldDialogs.c │ │ │ ├── CalibrationTreeOldDialogs.h │ │ │ ├── CalibrationTreeProxyModel.cpp │ │ │ ├── CalibrationTreeProxyModel.h │ │ │ ├── CalibrationTreeType.cpp │ │ │ ├── CalibrationTreeType.h │ │ │ ├── CalibrationTreeView.cpp │ │ │ ├── CalibrationTreeView.h │ │ │ ├── CalibrationTreeWidget.cpp │ │ │ ├── CalibrationTreeWidget.h │ │ │ ├── ConfigCalibrationTreeViewDialog.cpp │ │ │ ├── ConfigCalibrationTreeViewDialog.h │ │ │ └── ConfigCalibrationTreeViewDialog.ui │ │ ├── CanMessage │ │ │ ├── CMakeLists.txt │ │ │ ├── CanMessageTreeView.cpp │ │ │ ├── CanMessageTreeView.h │ │ │ ├── CanMessageWindowConfigDialog.cpp │ │ │ ├── CanMessageWindowConfigDialog.h │ │ │ ├── CanMessageWindowConfigDialog.ui │ │ │ ├── CanMessageWindowModel.cpp │ │ │ ├── CanMessageWindowModel.h │ │ │ ├── CanMessageWindowModelItem.h │ │ │ ├── CanMessageWindowType.cpp │ │ │ ├── CanMessageWindowType.h │ │ │ ├── CanMessageWindowWidget.cpp │ │ │ └── CanMessageWindowWidget.h │ │ ├── CcpConfigWidget.cpp │ │ ├── CcpConfigWidget.h │ │ ├── CcpConfigWidget.ui │ │ ├── ConfigureXcpOverEthernetWidget.cpp │ │ ├── ConfigureXcpOverEthernetWidget.h │ │ ├── ConfigureXcpOverEthernetWidget.ui │ │ ├── ControlPanel.cpp │ │ ├── ControlPanel.h │ │ ├── ControlPanel.ui │ │ ├── DragAndDrop.cpp │ │ ├── DragAndDrop.h │ │ ├── Enum │ │ │ ├── CMakeLists.txt │ │ │ ├── EnumType.cpp │ │ │ ├── EnumType.h │ │ │ ├── EnumWidget.cpp │ │ │ ├── EnumWidget.h │ │ │ ├── OneEnumButton.cpp │ │ │ ├── OneEnumButton.h │ │ │ ├── OneEnumVariable.cpp │ │ │ └── OneEnumVariable.h │ │ ├── ErrorDialog.cpp │ │ ├── ErrorDialog.h │ │ ├── Knob │ │ │ ├── CMakeLists.txt │ │ │ ├── KnobOrTachoWidget.cpp │ │ │ ├── KnobOrTachoWidget.h │ │ │ ├── KnobType.cpp │ │ │ ├── KnobType.h │ │ │ ├── KnobWidget.cpp │ │ │ └── KnobWidget.h │ │ ├── Lamps │ │ │ ├── CMakeLists.txt │ │ │ ├── LampsGraphicsView.cpp │ │ │ ├── LampsGraphicsView.h │ │ │ ├── LampsType.cpp │ │ │ ├── LampsType.h │ │ │ ├── LampsWidget.cpp │ │ │ └── LampsWidget.h │ │ ├── MdiSubWindow.cpp │ │ ├── MdiSubWindow.h │ │ ├── MdiWindowType.cpp │ │ ├── MdiWindowType.h │ │ ├── MdiWindowWidget.cpp │ │ ├── MdiWindowWidget.h │ │ ├── MessageWindow.cpp │ │ ├── MessageWindow.h │ │ ├── MessageWindow.ui │ │ ├── Oscilloscope │ │ │ ├── CMakeLists.txt │ │ │ ├── Oscilloscope.cpp │ │ │ ├── Oscilloscope.h │ │ │ ├── OscilloscopeConfigDialog.cpp │ │ │ ├── OscilloscopeConfigDialog.h │ │ │ ├── OscilloscopeConfigDialog.ui │ │ │ ├── OscilloscopeCyclic.c │ │ │ ├── OscilloscopeCyclic.h │ │ │ ├── OscilloscopeData.h │ │ │ ├── OscilloscopeDesc.cpp │ │ │ ├── OscilloscopeDesc.h │ │ │ ├── OscilloscopeDescFrame.cpp │ │ │ ├── OscilloscopeDescFrame.h │ │ │ ├── OscilloscopeDrawArea.cpp │ │ │ ├── OscilloscopeDrawArea.h │ │ │ ├── OscilloscopeFile.c │ │ │ ├── OscilloscopeFile.h │ │ │ ├── OscilloscopeINI.cpp │ │ │ ├── OscilloscopeINI.h │ │ │ ├── OscilloscopeLineWidthWidget.cpp │ │ │ ├── OscilloscopeLineWidthWidget.h │ │ │ ├── OscilloscopeRightYAxis.h │ │ │ ├── OscilloscopeSelectVariableDialog.cpp │ │ │ ├── OscilloscopeSelectVariableDialog.h │ │ │ ├── OscilloscopeSelectVariableDialog.ui │ │ │ ├── OscilloscopeStatus.cpp │ │ │ ├── OscilloscopeStatus.h │ │ │ ├── OscilloscopeTimeAxis.cpp │ │ │ ├── OscilloscopeTimeAxis.h │ │ │ ├── OscilloscopeWidget.cpp │ │ │ ├── OscilloscopeWidget.h │ │ │ ├── OscilloscopeYAxis.cpp │ │ │ ├── OscilloscopeYAxis.h │ │ │ ├── OscilloscopeZoomHistoryDialog.cpp │ │ │ ├── OscilloscopeZoomHistoryDialog.h │ │ │ └── OscilloscopeZoomHistoryDialog.ui │ │ ├── Slider │ │ │ ├── CMakeLists.txt │ │ │ ├── SliderType.cpp │ │ │ ├── SliderType.h │ │ │ ├── SliderWidget.cpp │ │ │ └── SliderWidget.h │ │ ├── StartStopCcpCalWidget.cpp │ │ ├── StartStopCcpCalWidget.h │ │ ├── StartStopCcpCalWidget.ui │ │ ├── StartStopCppWidget.cpp │ │ ├── StartStopCppWidget.h │ │ ├── StartStopCppWidget.ui │ │ ├── StartStopXcpCalWidget.cpp │ │ ├── StartStopXcpCalWidget.h │ │ ├── StartStopXcpCalWidget.ui │ │ ├── StartStopXcpWidget.cpp │ │ ├── StartStopXcpWidget.h │ │ ├── StartStopXcpWidget.ui │ │ ├── Tacho │ │ │ ├── CMakeLists.txt │ │ │ ├── TachoType.cpp │ │ │ ├── TachoType.h │ │ │ ├── TachoWidget.cpp │ │ │ └── TachoWidget.h │ │ ├── Text │ │ │ ├── CMakeLists.txt │ │ │ ├── TextTableView.cpp │ │ │ ├── TextTableView.h │ │ │ ├── TextTableViewDelegate.cpp │ │ │ ├── TextTableViewDelegate.h │ │ │ ├── TextType.cpp │ │ │ ├── TextType.h │ │ │ ├── TextWidget.cpp │ │ │ └── TextWidget.h │ │ ├── UserControl │ │ │ ├── CMakeLists.txt │ │ │ ├── UserControlButton.cpp │ │ │ ├── UserControlButton.h │ │ │ ├── UserControlConfigDialog.cpp │ │ │ ├── UserControlConfigDialog.h │ │ │ ├── UserControlConfigDialog.ui │ │ │ ├── UserControlConfigElementDelegate.cpp │ │ │ ├── UserControlConfigElementDelegate.h │ │ │ ├── UserControlConfigElementPropertiesModel.cpp │ │ │ ├── UserControlConfigElementPropertiesModel.h │ │ │ ├── UserControlElement.cpp │ │ │ ├── UserControlElement.h │ │ │ ├── UserControlGroup.cpp │ │ │ ├── UserControlGroup.h │ │ │ ├── UserControlModel.cpp │ │ │ ├── UserControlModel.h │ │ │ ├── UserControlParser.cpp │ │ │ ├── UserControlParser.h │ │ │ ├── UserControlPropertiesList.cpp │ │ │ ├── UserControlPropertiesList.h │ │ │ ├── UserControlRoot.cpp │ │ │ ├── UserControlRoot.h │ │ │ ├── UserControlType.cpp │ │ │ ├── UserControlType.h │ │ │ ├── UserControlWidget.cpp │ │ │ └── UserControlWidget.h │ │ ├── UserDraw │ │ │ ├── CMakeLists.txt │ │ │ ├── UserDrawBinaryImage.cpp │ │ │ ├── UserDrawBinaryImage.h │ │ │ ├── UserDrawButton.cpp │ │ │ ├── UserDrawButton.h │ │ │ ├── UserDrawCircle.cpp │ │ │ ├── UserDrawCircle.h │ │ │ ├── UserDrawConfigDialog.cpp │ │ │ ├── UserDrawConfigDialog.h │ │ │ ├── UserDrawConfigDialog.ui │ │ │ ├── UserDrawConfigElementDelegate.cpp │ │ │ ├── UserDrawConfigElementDelegate.h │ │ │ ├── UserDrawConfigElementPropertiesModel.cpp │ │ │ ├── UserDrawConfigElementPropertiesModel.h │ │ │ ├── UserDrawConfigPointsElementDialog.cpp │ │ │ ├── UserDrawConfigPointsElementDialog.h │ │ │ ├── UserDrawConfigPointsElementDialog.ui │ │ │ ├── UserDrawConfigXYPlotElementDialog.cpp │ │ │ ├── UserDrawConfigXYPlotElementDialog.h │ │ │ ├── UserDrawConfigXYPlotElementDialog.ui │ │ │ ├── UserDrawElement.cpp │ │ │ ├── UserDrawElement.h │ │ │ ├── UserDrawElement.h.keep │ │ │ ├── UserDrawGroup.cpp │ │ │ ├── UserDrawGroup.h │ │ │ ├── UserDrawImage.cpp │ │ │ ├── UserDrawImage.h │ │ │ ├── UserDrawImageItem.h │ │ │ ├── UserDrawImageModel.cpp │ │ │ ├── UserDrawImageModel.h │ │ │ ├── UserDrawLayer.cpp │ │ │ ├── UserDrawLayer.h │ │ │ ├── UserDrawLine.cpp │ │ │ ├── UserDrawLine.h │ │ │ ├── UserDrawModel.cpp │ │ │ ├── UserDrawModel.h │ │ │ ├── UserDrawParser.cpp │ │ │ ├── UserDrawParser.h │ │ │ ├── UserDrawPoint.cpp │ │ │ ├── UserDrawPoint.h │ │ │ ├── UserDrawPolygon.cpp │ │ │ ├── UserDrawPolygon.h │ │ │ ├── UserDrawPropertiesList.cpp │ │ │ ├── UserDrawPropertiesList.h │ │ │ ├── UserDrawRect.cpp │ │ │ ├── UserDrawRect.h │ │ │ ├── UserDrawRoot.cpp │ │ │ ├── UserDrawRoot.h │ │ │ ├── UserDrawSplitParameters.cpp │ │ │ ├── UserDrawSplitParameters.h │ │ │ ├── UserDrawText.cpp │ │ │ ├── UserDrawText.h │ │ │ ├── UserDrawType.cpp │ │ │ ├── UserDrawType.h │ │ │ ├── UserDrawWidget.cpp │ │ │ ├── UserDrawWidget.h │ │ │ ├── UserDrawXYPlot.cpp │ │ │ └── UserDrawXYPlot.h │ │ ├── XcpConfigWidget.cpp │ │ ├── XcpConfigWidget.h │ │ └── XcpConfigWidget.ui │ │ ├── WindowNameAlreadyInUse.h │ │ ├── WindowUpdateTimers.cpp │ │ └── WindowUpdateTimers.h ├── Global │ ├── CMakeLists.txt │ ├── CheckIfAlreadyRunning.c │ ├── CheckIfAlreadyRunning.h │ ├── Compare2DoubleEqual.c │ ├── Compare2DoubleEqual.h │ ├── Config.h │ ├── EnvironmentVariables.c │ ├── EnvironmentVariables.h │ ├── Fifos.c │ ├── Fifos.h │ ├── FileExtensions.h │ ├── Files.c │ ├── Files.h │ ├── GlobalDataTypes.h │ ├── GlobalErrorCodes.h │ ├── ImExportDskFile.c │ ├── ImExportDskFile.h │ ├── ImExportVarProperties.c │ ├── ImExportVarProperties.h │ ├── IniFileDontExist.c │ ├── IniFileDontExist.h │ ├── InitProcess.c │ ├── InitProcess.h │ ├── MainValues.c │ ├── MainValues.h │ ├── Message.c │ ├── Message.h │ ├── MyMemory.c │ ├── MyMemory.h │ ├── ParseCommandLine.c │ ├── ParseCommandLine.h │ ├── Platform.c │ ├── Platform.h │ ├── ReadConfig.c │ ├── ReadConfig.h │ ├── ReplaceFuncWithProg.c │ ├── ReplaceFuncWithProg.h │ ├── RunTimeMeasurement.c │ ├── RunTimeMeasurement.h │ ├── StartExeAndWait.c │ ├── StartExeAndWait.h │ ├── StartupInit.c │ ├── StartupInit.h │ ├── ThrowError.c │ ├── ThrowError.h │ ├── TimeProcess.c │ ├── TimeProcess.h │ ├── TimeStamp.h │ ├── UniqueNumber.c │ ├── UniqueNumber.h │ ├── UtilsWindow.c │ ├── UtilsWindow.h │ ├── VersionInfoSection.c │ ├── VersionInfoSection.h │ ├── Wildcards.c │ ├── Wildcards.h │ ├── WindowIniHelper.c │ ├── WindowIniHelper.h │ ├── my_stdint.h │ ├── my_udiv128.c │ └── my_udiv128.h ├── IniFileDataBase │ ├── CMakeLists.txt │ ├── DeleteWindowFromIni.c │ ├── DeleteWindowFromIni.h │ ├── IniDataBase.c │ ├── IniDataBase.h │ ├── IniDataBaseInOutputFilter.c │ ├── IniDatabaseInOutputFilter.h │ ├── IniFileDataBase.c │ ├── IniFileDataBase.h │ └── IniSectionEntryDefines.h ├── Ramps │ ├── CMakeLists.txt │ ├── RampsSingle.c │ ├── RampsSingle.h │ ├── RampsSplitCompiler.c │ ├── RampsSplitCompiler.h │ └── RampsStruct.h ├── RemoteMaster │ ├── CMakeLists.txt │ ├── Client │ │ ├── CMakeLists.txt │ │ ├── GetElfSectionVersionInfos.c │ │ ├── GetElfSectionVersionInfos.h │ │ ├── ReadDspConfig.c │ │ ├── ReadDspConfig.h │ │ ├── RemoteMasterBlackboard.c │ │ ├── RemoteMasterBlackboard.h │ │ ├── RemoteMasterCanFifo.c │ │ ├── RemoteMasterCanFifo.h │ │ ├── RemoteMasterControlProcess.c │ │ ├── RemoteMasterControlProcess.h │ │ ├── RemoteMasterCopyStartExecutable.c │ │ ├── RemoteMasterCopyStartExecutable.h │ │ ├── RemoteMasterFiFo.c │ │ ├── RemoteMasterFiFo.h │ │ ├── RemoteMasterMessage.c │ │ ├── RemoteMasterMessage.h │ │ ├── RemoteMasterNet.c │ │ ├── RemoteMasterNet.h │ │ ├── RemoteMasterOther.c │ │ ├── RemoteMasterOther.h │ │ ├── RemoteMasterScheduler.c │ │ └── RemoteMasterScheduler.h │ ├── Server │ │ ├── CMakeLists.txt │ │ ├── CpuClock.c │ │ ├── CpuClock.h │ │ ├── DecodeBlackboard.c │ │ ├── Drivers │ │ │ ├── CMakeLists.txt │ │ │ ├── IrqCpuAffinity.c │ │ │ ├── IrqCpuAffinity.h │ │ │ ├── RemoteMasterGlobalData.h │ │ │ ├── SearchAndInitHardware.c │ │ │ ├── SearchAndInitHardware.h │ │ │ └── SocketCan │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── MapSocketCAN.c │ │ │ │ ├── MapSocketCAN.h │ │ │ │ ├── ReadWriteSocketCAN.c │ │ │ │ └── ReadWriteSocketCAN.h │ │ ├── Equations │ │ │ ├── CMakeLists.txt │ │ │ ├── EquationsSplitExecute.c │ │ │ └── EquationsSplitExecute.h │ │ ├── MemoryAllocation.c │ │ ├── MemoryAllocation.h │ │ ├── Ramps │ │ │ ├── CMakeLists.txt │ │ │ ├── RampsSplitExecute.c │ │ │ └── RampsSplitExecute.h │ │ ├── RealtimeModelInterface.h │ │ ├── RealtimeProcessEquations.c │ │ ├── RealtimeProcessEquations.h │ │ ├── RealtimeScheduler.c │ │ ├── RealtimeScheduler.h │ │ ├── RemoteMasterDecoder.c │ │ ├── RemoteMasterDecoder.h │ │ ├── RemoteMasterEmptyModel.c │ │ ├── RemoteMasterFile.c │ │ ├── RemoteMasterFile.h │ │ ├── RemoteMasterLibrary.c │ │ ├── RemoteMasterLock.c │ │ ├── RemoteMasterLock.h │ │ ├── RemoteMasterMessage.c │ │ ├── RemoteMasterModelInterface.c │ │ ├── RemoteMasterModelInterface.h │ │ ├── RemoteMasterReadWriteMemory.c │ │ ├── RemoteMasterReadWriteMemory.h │ │ ├── RemoteMasterReqToClient.c │ │ ├── RemoteMasterReqToClient.h │ │ ├── RemoteMasterServer.c │ │ ├── RemoteMasterServer.h │ │ ├── RemoteMasterTestProcesses.c │ │ ├── Scheduler.h │ │ ├── SetModelNameAndFunctionPointers.h │ │ ├── Stups.c │ │ └── tcb.h │ ├── StructRM.h │ ├── StructsRM_Blackboard.h │ ├── StructsRM_CanFifo.h │ ├── StructsRM_FiFo.h │ ├── StructsRM_Message.h │ └── StructsRM_Scheduler.h ├── RpcInterface │ ├── CMakeLists.txt │ ├── RpcClientSocket.c │ ├── RpcClientSocket.h │ ├── RpcControlProcess.c │ ├── RpcControlProcess.h │ ├── RpcFuncBase.h │ ├── RpcFuncBlackboard.h │ ├── RpcFuncCalibration.h │ ├── RpcFuncCan.h │ ├── RpcFuncCcp.h │ ├── RpcFuncClient.c │ ├── RpcFuncClientA2lLinks.c │ ├── RpcFuncClientA2lLinks.h │ ├── RpcFuncGui.h │ ├── RpcFuncInternalProcesses.h │ ├── RpcFuncLogin.h │ ├── RpcFuncMisc.h │ ├── RpcFuncSched.h │ ├── RpcFuncXcp.h │ ├── RpcServerFuncBlackboard.c │ ├── RpcServerFuncCalibration.c │ ├── RpcServerFuncCan.c │ ├── RpcServerFuncCcp.c │ ├── RpcServerFuncGui.c │ ├── RpcServerFuncInternalProcesses.c │ ├── RpcServerFuncLogin.c │ ├── RpcServerFuncMisc.c │ ├── RpcServerFuncSched.c │ ├── RpcServerFuncXcp.c │ ├── RpcSocketServer.c │ ├── RpcSocketServer.h │ ├── ThrowErrorOnClientSide.c │ ├── XilEnvRpc.def │ ├── XilEnvRpc.h │ └── XilEnvRpc.py ├── Scheduler │ ├── BaseMessages.c │ ├── BaseMessages.h │ ├── CMakeLists.txt │ ├── ExtProcessRefFilter.c │ ├── ExtProcessRefFilter.h │ ├── ExternLoginTimeoutControl.c │ ├── ExternLoginTimeoutControl.h │ ├── InternalProcessList.h │ ├── KillAllExternProcesses.c │ ├── KillAllExternProcesses.h │ ├── PipeMessages.c │ ├── PipeMessages.h │ ├── PipeMessagesShared.h │ ├── ProcessEquations.c │ ├── ProcessEquations.h │ ├── ScBbCopyLists.c │ ├── ScBbCopyLists.h │ ├── SchedBarrier.c │ ├── SchedBarrier.h │ ├── SchedEnableDisable.c │ ├── SchedEnableDisable.h │ ├── Scheduler.c │ ├── Scheduler.h │ ├── SharedDataTypes.h │ ├── SocketMessages.c │ ├── SocketMessages.h │ ├── UnixDomainSocketMessages.c │ ├── UnixDomainSocketMessages.h │ ├── VirtualNetwork.c │ ├── VirtualNetwork.h │ ├── VirtualNetworkShared.h │ └── tcb.h ├── Script │ ├── BaseCmd.cpp │ ├── BaseCmd.h │ ├── Breakpoints.cpp │ ├── Breakpoints.h │ ├── CMakeLists.txt │ ├── CmdTable.cpp │ ├── CmdTable.h │ ├── Commands │ │ ├── AddBbvariAutomaticCmd.cpp │ │ ├── AddBbvariCmd.cpp │ │ ├── AddDialogItemCmd.cpp │ │ ├── AddParamsToListCmd.cpp │ │ ├── AddRefListCmd.cpp │ │ ├── AddSheetCmd.cpp │ │ ├── AppendCanVariantCmd.cpp │ │ ├── AtomicCmd.cpp │ │ ├── BeepCmd.cpp │ │ ├── BreakCmd.cpp │ │ ├── CMakeLists.txt │ │ ├── CallProcCmd.cpp │ │ ├── CdCmd.cpp │ │ ├── ChangeSettingsCmd.cpp │ │ ├── ClearCanErrCmd.cpp │ │ ├── ClearDesktopCmd.cpp │ │ ├── CloseWindowCmd.cpp │ │ ├── ConvertA2lToXcpCmd.cpp │ │ ├── CopyCmd.cpp │ │ ├── CreateDialogCmd.cpp │ │ ├── CreateRecorderCfgCmd.cpp │ │ ├── DefLocalsCmd.cpp │ │ ├── DefProcCmd.cpp │ │ ├── DelAllCanVariantsCmd.cpp │ │ ├── DelCanVariantByNameCmd.cpp │ │ ├── DelCanVariantCmd.cpp │ │ ├── DelCmd.cpp │ │ ├── DelParamListCmd.cpp │ │ ├── DelParamsFromListCmd.cpp │ │ ├── DelayCmd.cpp │ │ ├── DeleteSheetCmd.cpp │ │ ├── DeleteWindowCmd.cpp │ │ ├── DetachAllBbvarisCmd.cpp │ │ ├── DisableRangeControlCmd.cpp │ │ ├── ElseCmd.cpp │ │ ├── ElseIfCmd.cpp │ │ ├── EnableRangeControlCmd.cpp │ │ ├── EndAtomicCmd.cpp │ │ ├── EndDefLocalsCmd.cpp │ │ ├── EndDefProcCmd.cpp │ │ ├── EndIfCmd.cpp │ │ ├── EndWhileCmd.cpp │ │ ├── Eof.cpp │ │ ├── ExitCmd.cpp │ │ ├── ExportAnalogCfgCmd.cpp │ │ ├── ExportAsapFileCmd.cpp │ │ ├── ExportHotkeyCmd.cpp │ │ ├── ExportReferencesCmd.cpp │ │ ├── ExportWindowCmd.cpp │ │ ├── GosubCmd.cpp │ │ ├── GotoCmd.cpp │ │ ├── IfCmd.cpp │ │ ├── ImportExportControlLampStencils.cpp │ │ ├── ImportHotkeyCmd.cpp │ │ ├── ImportVarPropertiesCmd.cpp │ │ ├── ImportWindowCmd.cpp │ │ ├── LoadAnalogCfgCmd.cpp │ │ ├── LoadCanVariantCmd.cpp │ │ ├── LoadCcpCfgCmd.cpp │ │ ├── LoadDesktopCmd.cpp │ │ ├── LoadRefListCmd.cpp │ │ ├── LoadSelCanNodeCmd.cpp │ │ ├── LoadSvlCmd.cpp │ │ ├── LoadSymBinCmd.cpp │ │ ├── LoadXcpCfgCmd.cpp │ │ ├── MdCmd.cpp │ │ ├── MessageCmd.cpp │ │ ├── NewParamListCmd.cpp │ │ ├── NewReportFileCmd.cpp │ │ ├── OpenReportFileCmd.cpp │ │ ├── OpenWindowCmd.cpp │ │ ├── QuitCmd.cpp │ │ ├── RdCmd.cpp │ │ ├── RecorderAddCommentCmd.cpp │ │ ├── RemoveBbVariCmd.cpp │ │ ├── RemoveEnvVarCmd.cpp │ │ ├── RenameSheetCmd.cpp │ │ ├── ReportCmd.cpp │ │ ├── ReportLinkToCmd.cpp │ │ ├── ReportNlCmd.cpp │ │ ├── ReportRawCmd.cpp │ │ ├── ReportRawParCmd.cpp │ │ ├── ResetCanSigConvCmd.cpp │ │ ├── ResetProcessCmd.cpp │ │ ├── ReturnCmd.cpp │ │ ├── RunCmd.cpp │ │ ├── SaveRefListCmd.cpp │ │ ├── SaveSalCmd.cpp │ │ ├── SaveSatvlCmd.cpp │ │ ├── SaveSvlCmd.cpp │ │ ├── SaveToBinCmd.cpp │ │ ├── SelectSheetCmd.cpp │ │ ├── SetCanChannelCountCmd.cpp │ │ ├── SetCanChannelStartupStateCmd.cpp │ │ ├── SetCanErrCmd.cpp │ │ ├── SetCanSigConvCmd.cpp │ │ ├── SetConversionCmd.cpp │ │ ├── SetEnvVarCmd.cpp │ │ ├── SetMaxCmd.cpp │ │ ├── SetMinCmd.cpp │ │ ├── SetMinMaxCmd.cpp │ │ ├── SetProjectNameCmd.cpp │ │ ├── SetbbvariCmd.cpp │ │ ├── ShowDialogCmd.cpp │ │ ├── StartCCPCmd.cpp │ │ ├── StartCalibrationCmd.cpp │ │ ├── StartCanRecorderCmd.cpp │ │ ├── StartCcp2Cmd.cpp │ │ ├── StartCcpCal2Cmd.cpp │ │ ├── StartCcpCalCmd.cpp │ │ ├── StartExeCmd.cpp │ │ ├── StartMeasurementCmd.cpp │ │ ├── StartPlayerCmd.cpp │ │ ├── StartProcessCmd.cpp │ │ ├── StartProcessEx2Cmd.cpp │ │ ├── StartProcessExCmd.cpp │ │ ├── StartRampeCmd.cpp │ │ ├── StartRecorderCmd.cpp │ │ ├── StartTriggerCmd.cpp │ │ ├── StartXcpCalCmd.cpp │ │ ├── StartXcpCmd.cpp │ │ ├── StopCalibrationCmd.cpp │ │ ├── StopCanRecorderCmd.cpp │ │ ├── StopCcpCalCmd.cpp │ │ ├── StopCppCmd.cpp │ │ ├── StopMeasurementCmd.cpp │ │ ├── StopPlayerCmd.cpp │ │ ├── StopProcessCmd.cpp │ │ ├── StopRampeCmd.cpp │ │ ├── StopRecorderCmd.cpp │ │ ├── StopSchedulerCmd.cpp │ │ ├── StopTriggerCmd.cpp │ │ ├── StopXcpCalCmd.cpp │ │ ├── StopXcpCmd.cpp │ │ ├── TransmitCanCmd.cpp │ │ ├── UpdateA2lCmd.cpp │ │ ├── UsingCmd.cpp │ │ ├── VerboseCmd.cpp │ │ ├── WaitExeCmd.cpp │ │ ├── WaitPlayerCmd.cpp │ │ ├── WaitRampeCmd.cpp │ │ ├── WaitUntilCmd.cpp │ │ ├── WhileCmd.cpp │ │ ├── WrBbvariDisableCmd.cpp │ │ ├── WrBbvariEnableCmd.cpp │ │ └── WriteSectionToExeCmd.cpp │ ├── CompilerTree.cpp │ ├── CompilerTree.h │ ├── DefLocalsTree.cpp │ ├── DefLocalsTree.h │ ├── Executor.cpp │ ├── Executor.h │ ├── FileCache.cpp │ ├── FileCache.h │ ├── FileStack.h │ ├── FormatMessageOutput.cpp │ ├── FormatMessageOutput.h │ ├── GotoTable.h │ ├── InterfaceToScript.c │ ├── InterfaceToScript.h │ ├── ParamList.cpp │ ├── ParamList.h │ ├── Parser.cpp │ ├── Parser.h │ ├── Proc.cpp │ ├── Proc.h │ ├── ProcStack.h │ ├── ProcTable.h │ ├── Script.cpp │ ├── Script.h │ ├── ScriptChangeSettings.c │ ├── ScriptChangeSettings.h │ ├── ScriptDebugFile.c │ ├── ScriptDebugFile.h │ ├── ScriptErrorFile.c │ ├── ScriptErrorFile.h │ ├── ScriptErrorMsgDlg.cpp │ ├── ScriptErrorMsgDlg.h │ ├── ScriptHtmlFunctions.c │ ├── ScriptHtmlFunctions.h │ ├── ScriptList.c │ ├── ScriptList.h │ ├── ScriptMessageFile.c │ ├── ScriptMessageFile.h │ ├── ScriptStartExe.c │ ├── ScriptStartExe.h │ ├── Stack.cpp │ ├── Stack.h │ ├── ToParseFileStack.h │ ├── Tokenizer.cpp │ └── Tokenizer.h ├── StimulusPlayer │ ├── CMakeLists.txt │ ├── StimulusPlayer.c │ ├── StimulusPlayer.h │ ├── StimulusReadDatFile.c │ ├── StimulusReadDatFile.h │ ├── StimulusReadFile.c │ ├── StimulusReadFile.h │ ├── StimulusReadMdfFile.c │ ├── StimulusReadMdfFile.h │ ├── WriteToBlackboardPipe.c │ └── WriteToBlackboardPipe.h ├── TraceRecorder │ ├── CMakeLists.txt │ ├── MdfStructs.h │ ├── ReadFromBlackboardPipe.c │ ├── ReadFromBlackboardPipe.h │ ├── TraceRecorder.c │ ├── TraceRecorder.h │ ├── TraceWriteFile.c │ ├── TraceWriteFile.h │ ├── TraceWriteMdfFile.c │ └── TraceWriteMdfFile.h ├── Utilities │ ├── CMakeLists.txt │ ├── ConfigurablePrefix.c │ ├── ConfigurablePrefix.h │ ├── GetNotANumber.c │ ├── GetNotANumber.h │ ├── StringMaxChar.c │ └── StringMaxChar.h └── XcpOverEthernet │ ├── CMakeLists.txt │ ├── XcpConnector.cpp │ ├── XcpConnector.h │ ├── XcpCopyPages.cpp │ ├── XcpCopyPages.h │ ├── XcpGlobalDeclarations.h │ ├── XcpOverEthernet.cpp │ ├── XcpOverEthernet.h │ ├── XcpOverEthernetCfg.h │ ├── XcpWrapper.cpp │ └── XcpWrapper.h ├── Tools ├── CMakeLists.txt └── RemoteStartServer │ ├── CMakeLists.txt │ └── RemoteStartServer.c ├── Userguide ├── Images │ ├── 2PC_Concept.png │ ├── AddMsbLsb.png │ ├── AndBits.png │ ├── Bargraph.png │ ├── BasicSettingsDisplay.png │ ├── BasicSettingsINI.png │ ├── BasicSettingsMain.png │ ├── BasicSettingsRPC.png │ ├── BasicSettingsRemoteMaster.png │ ├── BasicSettingsScript.png │ ├── CalibrationTree.png │ ├── CalibrationTree_1.jpg │ ├── CalibrationTree_2.jpg │ ├── CalibrationTree_3.jpg │ ├── CalibrationTree_4.jpg │ ├── CalibrationTree_5.jpg │ ├── CalibrationTree_6.jpg │ ├── CanDbAdditionalSignals.png │ ├── CanDbNode.png │ ├── CanDbObject.png │ ├── CanDbServer.png │ ├── CanDbSignal.png │ ├── Concept.jpg │ ├── ControlLampConfig.png │ ├── ControlLamps.png │ ├── ControlPanel.png │ ├── ControlPanel_Blackboard.png │ ├── ControlPanel_InternalProcess.png │ ├── ControlPanel_Process.png │ ├── ControlPanel_RunControl.png │ ├── Enums.png │ ├── ErrorWindow.png │ ├── ExternProcess.png │ ├── GetBits.png │ ├── InsertCanError.png │ ├── Knob.png │ ├── KnobConfig.png │ ├── MainWindow.png │ ├── NewControlLamp.png │ ├── NoneRealtimeProcesses.png │ ├── OrBits.png │ ├── Oscilloscope.png │ ├── OscilloscopeChooseVariable.png │ ├── Processes.png │ ├── RangeControl.png │ ├── RealtimeProcesses.png │ ├── RemoteMasterInstall.png │ ├── ScriptDebugging.jpg │ ├── SetBits.png │ ├── Slider.png │ ├── Swap16.png │ ├── Swap32.png │ ├── Tacho.png │ ├── TextReplaceEditor.png │ ├── TextWindow.png │ ├── Toolbox.png │ ├── ToolboxComplete.png │ ├── ToolboxControlPanel.png │ ├── ToolboxHideShowNoneExisting.png │ ├── ToolboxNotFasterThanRealtime.png │ ├── WhatIsOpenXilEnv.png │ └── XorBits.png ├── OpenXiL_Userguide.md └── OpenXiL_Userguide.pdf └── third_party ├── Qt ├── LICENSE.GPL3 └── LICENSE.LGPLv3 ├── esmini └── LICENSE.txt └── pugixml └── LICENSE.md /.gitignore: -------------------------------------------------------------------------------- 1 | *.txt.user 2 | 3 | # Python package information 4 | *.egg-info/ 5 | 6 | # Python build files 7 | build/ 8 | dist/ -------------------------------------------------------------------------------- /OpenXilEnv_Sil.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/OpenXilEnv_Sil.png -------------------------------------------------------------------------------- /Samples/ArduinoExample/.gitignore: -------------------------------------------------------------------------------- 1 | # IDE generated 2 | .idea 3 | .vscode 4 | 5 | # Compiled files 6 | build 7 | __pycache__ -------------------------------------------------------------------------------- /Samples/ArduinoExample/arduino_example.ino: -------------------------------------------------------------------------------- 1 | #include "Arduino.h" 2 | 3 | const uint8_t LED_PIN = 10; 4 | const uint8_t ENABLE_BUTTON_PIN = 2; 5 | 6 | void setup() 7 | { 8 | pinMode(LED_PIN, OUTPUT); 9 | pinMode(ENABLE_BUTTON_PIN, INPUT); 10 | } 11 | 12 | void loop() 13 | { 14 | if (digitalRead(ENABLE_BUTTON_PIN) == HIGH) 15 | { 16 | digitalWrite(LED_PIN, HIGH); 17 | } 18 | else 19 | { 20 | digitalWrite(LED_PIN, LOW); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /Samples/ArduinoExample/arduino_example_circuit.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Samples/ArduinoExample/arduino_example_circuit.pdf -------------------------------------------------------------------------------- /Samples/ArduinoExample/xil_sources/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(${BINARY} arduino_process.cpp) 2 | add_executable(${BINARY}_Model arduino_model.cpp) 3 | 4 | set(XIL_LIB_PATH "C:/Program Files (x86)/XilEnvGui") 5 | 6 | include_directories(arduinoInclude PRIVATE ${CMAKE_SOURCE_DIR}/driverSimulation/include) 7 | include_directories(xilEnvInclude PRIVATE ${XIL_LIB_PATH}/include) 8 | 9 | add_library(pinSimulation ${CMAKE_SOURCE_DIR}/driverSimulation/src/pin.c) 10 | 11 | target_link_libraries(${BINARY} pinSimulation) 12 | target_link_libraries(${BINARY}_Model pinSimulation) -------------------------------------------------------------------------------- /Samples/Automation/Python/Automation.py: -------------------------------------------------------------------------------- 1 | import sys 2 | sys.path.append('Path to XilEnv install folder') 3 | 4 | from XilEnvRpc import * 5 | 6 | print ("Python version:", sys.version) 7 | 8 | XilEnv = XilEnvRpc('Path to XilEnv install folder\\XilEnvRpc.dll') 9 | 10 | print ("GetAPIVersion", XilEnv.GetAPIVersion()) 11 | 12 | print ("GetAPIModulePath", XilEnv.GetAPIModulePath()) 13 | 14 | ConnectionStatus = XilEnv.ConnectTo("") 15 | if (ConnectionStatus == 0): 16 | print ("Python has been successful connected to XilEnv") 17 | else: 18 | print ("NOT Successful") 19 | sys.exit(1) 20 | 21 | # Here should be added the tests 22 | 23 | print ("now disconnect from XilEnv") 24 | XilEnv.DisconnectFrom() 25 | -------------------------------------------------------------------------------- /Samples/Automation/Python/OpenXilEnv/OpenXilEnv/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Samples/Automation/Python/OpenXilEnv/OpenXilEnv/__init__.py -------------------------------------------------------------------------------- /Samples/Automation/Python/OpenXilEnv/automationExample.py: -------------------------------------------------------------------------------- 1 | from OpenXilEnv.openXilEnv import OpenXilEnv 2 | 3 | 4 | def main(): 5 | xilEnvInstallationPath = "path/to/xil/installation" 6 | electricCarIniFilePath = "path/to/ElectricCarSample.ini" 7 | 8 | xil = OpenXilEnv(xilEnvInstallationPath) 9 | xil.startWithGui(electricCarIniFilePath) 10 | 11 | xil.attachVariables(["FireUp", "PlugIn"]) 12 | 13 | xil.writeSignal("FireUp", 1) 14 | cycles = xil.waitUntilValueMatch("FireUp", 1, 1) 15 | print(f"Remaining cycles: {cycles}") 16 | print(f"FireUp: {xil.readSignal('FireUp')}") 17 | 18 | xil.writeSignal("FireUp", 0) 19 | cycles = xil.waitUntilValueMatch("FireUp", 0, 1) 20 | print(f"Remaining cycles: {cycles}") 21 | print(f"FireUp: {xil.readSignal('FireUp')}") 22 | 23 | xil.disconnectAndCloseXil() 24 | 25 | 26 | if __name__ == "__main__": 27 | main() 28 | -------------------------------------------------------------------------------- /Samples/Automation/Python/OpenXilEnv/setup.py: -------------------------------------------------------------------------------- 1 | from setuptools import setup, find_packages 2 | 3 | setup( 4 | name="OpenXilEnv", 5 | version="0.1", 6 | packages=find_packages(), 7 | install_requires=[] 8 | ) 9 | -------------------------------------------------------------------------------- /Samples/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_subdirectory("ExternalProcesses") 2 | if(UNIX) 3 | if(${MY_CMAKE_SIZEOF_VOID_P} GREATER 4) 4 | add_subdirectory("LinuxRemoteMaster") 5 | endif() 6 | endif() 7 | -------------------------------------------------------------------------------- /Samples/ExternalProcesses/ExtProc_Esmini/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | if(UNIX) 2 | set(ExtProc_TargetName ExtProc_Esmin.EXE) 3 | else() 4 | set(ExtProc_TargetName ExtProc_Esmin) 5 | endif() 6 | add_executable(${ExtProc_TargetName}) 7 | target_include_directories(${ExtProc_TargetName} PRIVATE ../../../Src/ExternalProcess) 8 | 9 | target_sources(${ExtProc_TargetName} 10 | INTERFACE FILE_SET HEADERS 11 | BASE_DIRS ${PROJECT_SOURCE_DIR} 12 | PRIVATE ExtProc_Esmini.cpp) 13 | 14 | target_include_directories(${ExtProc_TargetName} 15 | PRIVATE 16 | "${PROJECT_SOURCE_DIR}" 17 | ${ESMINI_LIBRARY_PATH}/EnvironmentSimulator/Libraries/esminiLib 18 | ) 19 | target_link_libraries(${ExtProc_TargetName} PRIVATE ${XilEnvExtProcTargetName}) 20 | if(WIN32) 21 | target_link_libraries(${ExtProc_TargetName} PRIVATE ${ESMINI_LIBRARY_PATH}/bin/esminiLib.lib) 22 | else() 23 | target_link_libraries(${ExtProc_TargetName} PRIVATE ${ESMINI_LIBRARY_PATH}/bin/libesminiLib.so) 24 | endif() 25 | 26 | install(TARGETS ${ExtProc_TargetName} 27 | BUNDLE DESTINATION . 28 | RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX}/${SampleOutputFolder}/ExtProc_Esmin 29 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} 30 | ) 31 | -------------------------------------------------------------------------------- /Samples/ExternalProcesses/ExtProc_FMU2Loader/Fmu2Execute.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #pragma once 19 | 20 | #include "Fmu2Struct.h" 21 | 22 | int FmuInit(FMU *par_Fmu); 23 | int FmuOneCycle(FMU *par_Fmu); 24 | void FmuTerminate(FMU *par_Fmu); 25 | -------------------------------------------------------------------------------- /Samples/ExternalProcesses/ExtProc_FMU2Loader/Fmu2Extract.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #pragma once 19 | 20 | #include "Fmu2Struct.h" 21 | 22 | int ExtractFmuToUniqueTempDirectory(const char *par_FmuFileName, char *ret_ExtractedToPath); 23 | int DeleteDirectory (const char *par_Directory); 24 | -------------------------------------------------------------------------------- /Samples/ExternalProcesses/ExtProc_FMU2Loader/Fmu2LoadDll.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #pragma once 19 | 20 | #include "Fmu2Struct.h" 21 | 22 | int FmuLoadDll(FMU *ret_Fmu, const char *par_DllName); 23 | void FmuFreeDll(FMU *ret_Fmu); 24 | -------------------------------------------------------------------------------- /Samples/ExternalProcesses/ExtProc_FMU2Loader/Fmu2Xml.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #pragma once 19 | 20 | #include "Fmu2Struct.h" 21 | 22 | int ReferenceAllVariablesToBlackboard(FMU *par_Fmu); 23 | int ReadFmuXml(FMU *ret_Fmu, const char *par_XmlFileName); 24 | -------------------------------------------------------------------------------- /Samples/ExternalProcesses/ExtProc_FMU3Loader/Fmu3Execute.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "Fmu3Struct.h" 4 | 5 | int FmuInit(FMU *par_Fmu); 6 | int FmuOneCycle(FMU *par_Fmu); 7 | void FmuTerminate(FMU *par_Fmu); 8 | -------------------------------------------------------------------------------- /Samples/ExternalProcesses/ExtProc_FMU3Loader/Fmu3Extract.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "Fmu3Struct.h" 4 | 5 | int ExtractFmuToUniqueTempDirectory(const char *par_FmuFileName, char *ret_ExtractedToPath); 6 | int DeleteDirectory (const char *par_Directory); 7 | -------------------------------------------------------------------------------- /Samples/ExternalProcesses/ExtProc_FMU3Loader/Fmu3LoadDll.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "Fmu3Struct.h" 4 | 5 | int FmuLoadDll(FMU *ret_Fmu, const char *par_DllName); 6 | void FmuFreeDll(FMU *ret_Fmu); 7 | -------------------------------------------------------------------------------- /Samples/ExternalProcesses/ExtProc_FMU3Loader/Fmu3Xml.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "Fmu3Struct.h" 4 | 5 | int ReferenceAllVariablesToBlackboard(FMU *par_Fmu); 6 | int ReadFmuXml(FMU *ret_Fmu, const char *par_XmlFileName); 7 | -------------------------------------------------------------------------------- /Samples/ExternalProcesses/ExtProc_FMUExtract/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | if(UNIX) 2 | set(ExtProc_TargetName ExtProc_FMUExtract.EXE) 3 | else() 4 | set(ExtProc_TargetName ExtProc_FMUExtract) 5 | endif() 6 | 7 | add_executable(${ExtProc_TargetName}) 8 | target_include_directories(${ExtProc_TargetName} PRIVATE ../../../Src/ExternalProcess) 9 | 10 | if(BUILD_WITH_FMU2_SUPPORT) 11 | add_definitions(-DBUILD_WITH_FMU2_SUPPORT) 12 | # add_compile_definitions(${ExtProc_TargetName} PRIVATE -DBUILD_WITH_FMU2_SUPPORT) 13 | endif() 14 | if(BUILD_WITH_FMU3_SUPPORT) 15 | add_definitions(-DBUILD_WITH_FMU3_SUPPORT) 16 | # add_compile_definitions(${ExtProc_TargetName} PRIVATE -DBUILD_WITH_FMU3_SUPPORT) 17 | endif() 18 | 19 | target_sources(${ExtProc_TargetName} 20 | INTERFACE FILE_SET HEADERS 21 | BASE_DIRS ${PROJECT_SOURCE_DIR} 22 | PRIVATE FmuExtract.cpp) 23 | 24 | target_include_directories(${ExtProc_TargetName} PRIVATE "${PROJECT_SOURCE_DIR}") 25 | 26 | install(TARGETS ${ExtProc_TargetName} 27 | #BUNDLE DESTINATION . 28 | #LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} 29 | RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX} 30 | ) 31 | 32 | -------------------------------------------------------------------------------- /Samples/ExternalProcesses/ExtProc_FMUExtract/FmuExtract.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #pragma once 19 | 20 | 21 | int ExtractFmuToUniqueTempDirectory(const char *par_FmuFileName, char *ret_ExtractedToPath); 22 | int DeleteDirectory (const char *par_Directory); 23 | -------------------------------------------------------------------------------- /Samples/LinuxRemoteMaster/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_subdirectory("LinuxRemoteMasterEasySample") 2 | -------------------------------------------------------------------------------- /Samples/LinuxRemoteMaster/LinuxRemoteMasterEasySample/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(LinuxRemoteMasterEasySample) 2 | #target_compile_options(LinuxRemoteMasterEasySample PRIVATE -gdwarf-5) 3 | #target_link_options(LinuxRemoteMasterEasySample PRIVATE -gdwarf-5) 4 | target_include_directories(LinuxRemoteMasterEasySample PRIVATE ../../../Src/ExternalProcess) 5 | 6 | target_sources(LinuxRemoteMasterEasySample 7 | INTERFACE FILE_SET HEADERS 8 | BASE_DIRS ${PROJECT_SOURCE_DIR} 9 | PRIVATE LinuxRemoteMasterEasySample.c) 10 | 11 | target_include_directories(LinuxRemoteMasterEasySample PRIVATE "${PROJECT_SOURCE_DIR}") 12 | 13 | message("Library directory:") 14 | message("${CMAKE_BINARY_DIR}") 15 | target_link_directories(LinuxRemoteMasterEasySample PRIVATE "${CMAKE_BINARY_DIR}") 16 | target_link_libraries(LinuxRemoteMasterEasySample PRIVATE LinuxRemoteMasterCore) 17 | target_link_libraries(LinuxRemoteMasterEasySample PRIVATE LinuxRemoteMaster) 18 | target_link_libraries(LinuxRemoteMasterEasySample PRIVATE m) 19 | -------------------------------------------------------------------------------- /Src/A2lParser/A2LConvert.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #pragma once 19 | #include "A2LBuffer.h" 20 | #include "A2LValue.h" 21 | 22 | int ConvertPhysToRaw(ASAP2_MODULE_DATA* Module, const char *par_ConvertName, A2L_SINGLE_VALUE *par_Phys, A2L_SINGLE_VALUE *ret_Raw); 23 | int ConvertRawToPhys(ASAP2_MODULE_DATA* Module, const char *par_ConvertName, int par_Flags, A2L_SINGLE_VALUE *par_Raw, A2L_SINGLE_VALUE *ret_Phys); 24 | -------------------------------------------------------------------------------- /Src/A2lParser/A2LConvertToXcp.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #pragma once 19 | 20 | #define A2LCONVERT2XCP_WRITABLE_MEASUREMENTS_AS_PARAMETER 0x1 21 | 22 | int A2LConvertToXcpOrCpp(const char *par_A2LFile, const char *par_XcpOrCppFile, int par_XcpOrCpp, int par_Flags, char *ErrString, int MaxErrSize); 23 | -------------------------------------------------------------------------------- /Src/A2lParser/A2LUpdate.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #pragma once 19 | #include "A2LAccess.h" 20 | 21 | int A2LUpdate(ASAP2_DATABASE *Database, const char *par_OutA2LFile, const char *par_SourceType, int par_Flags, const char *par_Source, 22 | uint64_t par_MinusOffset, uint64_t par_PlusOffset, 23 | const char *par_NotUpdatedLabelFile, const char **ret_ErrString); 24 | -------------------------------------------------------------------------------- /Src/A2lParser/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(CommonFileList 2 | A2LAccess.c 3 | A2LBuffer.c 4 | A2LConvert.c 5 | A2LLink.c 6 | A2LParser.c 7 | A2LRecordLayout.c 8 | A2LTokenizer.c 9 | A2LValue.c 10 | A2LAccessData.c 11 | A2LCache.c 12 | A2LConvertToXcp.c 13 | A2LLinkThread.c 14 | A2LParserModuleIfData.c 15 | A2LUpdate.c 16 | S19BinFile.c 17 | ) 18 | 19 | target_sources(XilEnv PRIVATE ${CommonFileList}) 20 | 21 | target_sources(XilEnvGui PRIVATE ${CommonFileList}) 22 | -------------------------------------------------------------------------------- /Src/Blackboard/BlackboardIniCleaner.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #ifndef __BB_INI_CLEANER_H 19 | #define __BB_INI_CLEANER_H 20 | 21 | int CleanVariablesSection (void); 22 | 23 | #endif 24 | -------------------------------------------------------------------------------- /Src/Blackboard/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | if(UNIX) 2 | target_sources(LinuxRemoteMasterCore 3 | PRIVATE Blackboard.c BlackboardAccess.c BlackboardHashIndex.c 4 | BlackboardIniCache.c EquationParser.c ExecutionStack.c 5 | TextReplace.c) 6 | endif() 7 | 8 | set(CommonFileList 9 | BlackboardAccess.c 10 | BlackboardHashIndex.c 11 | BlackboardIniCleaner.c 12 | EquationParser.c 13 | ExportA2L.c 14 | TextReplace.c 15 | Blackboard.c 16 | EquationList.c 17 | ExecutionStack.c 18 | ) 19 | 20 | target_sources(XilEnv PRIVATE ${CommonFileList}) 21 | 22 | target_sources(XilEnvGui PRIVATE ${CommonFileList}) 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /Src/Blackboard/ExportA2L.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #ifndef EXPORTA2L_H 19 | #define EXPORTA2L_H 20 | 21 | int ExportA2lFile (const char *fname); 22 | 23 | #endif 24 | -------------------------------------------------------------------------------- /Src/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | if(${MY_CMAKE_SIZEOF_VOID_P} GREATER 4) 2 | add_subdirectory("A2lParser") 3 | add_subdirectory("CanDataBase") 4 | add_subdirectory("Equations") 5 | add_subdirectory("IniFileDataBase") 6 | add_subdirectory("RemoteMaster") 7 | add_subdirectory("Scheduler") 8 | add_subdirectory("StimulusPlayer") 9 | add_subdirectory("Utilities") 10 | add_subdirectory("Blackboard") 11 | add_subdirectory("CanServer") 12 | add_subdirectory("DebugInfos") 13 | add_subdirectory("GUI") 14 | add_subdirectory("Ramps") 15 | add_subdirectory("RpcInterface") 16 | add_subdirectory("Script") 17 | add_subdirectory("TraceRecorder") 18 | add_subdirectory("XcpOverEthernet") 19 | endif() 20 | add_subdirectory("Global") 21 | add_subdirectory("ExternalProcess") 22 | -------------------------------------------------------------------------------- /Src/CanDataBase/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(CommonFileList 2 | # AzgEdicCfg.c 3 | CanDataBase.c 4 | CanRecorder.c 5 | ImportDbc.c 6 | ReadCanCfg.c 7 | ) 8 | 9 | target_sources(XilEnv PRIVATE ${CommonFileList}) 10 | 11 | target_sources(XilEnvGui PRIVATE ${CommonFileList}) 12 | -------------------------------------------------------------------------------- /Src/CanServer/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | if(UNIX) 2 | target_sources(LinuxRemoteMasterCore 3 | PRIVATE 4 | CanFifo.c 5 | CanReplaceConversion.c 6 | CanServer.c 7 | CcpAndXcpFilterHook.c 8 | ) 9 | endif() 10 | 11 | set(CommonFileList 12 | CanFifo.c 13 | CanReplaceConversion.c 14 | CanServer.c 15 | CcpAndXcpFilterHook.c 16 | CcpControl.c 17 | VirtualCanDriver.c 18 | XcpControl.c 19 | ) 20 | 21 | if(BUILD_WITH_GATEWAY_VIRTUAL_CAN) 22 | set(CommonFileList 23 | ${CommonFileList} 24 | GatewayCanDriver.c 25 | ) 26 | endif() 27 | 28 | target_sources(XilEnv PRIVATE ${CommonFileList}) 29 | 30 | target_sources(XilEnvGui PRIVATE ${CommonFileList}) 31 | 32 | if (BUILD_WITH_J1939_SUPPORT) 33 | add_subdirectory("J1939") 34 | endif() 35 | -------------------------------------------------------------------------------- /Src/CanServer/CanReplaceConversion.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #ifndef REPLACE_CONV_H 19 | #define REPLACE_CONV_H 20 | 21 | void CleanAllReplaceConvs (void); 22 | 23 | int AddOrRemoveReplaceCanSigConvMsg (NEW_CAN_SERVER_CONFIG *par_CanConfig, 24 | MESSAGE_HEAD *mhead); 25 | 26 | int CalcReplaceCanSigConv (int par_Idx, union FloatOrInt64 par_Parameter, int par_ParameterType, NEW_CAN_SERVER_OBJECT *par_CanObject, union FloatOrInt64 *ret_Value); 27 | 28 | #endif 29 | -------------------------------------------------------------------------------- /Src/CanServer/CanServer.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #ifndef __NEWCANS2_H 19 | #define __NEWCANS2_H 20 | 21 | #include "tcb.h" 22 | 23 | int SendCanObjectForOtherProcesses (int Channel, unsigned int Id, int Ext, int Size, unsigned char *Data); 24 | int Mixed11And29BitIdsAllowed (int Channel); 25 | uint32_t GetCanServerCycleTime_ms(void); 26 | 27 | void DecodeJ1939RxMultiPackageFrame(NEW_CAN_SERVER_CONFIG *csc, int Channel, int ObjectPos); 28 | 29 | 30 | extern TASK_CONTROL_BLOCK new_canserv_tcb; 31 | 32 | #endif 33 | -------------------------------------------------------------------------------- /Src/DebugInfos/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(CommonFileList 2 | DelayedFetchData.c 3 | ExtProcessReferences.c 4 | GetNextStructEntry.c 5 | ReadWriteValue.c 6 | DebugInfoAccessExpression.c 7 | DwarfReader.c 8 | GetExeDebugSign.c 9 | LoadSaveToFile.c 10 | SectionFilter.c 11 | DebugInfoDB.c 12 | GetLabelByAddress.c 13 | ReadExeInfos.c 14 | ) 15 | 16 | if (BUILD_WITH_PDB_READER_DLL_INTERFACE) 17 | set(CommonFileList 18 | ${CommonFileList} 19 | CallbacksForDebugReaderDll.c 20 | ) 21 | endif() 22 | 23 | target_sources(XilEnv PRIVATE ${CommonFileList}) 24 | 25 | target_sources(XilEnvGui PRIVATE ${CommonFileList}) 26 | -------------------------------------------------------------------------------- /Src/DebugInfos/DebugInfoAccessExpression.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #ifndef DEBUGINFOACCESSEXPRESSION_H 19 | #define DEBUGINFOACCESSEXPRESSION_H 20 | 21 | #include "DebugInfos.h" 22 | 23 | int appl_label (DEBUG_INFOS_ASSOCIATED_CONNECTION *pappldata, int pid, const char *lname, uint64_t *paddress, int32_t *ptypenr); 24 | int appl_label_already_locked (DEBUG_INFOS_ASSOCIATED_CONNECTION *pappldata, int pid, const char *lname, uint64_t *paddress, int32_t *ptypenr, int already_locked, int only_base_types); 25 | 26 | #endif 27 | -------------------------------------------------------------------------------- /Src/DebugInfos/DwarfReader.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #ifndef DWARFREADER_H 19 | #define DWARFREADER_H 20 | 21 | #include "DebugInfos.h" 22 | 23 | int parse_dwarf_from_exe_file (char *par_ExeFileName, DEBUG_INFOS_DATA *pappldata, int IsRealtimeProcess, int MachineType); 24 | 25 | #endif // DWARFREADER_H 26 | -------------------------------------------------------------------------------- /Src/DebugInfos/WriteSection2Exe.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #ifndef WRITESECTION2EXE_H 19 | #define WRITESECTION2EXE_H 20 | 21 | void WriteSection2ExeDialog (HWND Hwnd); 22 | 23 | #endif -------------------------------------------------------------------------------- /Src/Equations/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(CommonFileList 2 | EquationsSingle.c 3 | EquationsSplitCompiler.c 4 | ) 5 | 6 | target_sources(XilEnv PRIVATE ${CommonFileList}) 7 | 8 | target_sources(XilEnvGui PRIVATE ${CommonFileList}) 9 | -------------------------------------------------------------------------------- /Src/Equations/EquationsSplitCompiler.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #ifndef EQUATIONSPLITCOMPILER_H 19 | #define EQUATIONSPLITCOMPILER_H 20 | 21 | #include 22 | #include "Config.h" 23 | #include "tcb.h" 24 | #include "Blackboard.h" 25 | #include "ExecutionStack.h" 26 | 27 | void rm_CyclicEquationCompiler (void); 28 | void rm_TerminateEquationCompiler (void); 29 | int rm_InitEquationCompiler (void); 30 | 31 | extern TASK_CONTROL_BLOCK rm_EquationCompilerTcb; 32 | 33 | #undef extern 34 | #endif 35 | 36 | -------------------------------------------------------------------------------- /Src/ExternalProcess/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | 2 | target_sources(${XilEnvExtProcTargetName} 3 | PRIVATE 4 | ExtpBaseMessages.c 5 | ExtpKillExternProcessEvent.c 6 | ExtpBlackboard.c 7 | ExtpMain.c 8 | ExtpReferenceVariables.c 9 | ExtpBlackboardCopyLists.c 10 | ExtpMemoryAllocation.c 11 | ExtpSocketMessages.c 12 | ExtpMemoryAccess.c 13 | ExtpUnixDomainSocketMessages.c 14 | ExtpError.c 15 | ExtpParseCmdLine.c 16 | ExtpVirtualNetwork.c 17 | ExtpExtError.c 18 | ExtpVirtualNetworkCan.c 19 | ExtpXcpCopyPages.cpp 20 | ) 21 | 22 | if(UNIX) 23 | target_sources(${XilEnvExtProcTargetName} 24 | PRIVATE ExtpUnixDomainSocketMessages.c) 25 | elseif(WIN32) 26 | target_sources(${XilEnvExtProcTargetName} 27 | PRIVATE ExtpPipeMessages.c OpenXilEnvExtp.def) 28 | endif() 29 | 30 | -------------------------------------------------------------------------------- /Src/ExternalProcess/ExtpError.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #ifndef EXTP_ERROR_H 19 | #define EXTP_ERROR_H 20 | 21 | #include "ExtpProcessAndTaskInfos.h" 22 | 23 | int XilEnvInternal_ThrowError(EXTERN_PROCESS_TASK_INFOS_STRUCT* TaskInfos, 24 | int level, // Error level 25 | char const *format, // Format string (same as printf) 26 | ...); // Parameter list 27 | 28 | #endif // EXTP_ERROR_H 29 | -------------------------------------------------------------------------------- /Src/ExternalProcess/ExtpExtError.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | void message_output_stream_inner_function (const char *loc_message, int par_Connected, int par_NoGui, int par_Err2Msg, int par_ErrMsg); 19 | -------------------------------------------------------------------------------- /Src/ExternalProcess/ExtpKillExternProcessEvent.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #ifndef _KILLEXTERNPROCESSEVENT_H 19 | #define _KILLEXTERNPROCESSEVENT_H 20 | 21 | int XilEnvInternal_StartKillEventThread (char *par_Prefix); 22 | 23 | #endif 24 | -------------------------------------------------------------------------------- /Src/ExternalProcess/ExtpMemoryAccess.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #ifndef EXTPMEMORYACCRESS_H 19 | #define EXTPMEMORYACCRESS_H 20 | 21 | int XilEnvInternal_EnableWriteAccressToMemory (void *par_Address, size_t par_Size); 22 | 23 | int XilEnvInternal_TryAndCatchWriteToMemCopy (void *Dst, void *Src, int Size); 24 | 25 | #endif 26 | 27 | -------------------------------------------------------------------------------- /Src/ExternalProcess/ExtpMemoryAllocation.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #ifndef MEMORYALLOCATION_H 19 | #define MEMORYALLOCATION_H 20 | 21 | int XilEnvInternal_InitMemoryAllocator(void); 22 | 23 | void* XilEnvInternal_malloc(int size); 24 | void XilEnvInternal_free(void * block_ptr); 25 | void* XilEnvInternal_realloc(void* old_ptr, int new_size); 26 | void* XilEnvInternal_calloc(int num, int size); 27 | 28 | #endif 29 | -------------------------------------------------------------------------------- /Src/ExternalProcess/ExtpPipeMessages.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #ifndef EXTPPIPEMESSAGES_H 19 | #define EXTPPIPEMESSAGES_H 20 | 21 | #include "ExtpProcessAndTaskInfos.h" 22 | 23 | int XilEnvInternal_InitPipeCommunication(EXTERN_PROCESS_TASK_INFOS_STRUCT *TaskInfo); 24 | 25 | int XilEnvInternal_IsPipeInstanceIsRunning(char *par_InstanceName, char *par_ServerName, int par_Timout_ms); 26 | 27 | int XilEnvInternal_WaitTillPipeInstanceIsRunning(char *par_InstanceName, char *par_ServerName, int par_Timout_ms); 28 | 29 | #endif 30 | -------------------------------------------------------------------------------- /Src/ExternalProcess/ExtpSocketMessages.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #ifndef EXTPSOCKETMESSAGES_H 19 | #define EXTPSOCKETMESSAGES_H 20 | 21 | #include "ExtpProcessAndTaskInfos.h" 22 | 23 | int XilEnvInternal_InitSocketCommunication(EXTERN_PROCESS_TASK_INFOS_STRUCT *TaskInfo); 24 | 25 | int XilEnvInternal_IsSocketInstanceIsRunning(char *par_InstanceName, char *par_ServerName, int par_Timout_ms); 26 | 27 | int XilEnvInternal_WaitTillSocketInstanceIsRunning(char *par_InstanceName, char *par_ServerName, int par_Timout_ms); 28 | 29 | #endif 30 | -------------------------------------------------------------------------------- /Src/ExternalProcess/ExtpUnixDomainSocketMessages.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #ifndef EXTPUNIXDOMAINSOCKETMESSAGES_H 19 | #define EXTPUNIXDOMAINSOCKETMESSAGES_H 20 | 21 | #include "ExtpProcessAndTaskInfos.h" 22 | 23 | int XilEnvInternal_InitUnixDomainSocketCommunication(EXTERN_PROCESS_TASK_INFOS_STRUCT *TaskInfo); 24 | 25 | int XilEnvInternal_IsUnixDomainSocketInstanceIsRunning(char *par_InstanceName, char *par_ServerName, int par_Timout_ms); 26 | 27 | int XilEnvInternal_WaitTillUnixDomainSocketInstanceIsRunning(char *par_InstanceName, char *par_ServerName, int par_Timout_ms); 28 | 29 | #endif 30 | -------------------------------------------------------------------------------- /Src/GUI/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_subdirectory("Qt") 2 | add_subdirectory("Console") 3 | -------------------------------------------------------------------------------- /Src/GUI/Console/AllOtherStubs.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | extern "C" { 19 | int IniFileDosNotExistDialog(char *SelectedIniFile, char *ret_NewSelectedIniFile, int par_MaxChars, 20 | void *par_Application) 21 | { 22 | // always rejected 23 | // without INI file XilEnv will be closed immediately 24 | return -1; 25 | } 26 | } 27 | 28 | int IsScriptDebugWindowOpen() 29 | { 30 | return 0; 31 | } 32 | 33 | int GetStopScriptAtStartDebuggingFlag() 34 | { 35 | return 0; 36 | } 37 | -------------------------------------------------------------------------------- /Src/GUI/Console/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | target_sources(XilEnv PRIVATE 2 | AllOtherStubs.cpp 3 | ErrorDialog.cpp 4 | Main.cpp 5 | MainWindow.cpp 6 | MainWinowSyncWithOtherThreads.cpp 7 | MessageWindow.cpp 8 | ScriptErrorDialog.cpp 9 | OscilloscopeCyclic.c 10 | WaitUntilCanStart.c 11 | ) 12 | -------------------------------------------------------------------------------- /Src/GUI/Console/ErrorDialog.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | extern "C" { 19 | 20 | void InitErrorDialog(void) 21 | { 22 | } 23 | 24 | void TerminateErrorDialog(void) 25 | { 26 | } 27 | 28 | void CheckErrorMessagesBeforeMainWindowIsOpen(void) 29 | { 30 | } 31 | 32 | 33 | } // extern "C" 34 | 35 | -------------------------------------------------------------------------------- /Src/GUI/Console/ErrorDialog.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #ifndef ERRORDIALOG_H 19 | #define ERRORDIALOG_H 20 | 21 | #ifdef __cplusplus 22 | extern "C" { 23 | #endif 24 | 25 | void InitErrorDialog(void); 26 | void TerminateErrorDialog(void); 27 | void CheckErrorMessagesBeforeMainWindowIsOpen(void); 28 | 29 | #ifdef __cplusplus 30 | } 31 | #endif 32 | 33 | #endif // ERRORDIALOG_H 34 | -------------------------------------------------------------------------------- /Src/GUI/Console/IniFileDosNotExistDialog.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #pragma once 19 | 20 | int IniFileDosNotExistDialog (char *SelectedIniFile, char *ret_NewSelectedIniFile, int par_MaxChars, 21 | void *par_Application); 22 | 23 | -------------------------------------------------------------------------------- /Src/GUI/Console/MainWindow.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #include "MainWindow.h" 19 | 20 | extern void terminate_main_loop(int par_ExitCode, int par_ExitCodeValid); 21 | 22 | extern "C" { 23 | void CloseFromOtherThread(int par_ExitCode, int par_ExitCodeValid) 24 | { 25 | terminate_main_loop(par_ExitCode, par_ExitCodeValid); 26 | } 27 | void ClearDesktopFromOtherThread(void) 28 | { 29 | } 30 | void LoadDesktopFromOtherThread(char *par_Filename) 31 | { 32 | } 33 | void SaveDesktopFromOtherThread(char *par_Filename) 34 | { 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /Src/GUI/Console/MainWindow.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #ifndef MAINWINDOW_H 19 | #define MAINWINDOW_H 20 | 21 | #ifdef __cplusplus 22 | extern "C" { 23 | #endif 24 | 25 | void CloseFromOtherThread(int par_ExitCode, int par_ExitCodeValid); 26 | void ClearDesktopFromOtherThread(void); 27 | void LoadDesktopFromOtherThread(char *par_Filename); 28 | void SaveDesktopFromOtherThread(char *par_Filename); 29 | 30 | #ifdef __cplusplus 31 | } 32 | #endif 33 | 34 | #endif // MAINWINDOW_H 35 | -------------------------------------------------------------------------------- /Src/GUI/Console/MessageWindow.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #include "MessageWindow.h" 18 | #include 19 | 20 | extern "C" { 21 | void AddMessages (const char *par_Messsage) 22 | { 23 | printf ("%s\n", par_Messsage); 24 | } 25 | 26 | void InitMessageWindowCriticalSections (void) 27 | { 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /Src/GUI/Console/MessageWindow.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #ifndef MESSAGEWINDOW_H 19 | #define MESSAGEWINDOW_H 20 | 21 | #ifdef __cplusplus 22 | extern "C" { 23 | #endif 24 | 25 | void AddMessages (const char *par_Messsage); 26 | void AddMessagesChar(char *par_Messsage); 27 | void CloseMessageWindow(); 28 | 29 | void InitMessageWindowCriticalSections(void); 30 | 31 | #ifdef __cplusplus 32 | } 33 | #endif 34 | 35 | #endif // MESSAGEWINDOW_H 36 | -------------------------------------------------------------------------------- /Src/GUI/Console/OscilloscopeCyclic.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #ifndef OSCILLOSCOPECYCLIC_H 19 | #define OSCILLOSCOPECYCLIC_H 20 | 21 | void InitOsciCycleCriticalSection(void); 22 | 23 | #endif // OSCILLOSCOPECYCLIC_H 24 | -------------------------------------------------------------------------------- /Src/GUI/Console/ScriptDebuggingDialog.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #ifndef SCRIPTDEBUGGINGDIALOG_H 19 | #define SCRIPTDEBUGGINGDIALOG_H 20 | 21 | void CloseScriptDebuggingWindow(); 22 | int IsScriptDebugWindowOpen(); 23 | int GetStopScriptAtStartDebuggingFlag(); 24 | 25 | #endif // SCRIPTDEBUGGINGDIALOG_H 26 | -------------------------------------------------------------------------------- /Src/GUI/Console/ScriptErrorDialog.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #include "ScriptErrorDialog.h" 19 | #include "MainWinowSyncWithOtherThreads.h" 20 | 21 | void ScriptErrorDialog::ScriptErrorMsgDlgAddMsgFromOtherThread(int par_Level, int par_LineNr, const char *par_Filename, const char *par_Message) 22 | { 23 | AddNewScriptErrorMessageFromOtherThread(par_Level, par_LineNr, par_Filename, par_Message); 24 | } 25 | -------------------------------------------------------------------------------- /Src/GUI/Console/ScriptErrorDialog.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #ifndef SCRIPTERRORDIALOG_H 19 | #define SCRIPTERRORDIALOG_H 20 | 21 | class ScriptErrorDialog 22 | { 23 | public: 24 | static void ScriptErrorMsgDlgAddMsgFromOtherThread (int par_Level, int par_LineNr, const char *par_Filename, const char *par_Message); 25 | //static void ScriptErrorMsgDlgReset (void); 26 | }; 27 | 28 | 29 | #endif // SCRIPTERRORDIALOG_H 30 | -------------------------------------------------------------------------------- /Src/GUI/Qt/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | target_sources(XilEnvGui PRIVATE 2 | BlackboardObserver.cpp 3 | ConfigFilter.cpp 4 | HotkeyHandler.cpp 5 | MainWindow.cpp 6 | Sheets.cpp 7 | ValueInput.cpp 8 | FileDialog.cpp 9 | IsAlreadyRunnung.cpp 10 | MainWinowSyncWithOtherThreads.cpp 11 | QtIniFile.cpp 12 | StatusBar.cpp 13 | WindowUpdateTimers.cpp 14 | Hotkey.cpp 15 | Main.cpp 16 | PhysValueInput.cpp 17 | QVariantConvert.cpp 18 | TextValueInput.cpp 19 | DarkMode.cpp 20 | ColorHelpers.cpp 21 | StringHelpers.cpp 22 | # ui files 23 | MainWindow.ui 24 | 25 | Icons.qrc 26 | ) 27 | 28 | add_subdirectory("Data") 29 | add_subdirectory("Dialog") 30 | add_subdirectory("Widgets") 31 | -------------------------------------------------------------------------------- /Src/GUI/Qt/ColorHelpers.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #pragma once 18 | 19 | #include 20 | 21 | QColor GetColorProposal(QList &par_UsedColors); 22 | 23 | -------------------------------------------------------------------------------- /Src/GUI/Qt/DarkMode.h: -------------------------------------------------------------------------------- 1 | #ifndef DARKMODE_H 2 | #define DARKMODE_H 3 | 4 | #include 5 | 6 | void SetDarkMode(QApplication *par_Application, bool par_DarkMode); 7 | 8 | #endif // DARKMODE_H 9 | -------------------------------------------------------------------------------- /Src/GUI/Qt/Data/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | target_sources(XilEnvGui PRIVATE 2 | A2LFunctionModel.cpp 3 | CheckableSortFilterProxyModel.cpp 4 | LampsModel.cpp 5 | TextTableModel.cpp 6 | A2LMeasurementCalibrationModel.cpp 7 | BlackboardVariableModel.cpp 8 | ) 9 | -------------------------------------------------------------------------------- /Src/GUI/Qt/Dialog/AboutDialog.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #ifndef ABOUTDIALOG_H 19 | #define ABOUTDIALOG_H 20 | 21 | #include 22 | 23 | namespace Ui { 24 | class AboutDialog; 25 | } 26 | 27 | class AboutDialog : public Dialog 28 | { 29 | Q_OBJECT 30 | 31 | public: 32 | explicit AboutDialog(QWidget *parent = nullptr); 33 | ~AboutDialog(); 34 | 35 | private: 36 | Ui::AboutDialog *ui; 37 | }; 38 | 39 | #endif // ABOUTDIALOG_H 40 | -------------------------------------------------------------------------------- /Src/GUI/Qt/Dialog/CcpConfigDialog.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #ifndef CCPCONFIGDIALOG_H 19 | #define CCPCONFIGDIALOG_H 20 | 21 | #include 22 | 23 | namespace Ui { 24 | class CCPConfigDialog; 25 | } 26 | 27 | class CCPConfigDialog : public Dialog 28 | { 29 | Q_OBJECT 30 | 31 | public: 32 | explicit CCPConfigDialog(QWidget *parent = nullptr); 33 | ~CCPConfigDialog(); 34 | 35 | private slots: 36 | void on_buttonBox_accepted(); 37 | 38 | private: 39 | Ui::CCPConfigDialog *ui; 40 | }; 41 | 42 | #endif // CCPCONFIGDIALOG_H 43 | -------------------------------------------------------------------------------- /Src/GUI/Qt/Dialog/Dialog.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #ifndef DIALOG_H 19 | #define DIALOG_H 20 | 21 | #include 22 | 23 | class Dialog : public QDialog 24 | { 25 | private: 26 | static int instanceCounter; 27 | public: 28 | Dialog(QWidget *parent = nullptr); 29 | ~Dialog(); 30 | }; 31 | 32 | #endif // DIALOG_H 33 | -------------------------------------------------------------------------------- /Src/GUI/Qt/Dialog/DialogFrame.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #include "DialogFrame.h" 19 | 20 | CustomDialogFrame::CustomDialogFrame(QWidget *parent) : QFrame(parent) 21 | { 22 | 23 | } 24 | 25 | CustomDialogFrame::~CustomDialogFrame() 26 | { 27 | 28 | } 29 | 30 | -------------------------------------------------------------------------------- /Src/GUI/Qt/Dialog/DialogFrame.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #ifndef CUSTOMDIALOGFRAME_H 19 | #define CUSTOMDIALOGFRAME_H 20 | 21 | #include 22 | 23 | class CustomDialogFrame : public QFrame 24 | { 25 | Q_OBJECT 26 | public: 27 | CustomDialogFrame(QWidget *parent = nullptr); 28 | ~CustomDialogFrame(); 29 | virtual void userAccept() = 0; 30 | virtual void userReject() = 0; 31 | }; 32 | 33 | #endif // CUSTOMDIALOGFRAME_H 34 | -------------------------------------------------------------------------------- /Src/GUI/Qt/Dialog/LoadedDebugInfosDialog.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #ifndef LOADEDDEBUGINFOSDIALOG_H 19 | #define LOADEDDEBUGINFOSDIALOG_H 20 | 21 | #include 22 | #include "Dialog.h" 23 | 24 | namespace Ui { 25 | class LoadedDebugInfosDialog; 26 | } 27 | 28 | class LoadedDebugInfosDialog : public Dialog 29 | { 30 | Q_OBJECT 31 | 32 | public: 33 | explicit LoadedDebugInfosDialog(QWidget *parent = nullptr); 34 | ~LoadedDebugInfosDialog(); 35 | 36 | private: 37 | Ui::LoadedDebugInfosDialog *ui; 38 | }; 39 | 40 | #endif // LOADEDDEBUGINFOSDIALOG_H 41 | -------------------------------------------------------------------------------- /Src/GUI/Qt/Dialog/NewSheetDialog.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #include "NewSheetDialog.h" 19 | #include "ui_NewSheetDialog.h" 20 | 21 | NewSheetDialog::NewSheetDialog(QWidget *parent) : Dialog(parent), 22 | ui(new Ui::NewSheetDialog) 23 | { 24 | ui->setupUi(this); 25 | ui->d_lineEditNewSheet->setFocus(); 26 | } 27 | 28 | QString NewSheetDialog::getSheetName() 29 | { 30 | return ui->d_lineEditNewSheet->text(); 31 | } 32 | 33 | NewSheetDialog::~NewSheetDialog() 34 | { 35 | delete ui; 36 | } 37 | -------------------------------------------------------------------------------- /Src/GUI/Qt/Dialog/NewSheetDialog.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #ifndef NEWSHEETDIALOG_H 19 | #define NEWSHEETDIALOG_H 20 | 21 | #include 22 | #include 23 | 24 | namespace Ui { 25 | class NewSheetDialog; 26 | } 27 | 28 | class NewSheetDialog : public Dialog 29 | { 30 | Q_OBJECT 31 | 32 | public: 33 | explicit NewSheetDialog(QWidget *parent = nullptr); 34 | ~NewSheetDialog(); 35 | QString getSheetName(); 36 | private: 37 | Ui::NewSheetDialog *ui; 38 | }; 39 | 40 | #endif // NEWSHEETDIALOG_H 41 | -------------------------------------------------------------------------------- /Src/GUI/Qt/Dialog/ProgressBar.ui: -------------------------------------------------------------------------------- 1 | 2 | 3 | ProgressBar 4 | 5 | 6 | 7 | 0 8 | 0 9 | 158 10 | 39 11 | 12 | 13 | 14 | 15 | 0 16 | 0 17 | 18 | 19 | 20 | Form 21 | 22 | 23 | 24 | 25 | 26 | 24 27 | 28 | 29 | 30 | 31 | 32 | 33 | TextLabel 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /Src/GUI/Qt/Dialog/ScriptDebugWindowSync.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #include "ScriptDebugWindowSync.h" 19 | 20 | ScriptDebugWindowSync::ScriptDebugWindowSync() 21 | { 22 | 23 | } 24 | 25 | ScriptDebugWindowSync::~ScriptDebugWindowSync() 26 | { 27 | 28 | } 29 | 30 | -------------------------------------------------------------------------------- /Src/GUI/Qt/Dialog/ScriptDebugWindowSync.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #ifndef SCRIPTDEBUGWINDOWSYNC_H 19 | #define SCRIPTDEBUGWINDOWSYNC_H 20 | 21 | #include 22 | 23 | class ScriptDebugWindowSync 24 | { 25 | public: 26 | ScriptDebugWindowSync(); 27 | ~ScriptDebugWindowSync(); 28 | }; 29 | 30 | #endif // SCRIPTDEBUGWINDOWSYNC_H 31 | -------------------------------------------------------------------------------- /Src/GUI/Qt/Dialog/StartStopCcpCalDialog.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #include "StartStopCcpCalDialog.h" 19 | #include "ui_StartStopCcpCalDialog.h" 20 | 21 | StartStopCCPCalDialog::StartStopCCPCalDialog(QWidget *parent) : Dialog(parent), 22 | ui(new Ui::StartStopCCPCalDialog) 23 | { 24 | ui->setupUi(this); 25 | } 26 | 27 | StartStopCCPCalDialog::~StartStopCCPCalDialog() 28 | { 29 | delete ui; 30 | } 31 | -------------------------------------------------------------------------------- /Src/GUI/Qt/Dialog/StartStopCcpCalDialog.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #ifndef STARTSTOPCCPCALDIALOG_H 19 | #define STARTSTOPCCPCALDIALOG_H 20 | 21 | #include 22 | #include 23 | 24 | namespace Ui { 25 | class StartStopCCPCalDialog; 26 | } 27 | 28 | class StartStopCCPCalDialog : public Dialog 29 | { 30 | Q_OBJECT 31 | 32 | public: 33 | explicit StartStopCCPCalDialog(QWidget *parent = nullptr); 34 | ~StartStopCCPCalDialog(); 35 | 36 | private: 37 | Ui::StartStopCCPCalDialog *ui; 38 | }; 39 | 40 | #endif // STARTSTOPCCPCALDIALOG_H 41 | -------------------------------------------------------------------------------- /Src/GUI/Qt/Dialog/StartStopCppDialog.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #include "StartStopCppDialog.h" 19 | #include "ui_StartStopCppDialog.h" 20 | 21 | StartStopCPPDialog::StartStopCPPDialog(QWidget *parent) : Dialog(parent), 22 | ui(new Ui::StartStopCPPDialog) 23 | { 24 | ui->setupUi(this); 25 | } 26 | 27 | StartStopCPPDialog::~StartStopCPPDialog() 28 | { 29 | delete ui; 30 | } 31 | -------------------------------------------------------------------------------- /Src/GUI/Qt/Dialog/StartStopCppDialog.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #ifndef STARTSTOPCPPDIALOG_H 19 | #define STARTSTOPCPPDIALOG_H 20 | 21 | #include 22 | #include 23 | 24 | namespace Ui { 25 | class StartStopCPPDialog; 26 | } 27 | 28 | class StartStopCPPDialog : public Dialog 29 | { 30 | Q_OBJECT 31 | 32 | public: 33 | explicit StartStopCPPDialog(QWidget *parent = nullptr); 34 | ~StartStopCPPDialog(); 35 | 36 | private: 37 | Ui::StartStopCPPDialog *ui; 38 | }; 39 | 40 | #endif // STARTSTOPCPPDIALOG_H 41 | -------------------------------------------------------------------------------- /Src/GUI/Qt/Dialog/StartStopXcpCalDialog.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #include "StartStopXcpCalDialog.h" 19 | #include "ui_StartStopXcpCalDialog.h" 20 | 21 | StartStopXCPCalDialog::StartStopXCPCalDialog(QWidget *parent) : Dialog(parent), 22 | ui(new Ui::StartStopXCPCalDialog) 23 | { 24 | ui->setupUi(this); 25 | } 26 | 27 | StartStopXCPCalDialog::~StartStopXCPCalDialog() 28 | { 29 | delete ui; 30 | } 31 | -------------------------------------------------------------------------------- /Src/GUI/Qt/Dialog/StartStopXcpCalDialog.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #ifndef STARTSTOPXCPCALDIALOG_H 19 | #define STARTSTOPXCPCALDIALOG_H 20 | 21 | #include 22 | 23 | namespace Ui { 24 | class StartStopXCPCalDialog; 25 | } 26 | 27 | class StartStopXCPCalDialog : public Dialog 28 | { 29 | Q_OBJECT 30 | 31 | public: 32 | explicit StartStopXCPCalDialog(QWidget *parent = nullptr); 33 | ~StartStopXCPCalDialog(); 34 | 35 | private: 36 | Ui::StartStopXCPCalDialog *ui; 37 | }; 38 | 39 | #endif // STARTSTOPXCPCALDIALOG_H 40 | -------------------------------------------------------------------------------- /Src/GUI/Qt/Dialog/StartStopXcpDialog.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #include "StartStopXcpDialog.h" 19 | #include "ui_StartStopXcpDialog.h" 20 | 21 | StartStopXCPDialog::StartStopXCPDialog(QWidget *parent) : Dialog(parent), 22 | ui(new Ui::StartStopXCPDialog) 23 | { 24 | ui->setupUi(this); 25 | } 26 | 27 | StartStopXCPDialog::~StartStopXCPDialog() 28 | { 29 | delete ui; 30 | } 31 | -------------------------------------------------------------------------------- /Src/GUI/Qt/Dialog/StartStopXcpDialog.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #ifndef STARTSTOPXCPDIALOG_H 19 | #define STARTSTOPXCPDIALOG_H 20 | 21 | #include 22 | #include 23 | 24 | namespace Ui { 25 | class StartStopXCPDialog; 26 | } 27 | 28 | class StartStopXCPDialog : public Dialog 29 | { 30 | Q_OBJECT 31 | 32 | public: 33 | explicit StartStopXCPDialog(QWidget *parent = nullptr); 34 | ~StartStopXCPDialog(); 35 | 36 | private: 37 | Ui::StartStopXCPDialog *ui; 38 | }; 39 | 40 | #endif // STARTSTOPXCPDIALOG_H 41 | -------------------------------------------------------------------------------- /Src/GUI/Qt/Dialog/StopProcessDialog.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #ifndef STOPPROCESSDIALOG_H 19 | #define STOPPROCESSDIALOG_H 20 | 21 | #include 22 | #include 23 | 24 | namespace Ui { 25 | class StopProcessDialog; 26 | } 27 | 28 | class StopProcessDialog : public Dialog 29 | { 30 | Q_OBJECT 31 | 32 | public: 33 | explicit StopProcessDialog(QWidget *parent = nullptr); 34 | ~StopProcessDialog(); 35 | 36 | 37 | public slots: 38 | void accept(); 39 | 40 | private: 41 | Ui::StopProcessDialog *ui; 42 | }; 43 | 44 | #endif // STOPPROCESSDIALOG_H 45 | -------------------------------------------------------------------------------- /Src/GUI/Qt/Dialog/XcpConfigDialog.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #ifndef XCPCONFIGDIALOG_H 19 | #define XCPCONFIGDIALOG_H 20 | 21 | #include 22 | 23 | namespace Ui { 24 | class XCPConfigDialog; 25 | } 26 | 27 | class XCPConfigDialog : public Dialog 28 | { 29 | Q_OBJECT 30 | 31 | public: 32 | explicit XCPConfigDialog(QWidget *parent = nullptr); 33 | ~XCPConfigDialog(); 34 | 35 | private slots: 36 | void on_buttonBox_accepted(); 37 | 38 | private: 39 | Ui::XCPConfigDialog *ui; 40 | }; 41 | 42 | #endif // XCPCONFIGDIALOG_H 43 | -------------------------------------------------------------------------------- /Src/GUI/Qt/GetNewUniqueWindowTitleStartWith.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #ifndef GETNEWUNIQUEWINDOWTITLESTARTWITH_H 19 | #define GETNEWUNIQUEWINDOWTITLESTARTWITH_H 20 | 21 | #include 22 | QString GetNewUniqueWindowTitleStartWith (QString &par_Prefix); 23 | 24 | #endif // GETNEWUNIQUEWINDOWTITLESTARTWITH_H 25 | 26 | -------------------------------------------------------------------------------- /Src/GUI/Qt/Hotkey.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #ifndef CSCHOTKEY_H 19 | #define CSCHOTKEY_H 20 | 21 | #include 22 | #include 23 | 24 | class cSCHotkey : public QObject 25 | { 26 | Q_OBJECT 27 | private: 28 | int type; 29 | QString formula; 30 | public: 31 | cSCHotkey(int type, QString formula = nullptr); 32 | ~cSCHotkey(); 33 | public slots: 34 | void activateHotkeys(); 35 | }; 36 | 37 | #endif // CSCHOTKEY_H 38 | -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/Bargraph.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/Bargraph.ico -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/BlackboardList.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/BlackboardList.ico -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/Button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/Button.png -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/CAN.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/CAN.png -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/CalTreeDataTypeArray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/CalTreeDataTypeArray.png -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/CalTreeDataTypeBase.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/CalTreeDataTypeBase.png -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/CalTreeDataTypeBaseClass.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/CalTreeDataTypeBaseClass.png -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/CalTreeDataTypeErr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/CalTreeDataTypeErr.png -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/CalTreeDataTypePointer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/CalTreeDataTypePointer.png -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/CalTreeDataTypeStruct.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/CalTreeDataTypeStruct.png -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/Car_1.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/Car_1.ico -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/Car_2.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/Car_2.ico -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/Car_3.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/Car_3.ico -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/Car_4.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/Car_4.ico -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/Continue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/Continue.png -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/ContinueOne.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/ContinueOne.png -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/Curve.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/Curve.png -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/DarkMode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/DarkMode.png -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/DarkModeSmall.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/DarkModeSmall.png -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/DefaultModeSmall.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/DefaultModeSmall.png -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/ErrorFile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/ErrorFile.png -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/Filter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/Filter.png -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/Ghost.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/Ghost.png -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/Graph.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/Graph.ico -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/Help.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/Help.png -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/HideControlPanel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/HideControlPanel.png -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/Html.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/Html.png -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/Knob.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/Knob.png -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/Lamps.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/Lamps.png -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/List.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/List.png -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/ListView.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/ListView.png -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/MagnifierDebugFile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/MagnifierDebugFile.png -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/MoveControlPanel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/MoveControlPanel.png -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/NormalMode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/NormalMode.png -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/NormalModeSmall.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/NormalModeSmall.png -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/Octopus_1.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/Octopus_1.ico -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/Octopus_2.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/Octopus_2.ico -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/Octopus_3.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/Octopus_3.ico -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/Octopus_4.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/Octopus_4.ico -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/Octopus_5.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/Octopus_5.ico -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/ScrewDriver.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/ScrewDriver.ico -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/SheetMinus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/SheetMinus.png -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/SheetPlus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/SheetPlus.png -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/ShowControlPanel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/ShowControlPanel.png -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/Slider.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/Slider.ico -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/SoftIceCream_0.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/SoftIceCream_0.ico -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/SoftIceCream_1.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/SoftIceCream_1.ico -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/SoftIceCream_10.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/SoftIceCream_10.ico -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/SoftIceCream_11.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/SoftIceCream_11.ico -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/SoftIceCream_12.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/SoftIceCream_12.ico -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/SoftIceCream_13.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/SoftIceCream_13.ico -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/SoftIceCream_14.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/SoftIceCream_14.ico -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/SoftIceCream_15.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/SoftIceCream_15.ico -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/SoftIceCream_16.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/SoftIceCream_16.ico -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/SoftIceCream_17.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/SoftIceCream_17.ico -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/SoftIceCream_2.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/SoftIceCream_2.ico -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/SoftIceCream_3.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/SoftIceCream_3.ico -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/SoftIceCream_4.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/SoftIceCream_4.ico -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/SoftIceCream_5.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/SoftIceCream_5.ico -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/SoftIceCream_6.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/SoftIceCream_6.ico -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/SoftIceCream_7.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/SoftIceCream_7.ico -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/SoftIceCream_8.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/SoftIceCream_8.ico -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/SoftIceCream_9.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/SoftIceCream_9.ico -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/Softcar.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/Softcar.gif -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/Tacho.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/Tacho.ico -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/Text.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/Text.ico -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/Text.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/Text.png -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/UserDraw.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/UserDraw.ico -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/XMas_1.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/XMas_1.ico -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/XMas_2.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/XMas_2.ico -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/XMas_3.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/XMas_3.ico -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/XMas_4.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/XMas_4.ico -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/XiL.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/XiL.png -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/about.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/about.png -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/car.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/car.png -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/editError.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/editError.png -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/equ_list_analog.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/equ_list_analog.png -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/equ_list_bb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/equ_list_bb.png -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/equ_list_before.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/equ_list_before.png -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/equ_list_behind.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/equ_list_behind.png -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/equ_list_can.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/equ_list_can.png -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/equ_list_global.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/equ_list_global.png -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/equ_list_rampe.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/equ_list_rampe.png -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/equ_list_unknown.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/equ_list_unknown.png -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/equ_list_waituntil.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/equ_list_waituntil.png -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/ext_err_error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/ext_err_error.png -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/ext_err_info.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/ext_err_info.png -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/ext_err_realtime.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/ext_err_realtime.png -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/ext_err_unknown.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/ext_err_unknown.png -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/ext_err_warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/ext_err_warning.png -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/realtime.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/realtime.png -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/refresh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/refresh.png -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/save.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/save.png -------------------------------------------------------------------------------- /Src/GUI/Qt/Icons/stop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/GUI/Qt/Icons/stop.png -------------------------------------------------------------------------------- /Src/GUI/Qt/IsWindowNameValid.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #ifndef ISWINDOWNAMEVALID_H 19 | #define ISWINDOWNAMEVALID_H 20 | 21 | inline int IsWindowNameValid (char *Name) 22 | { 23 | if (isspace(Name[0])) return 0; // darf nicht mit einem Leerzeichen anfangen 24 | if (Name[0] == 0) return 0; // mind. 1 Zeichen 25 | 26 | return 1; 27 | } 28 | 29 | #endif // ISWINDOWNAMEVALID_H 30 | 31 | -------------------------------------------------------------------------------- /Src/GUI/Qt/IsWindowOpen.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #ifndef ISWINDOWOPEN_H 19 | #define ISWINDOWOPEN_H 20 | 21 | #ifdef __cplusplus 22 | #include 23 | int IsWindowOpen (QString &par_WindowName, bool par_OnlyActiveSheet); 24 | extern "C" { 25 | #endif 26 | 27 | //int IsWindowOpen (char *par_WindowName, bool par_OnlyActiveSheet); 28 | 29 | #ifdef __cplusplus 30 | } 31 | #endif 32 | 33 | #endif // ISWINDOWOPEN_H 34 | 35 | -------------------------------------------------------------------------------- /Src/GUI/Qt/StringHelpers.cpp: -------------------------------------------------------------------------------- 1 | #include "StringHelpers.h" 2 | 3 | extern "C" { 4 | #include "MyMemory.h" 5 | } 6 | 7 | char *MallocCopyString(QString &par_String) 8 | { 9 | int Len = strlen(QStringToConstChar(par_String)) + 1; 10 | char * Ret = (char*)my_malloc(Len); 11 | if (Ret != nullptr) { 12 | strcpy(Ret, QStringToConstChar(par_String)); 13 | } 14 | return Ret; 15 | } 16 | 17 | char *ReallocCopyString(char *par_Dst, QString &par_String) 18 | { 19 | int Len = strlen(QStringToConstChar(par_String)) + 1; 20 | char * Ret = (char*)my_realloc(par_Dst, Len); 21 | if (Ret != nullptr) { 22 | strcpy(Ret, QStringToConstChar(par_String)); 23 | } 24 | return Ret; 25 | } 26 | -------------------------------------------------------------------------------- /Src/GUI/Qt/StringHelpers.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include 3 | #define QStringToConstChar(s) ((s).toUtf8().constData()) 4 | #define QStringToChar(s) ((s).toUtf8().data()) 5 | #define CharToQString(s) (QString().fromUtf8(s)) 6 | 7 | // The returned string have to be give free with my_free() function (if it is none zero) 8 | char *MallocCopyString(QString &par_String); 9 | char *ReallocCopyString(char *par_Dst, QString &par_String); 10 | 11 | 12 | -------------------------------------------------------------------------------- /Src/GUI/Qt/Widgets/A2LCalMap/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | target_sources(XilEnvGui PRIVATE 2 | A2LCalMap3DView.cpp 3 | A2LCalMapData.cpp 4 | A2LCalMapModel.cpp 5 | A2LCalMapType.cpp 6 | A2LCalWidgetSync.cpp 7 | A2LCalMapConfigDlg.cpp 8 | A2LCalMapDelegateEditor.cpp 9 | A2LCalMapPropertiesDlg.cpp 10 | A2LCalMapWidget.cpp 11 | A2LCalMapKeyBindigDlg.cpp 12 | A2LCalMapKeyBindigDlg.ui 13 | A2LCalMapConfigDlg.ui 14 | A2LCalMapPropertiesDlg.ui 15 | ) 16 | -------------------------------------------------------------------------------- /Src/GUI/Qt/Widgets/A2LCalSingle/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | target_sources(XilEnvGui PRIVATE 2 | A2LCalSingleConfigDlg.cpp 3 | A2LCalSingleDelegateEditor.cpp 4 | A2LCalSinglePropertiesDlg.cpp 5 | A2LCalSingleWidget.cpp 6 | A2LCalSingleData.cpp 7 | A2LCalSingleModel.cpp 8 | A2LCalSingleTableView.cpp 9 | A2LCalSingleType.cpp 10 | 11 | A2LCalSingleConfigDlg.ui 12 | A2LCalSinglePropertiesDlg.ui 13 | ) 14 | -------------------------------------------------------------------------------- /Src/GUI/Qt/Widgets/Bargraph/BargraphWidget.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #include "BargraphWidget.h" 19 | 20 | BargraphWidget::BargraphWidget(QString par_WindowTitle, MdiSubWindow* par_SubWindow, MdiWindowType* par_Type, QWidget* parent) : 21 | KnobOrTachoWidget (par_WindowTitle, par_SubWindow, par_Type, KnobOrTachoWidget::BargraphType, parent) 22 | { 23 | } 24 | -------------------------------------------------------------------------------- /Src/GUI/Qt/Widgets/Bargraph/BargraphWidget.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #ifndef BARGRAPHWIDGET_H 19 | #define BARGRAPHWIDGET_H 20 | 21 | #include "KnobOrTachoWidget.h" 22 | 23 | class BargraphWidget : public KnobOrTachoWidget { 24 | Q_OBJECT 25 | public: 26 | BargraphWidget(QString par_WindowTitle, MdiSubWindow* par_SubWindow, MdiWindowType *par_Type, QWidget *parent = nullptr); 27 | }; 28 | 29 | #endif // BARGRAPHWIDGET_H 30 | -------------------------------------------------------------------------------- /Src/GUI/Qt/Widgets/Bargraph/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | target_sources(XilEnvGui PRIVATE 2 | BargraphType.cpp 3 | BargraphWidget.cpp 4 | ) 5 | -------------------------------------------------------------------------------- /Src/GUI/Qt/Widgets/CalibrationTree/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | target_sources(XilEnvGui PRIVATE 2 | CalibrationTreeAddReferenceDialog.cpp 3 | CalibrationTreeItem.cpp 4 | CalibrationTreeProxyModel.cpp 5 | CalibrationTreeView.cpp 6 | ConfigCalibrationTreeViewDialog.cpp 7 | CalibrationTreeDelegateEditor.cpp 8 | CalibrationTreeModel.cpp 9 | CalibrationTreeType.cpp 10 | CalibrationTreeWidget.cpp 11 | 12 | CalibrationTreeAddReferenceDialog.ui 13 | ConfigCalibrationTreeViewDialog.ui 14 | ) 15 | -------------------------------------------------------------------------------- /Src/GUI/Qt/Widgets/CanMessage/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | target_sources(XilEnvGui PRIVATE 2 | CanMessageTreeView.cpp 3 | CanMessageWindowConfigDialog.cpp 4 | CanMessageWindowModel.cpp 5 | CanMessageWindowType.cpp 6 | CanMessageWindowWidget.cpp 7 | 8 | CanMessageWindowConfigDialog.ui 9 | ) 10 | -------------------------------------------------------------------------------- /Src/GUI/Qt/Widgets/Enum/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | target_sources(XilEnvGui PRIVATE 2 | EnumType.cpp 3 | EnumWidget.cpp 4 | OneEnumButton.cpp 5 | OneEnumVariable.cpp 6 | ) 7 | -------------------------------------------------------------------------------- /Src/GUI/Qt/Widgets/Knob/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | target_sources(XilEnvGui PRIVATE 2 | KnobType.cpp 3 | KnobWidget.cpp 4 | KnobOrTachoWidget.cpp 5 | ) 6 | -------------------------------------------------------------------------------- /Src/GUI/Qt/Widgets/Knob/KnobWidget.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #include "KnobWidget.h" 18 | 19 | KnobWidget::KnobWidget(QString par_WindowTitle, MdiSubWindow* par_SubWindow, MdiWindowType* par_Type, QWidget* parent) : 20 | KnobOrTachoWidget (par_WindowTitle, par_SubWindow, par_Type, KnobOrTachoWidget::KnobType, parent) 21 | { 22 | } 23 | 24 | -------------------------------------------------------------------------------- /Src/GUI/Qt/Widgets/Knob/KnobWidget.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #ifndef KNOBWIDGET_H 19 | #define KNOBWIDGET_H 20 | 21 | #include "KnobOrTachoWidget.h" 22 | 23 | 24 | class KnobWidget : public KnobOrTachoWidget { 25 | Q_OBJECT 26 | public: 27 | KnobWidget(QString par_WindowTitle, MdiSubWindow* par_SubWindow, MdiWindowType *par_Type, QWidget *parent = nullptr); 28 | }; 29 | 30 | #endif // KNOBWIDGET_H 31 | -------------------------------------------------------------------------------- /Src/GUI/Qt/Widgets/Lamps/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | target_sources(XilEnvGui PRIVATE 2 | LampsGraphicsView.cpp 3 | LampsType.cpp 4 | LampsWidget.cpp 5 | ) 6 | -------------------------------------------------------------------------------- /Src/GUI/Qt/Widgets/Oscilloscope/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | target_sources(XilEnvGui PRIVATE 2 | OscilloscopeConfigDialog.cpp 3 | OscilloscopeDescFrame.cpp 4 | OscilloscopeWidget.cpp 5 | Oscilloscope.cpp 6 | OscilloscopeDrawArea.cpp 7 | OscilloscopeStatus.cpp 8 | OscilloscopeYAxis.cpp 9 | OscilloscopeDesc.cpp 10 | OscilloscopeLineWidthWidget.cpp 11 | OscilloscopeTimeAxis.cpp 12 | OscilloscopeZoomHistoryDialog.cpp 13 | OscilloscopeCyclic.c 14 | OscilloscopeFile.c 15 | OscilloscopeINI.cpp 16 | 17 | OscilloscopeConfigDialog.ui 18 | OscilloscopeSelectVariableDialog.ui 19 | OscilloscopeZoomHistoryDialog.ui 20 | ) 21 | -------------------------------------------------------------------------------- /Src/GUI/Qt/Widgets/Oscilloscope/OscilloscopeFile.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #ifndef OSCILLOSCOPEFILE_H 19 | #define OSCILLOSCOPEFILE_H 20 | 21 | #include "OscilloscopeData.h" 22 | 23 | // Write oscilloscope buffer content as stimulation file 24 | #define FILE_FORMAT_DAT_TE 1 25 | #define FILE_FORMAT_EXT_DAT_TE 2 26 | int WriteOsziBuffer2StimuliFile (OSCILLOSCOPE_DATA* poszidata, const char *par_FileName, int par_Format, const char *par_Title); 27 | 28 | #endif 29 | -------------------------------------------------------------------------------- /Src/GUI/Qt/Widgets/Oscilloscope/OscilloscopeINI.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #ifndef OSCILLOSCOPEINI_H 19 | #define OSCILLOSCOPEINI_H 20 | 21 | #include "OscilloscopeData.h" 22 | 23 | #ifdef __cplusplus 24 | extern "C" { 25 | #endif 26 | 27 | void write_osziwin_ini (const char *SectionName, OSCILLOSCOPE_DATA* poszidata, int xpos, int ypos, int xsize, int ysize, int minimized); 28 | 29 | void read_osziwin_ini (const char *SectionName, OSCILLOSCOPE_DATA* poszidata); 30 | 31 | 32 | #ifdef __cplusplus 33 | } 34 | #endif 35 | 36 | #endif // OSCILLOSCOPEINI_H 37 | 38 | -------------------------------------------------------------------------------- /Src/GUI/Qt/Widgets/Oscilloscope/OscilloscopeRightYAxis.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #ifndef OSCILLOSCOPERIGHTYAXIS_H 19 | #define OSCILLOSCOPERIGHTYAXIS_H 20 | 21 | #include 22 | 23 | class OscilloscopeRightYAxis : public QWidget 24 | { 25 | Q_OBJECT 26 | public: 27 | explicit OscilloscopeRightYAxis(QWidget *parent = 0); 28 | ~OscilloscopeRightYAxis(); 29 | 30 | signals: 31 | 32 | public slots: 33 | }; 34 | 35 | #endif // OSCILLOSCOPERIGHTYAXIS_H 36 | -------------------------------------------------------------------------------- /Src/GUI/Qt/Widgets/Slider/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | target_sources(XilEnvGui PRIVATE 2 | SliderType.cpp 3 | SliderWidget.cpp 4 | ) 5 | -------------------------------------------------------------------------------- /Src/GUI/Qt/Widgets/Slider/SliderWidget.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #include "SliderWidget.h" 18 | 19 | SliderWidget::SliderWidget(QString par_WindowTitle, MdiSubWindow* par_SubWindow, MdiWindowType* par_Type, QWidget* parent) : 20 | KnobOrTachoWidget (par_WindowTitle, par_SubWindow, par_Type, KnobOrTachoWidget::SliderType, parent) 21 | { 22 | } 23 | -------------------------------------------------------------------------------- /Src/GUI/Qt/Widgets/Slider/SliderWidget.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #ifndef SLIDERWIDGET_H 19 | #define SLIDERWIDGET_H 20 | 21 | #include "KnobOrTachoWidget.h" 22 | 23 | class SliderWidget : public KnobOrTachoWidget { 24 | Q_OBJECT 25 | public: 26 | SliderWidget(QString par_WindowTitle, MdiSubWindow* par_SubWindow, MdiWindowType *par_Type, QWidget *parent = nullptr); 27 | }; 28 | 29 | #endif // SLIDERWIDGET_H 30 | -------------------------------------------------------------------------------- /Src/GUI/Qt/Widgets/Tacho/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | target_sources(XilEnvGui PRIVATE 2 | TachoType.cpp 3 | TachoWidget.cpp 4 | ) 5 | -------------------------------------------------------------------------------- /Src/GUI/Qt/Widgets/Tacho/TachoWidget.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #include "TachoWidget.h" 18 | 19 | 20 | TachoWidget::TachoWidget(QString par_WindowTitle, MdiSubWindow* par_SubWindow, MdiWindowType* par_Type, QWidget* parent) : 21 | KnobOrTachoWidget (par_WindowTitle, par_SubWindow, par_Type, KnobOrTachoWidget::TachoType, parent) 22 | { 23 | } 24 | 25 | -------------------------------------------------------------------------------- /Src/GUI/Qt/Widgets/Tacho/TachoWidget.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #ifndef TACHOWIDGET_H 19 | #define TACHOWIDGET_H 20 | 21 | #include "KnobOrTachoWidget.h" 22 | 23 | class TachoWidget : public KnobOrTachoWidget { 24 | Q_OBJECT 25 | public: 26 | TachoWidget(QString par_WindowTitle, MdiSubWindow* par_SubWindow, MdiWindowType *par_Type, QWidget *parent = nullptr); 27 | }; 28 | 29 | #endif // TACHOWIDGET_H 30 | -------------------------------------------------------------------------------- /Src/GUI/Qt/Widgets/Text/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | target_sources(XilEnvGui PRIVATE 2 | TextTableView.cpp 3 | TextTableViewDelegate.cpp 4 | TextType.cpp 5 | TextWidget.cpp 6 | ) 7 | -------------------------------------------------------------------------------- /Src/GUI/Qt/Widgets/UserControl/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | target_sources(XilEnvGui PRIVATE 2 | UserControlButton.cpp 3 | UserControlConfigElementDelegate.cpp 4 | UserControlElement.cpp 5 | UserControlModel.cpp 6 | UserControlPropertiesList.cpp 7 | UserControlType.cpp 8 | UserControlConfigDialog.cpp 9 | UserControlConfigElementPropertiesModel.cpp 10 | UserControlGroup.cpp 11 | UserControlParser.cpp 12 | UserControlRoot.cpp 13 | UserControlWidget.cpp 14 | 15 | UserControlConfigDialog.ui 16 | ) 17 | -------------------------------------------------------------------------------- /Src/GUI/Qt/Widgets/UserDraw/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | target_sources(XilEnvGui PRIVATE 2 | UserDrawBinaryImage.cpp 3 | UserDrawConfigElementPropertiesModel.cpp 4 | UserDrawImage.cpp 5 | UserDrawParser.cpp 6 | UserDrawRoot.cpp 7 | UserDrawXYPlot.cpp 8 | UserDrawButton.cpp 9 | UserDrawConfigPointsElementDialog.cpp 10 | UserDrawImageModel.cpp 11 | UserDrawPoint.cpp 12 | UserDrawSplitParameters.cpp 13 | UserDrawCircle.cpp 14 | UserDrawConfigXYPlotElementDialog.cpp 15 | UserDrawLayer.cpp 16 | UserDrawPolygon.cpp 17 | UserDrawText.cpp 18 | UserDrawConfigDialog.cpp 19 | UserDrawElement.cpp 20 | UserDrawLine.cpp 21 | UserDrawPropertiesList.cpp 22 | UserDrawType.cpp 23 | UserDrawConfigElementDelegate.cpp 24 | UserDrawGroup.cpp 25 | UserDrawModel.cpp 26 | UserDrawRect.cpp 27 | UserDrawWidget.cpp 28 | 29 | UserDrawConfigDialog.ui 30 | UserDrawConfigPointsElementDialog.ui 31 | UserDrawConfigXYPlotElementDialog.ui 32 | ) 33 | -------------------------------------------------------------------------------- /Src/GUI/Qt/Widgets/UserDraw/UserDrawImageItem.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #ifndef USERDRAWIMAGEITEM_H 19 | #define USERDRAWIMAGEITEM_H 20 | 21 | #include 22 | #include 23 | #include 24 | 25 | #include "UserDrawBinaryImage.h" 26 | 27 | class UserDrawImageItem { 28 | public: 29 | QString m_Name; 30 | QImage m_Image; 31 | UserDrawBinaryImage m_BinaryImage; 32 | int m_Number; 33 | }; 34 | 35 | #endif // USERDRAWIMAGEITEM_H 36 | -------------------------------------------------------------------------------- /Src/GUI/Qt/Widgets/UserDraw/UserDrawSplitParameters.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #ifndef USERDRAWSPLITPARAMETERS_H 19 | #define USERDRAWSPLITPARAMETERS_H 20 | 21 | #include 22 | 23 | QStringList SplitParameters(QString &par_Paramters); 24 | 25 | #endif // USERDRAWSPLITPARAMETERS_H 26 | -------------------------------------------------------------------------------- /Src/GUI/Qt/WindowNameAlreadyInUse.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #ifndef WINDOWNAMEALREADYINUSE 19 | #define WINDOWNAMEALREADYINUSE 20 | 21 | #ifdef __cplusplus 22 | #include 23 | int WindowNameAlreadyInUse (QString &par_WindowName); 24 | extern "C" { 25 | #endif 26 | 27 | int WindowNameAlreadyInUse (char *par_WindowName); 28 | 29 | #ifdef __cplusplus 30 | } 31 | #endif 32 | 33 | #endif // WINDOWNAMEALREADYINUSE 34 | 35 | -------------------------------------------------------------------------------- /Src/Global/CheckIfAlreadyRunning.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #ifndef CHECKIFALREADYRUNNING_H 19 | #define CHECKIFALREADYRUNNING_H 20 | 21 | int CheckIfAlreadyRunning (char *par_InstanceName, void *par_Application); 22 | 23 | int TryToLockInstance (char *Instance); 24 | 25 | #endif 26 | -------------------------------------------------------------------------------- /Src/Global/Compare2DoubleEqual.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #include "Compare2DoubleEqual.h" 19 | 20 | int CompareDoubleEqual_int(double a, double b) 21 | { 22 | double diff = a - b; 23 | if ((diff <= 0.0) && (diff >= 0.0)) return 1; 24 | else return 0; 25 | } 26 | -------------------------------------------------------------------------------- /Src/Global/Compare2DoubleEqual.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #ifndef COMPARE2DOUBLEEQUAL_H 19 | #define COMPARE2DOUBLEEQUAL_H 20 | 21 | int CompareDoubleEqual_int(double a, double b); 22 | 23 | #endif // COMPARE2DOUBLEEQUAL_H 24 | -------------------------------------------------------------------------------- /Src/Global/GlobalDataTypes.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #pragma once 19 | 20 | #include 21 | #ifndef WSC_10_H 22 | #ifndef TYPEDEF_VID_DEFINED 23 | #define TYPEDEF_VID_DEFINED 24 | typedef int32_t VID; // Variablen-ID 25 | #endif 26 | #endif 27 | typedef int32_t PID; // Prozess-ID 28 | 29 | -------------------------------------------------------------------------------- /Src/Global/ImExportVarProperties.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | int ScriptImportVariablesProperties (char *Filename); 19 | 20 | int ImportOneVariablePropertiesFlags (int par_Fd, 21 | char *Variname, 22 | int ImportUnit, 23 | int ImportMinMax, 24 | int ImportConvertion, 25 | int ImportDisplay, 26 | int ImportStep, 27 | int ImportColor); 28 | -------------------------------------------------------------------------------- /Src/Global/IniFileDontExist.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | void AddIniFileToHistory (char *par_IniFile); 19 | -------------------------------------------------------------------------------- /Src/Global/ReplaceFuncWithProg.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | int ReplaceFunctionWithProgram (char *Function, int *pRet, int ParamCount, ...); 19 | -------------------------------------------------------------------------------- /Src/Global/StartExeAndWait.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #ifndef STARTEXEANDWAIT_H 19 | #define STARTEXEANDWAIT_H 20 | 21 | int StartExeAndWait(char *exename, char *aufrufparameter); 22 | 23 | #endif 24 | -------------------------------------------------------------------------------- /Src/Global/StartupInit.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #ifndef STARTUPINIT_H 19 | #define STARTUPINIT_H 20 | 21 | #include "Platform.h" 22 | 23 | int StartupInit (void *par_Application); 24 | 25 | int RequestForTermination (void); 26 | 27 | int TerminateSelf (void); 28 | 29 | #endif 30 | -------------------------------------------------------------------------------- /Src/Global/TimeProcess.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #ifndef TIMEPROCESS_H 19 | #define TIMEPROCESS_H 20 | 21 | #include "tcb.h" 22 | 23 | extern TASK_CONTROL_BLOCK TimeTcb; 24 | 25 | #endif // TIMEPROCESS_H 26 | -------------------------------------------------------------------------------- /Src/Global/UniqueNumber.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #ifndef UNIQUENUMBER_H 19 | #define UNIQUENUMBER_H 20 | 21 | 22 | #define MAX_UNIQUE_NUMBER_VALUE 0x7FFFFFFF 23 | #define INVALID_UNIQUE_NUMBER -1 24 | 25 | void InitUniqueNumbers (void); 26 | void TerminateUniqueNumbers (void); 27 | int AquireUniqueNumber (void); 28 | void FreeUniqueNumber (int par_Number); 29 | 30 | 31 | #endif // UNIQUENUMBER_H 32 | 33 | -------------------------------------------------------------------------------- /Src/Global/WindowIniHelper.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #ifndef __WINDOWS_HELP_FUNC_H 19 | #define __WINDOWS_HELP_FUNC_H 20 | 21 | int GetSection_AllWindowsOfType (char *WindowType, char **pSectionName); 22 | int IsIn_AllWindowOfTypeList (int par_Fd, char *WindowList, const char *WindowName, int StartIdx); 23 | int IsIn_Sheet (int par_Fd, const char *SheetFilter, const char *WindowName); 24 | 25 | #endif 26 | -------------------------------------------------------------------------------- /Src/Global/my_stdint.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #ifndef MY_STDINT_H 19 | #define MY_STDINT_H 20 | #ifdef _MSC_VER 21 | #if (_MSC_VER < 1500) 22 | // Visual Studio .NET 2003 (7.1) hat keinen stdint.h Header 23 | typedef signed char int8_t; 24 | typedef unsigned char uint8_t; 25 | typedef signed short int16_t; 26 | typedef unsigned short uint16_t; 27 | typedef signed int int32_t; 28 | typedef unsigned int uint32_t; 29 | typedef signed __int64 int64_t; 30 | typedef unsigned __int64 uint64_t; 31 | #else 32 | #include 33 | #endif 34 | #else 35 | #include 36 | #endif 37 | #endif 38 | -------------------------------------------------------------------------------- /Src/Global/my_udiv128.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #ifndef MY_UDIV128_H 19 | #define MY_UDIV128_H 20 | 21 | #include 22 | 23 | uint64_t udiv128 (uint64_t nlo, uint64_t nhi, uint64_t d, uint64_t *rem); 24 | 25 | uint64_t my_umuldiv64(uint64_t a, uint64_t b, uint64_t c); 26 | 27 | #endif // MY_UDIV128_H 28 | -------------------------------------------------------------------------------- /Src/IniFileDataBase/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(CommonFileList 2 | DeleteWindowFromIni.c 3 | IniDataBase.c 4 | IniDataBaseInOutputFilter.c 5 | ) 6 | 7 | target_sources(XilEnv PRIVATE ${CommonFileList}) 8 | 9 | target_sources(XilEnvGui PRIVATE ${CommonFileList}) 10 | -------------------------------------------------------------------------------- /Src/IniFileDataBase/DeleteWindowFromIni.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | int DeleteWindowFromIniFile (const char *WindowName, const char *WindowList); 19 | 20 | 21 | -------------------------------------------------------------------------------- /Src/IniFileDataBase/IniDatabaseInOutputFilter.h: -------------------------------------------------------------------------------- 1 | #ifndef INIDATABASEINOUTPUTFILTER_H 2 | #define INIDATABASEINOUTPUTFILTER_H 3 | 4 | #include 5 | 6 | FILE *CreateInOrOutputFilterProcessPipe(const char *par_ExecName, const char *par_FileName, int par_InOrOut); 7 | int IsInOrOutputFilterProcessPipe(FILE *par_PipeFile); 8 | int CloseInOrOutputFilterProcessPipe(FILE *par_PipeFile); 9 | 10 | #endif // INIDATABASEINOUTPUTFILTER_H 11 | -------------------------------------------------------------------------------- /Src/Ramps/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | target_sources(XilEnv PUBLIC 2 | RampsSingle.c RampsSplitCompiler.c 3 | ) 4 | 5 | target_sources(XilEnvGui PUBLIC 6 | RampsSingle.c RampsSplitCompiler.c 7 | ) 8 | -------------------------------------------------------------------------------- /Src/RemoteMaster/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | if(UNIX) 2 | add_subdirectory(Server) 3 | endif() 4 | add_subdirectory(Client) 5 | -------------------------------------------------------------------------------- /Src/RemoteMaster/Client/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(CommonFileList 2 | GetElfSectionVersionInfos.c 3 | RemoteMasterBlackboard.c 4 | RemoteMasterCopyStartExecutable.c 5 | RemoteMasterMessage.c 6 | RemoteMasterScheduler.c 7 | # ReadDspConfig.c 8 | RemoteMasterCanFifo.c 9 | RemoteMasterNet.c 10 | # ReadFlexcardDigIOConfig.c 11 | RemoteMasterControlProcess.c 12 | RemoteMasterFiFo.c 13 | RemoteMasterOther.c 14 | ) 15 | 16 | target_sources(XilEnv PRIVATE ${CommonFileList}) 17 | 18 | target_sources(XilEnvGui PRIVATE ${CommonFileList}) 19 | -------------------------------------------------------------------------------- /Src/RemoteMaster/Client/GetElfSectionVersionInfos.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #ifndef GETELFSECTIONVERSIONINFOS_H 19 | #define GETELFSECTIONVERSIONINFOS_H 20 | 21 | int CheckIfExecutableAndXilEnvAndScharedLibraryMatches(const char *par_Executable, 22 | const char *par_SharedLibrary); 23 | 24 | #endif 25 | -------------------------------------------------------------------------------- /Src/RemoteMaster/Client/ReadDspConfig.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #pragma once 19 | 20 | int GetMaxNumberOfDsps(void); 21 | 22 | int GetNumberOfDaDsps (void); 23 | 24 | int GetNumberOfAdDsps (void); 25 | 26 | void DSP56KLoadAllConfigs (void); 27 | 28 | void DSP56KConfigAck (int Flag); 29 | 30 | // wird von der GUI-Message-Loop aus aufgerufen wenn dort eine 31 | // DSP56301_INI-Message empfangen wird. 32 | void DSP56KLoadAllConfigsAfterStartDspProcess (void); 33 | 34 | 35 | int SaveAnalogSignalConfiguration (char *Filename); 36 | int LoadAnalogSignalConfiguration (char *Filename); 37 | -------------------------------------------------------------------------------- /Src/RemoteMaster/Client/RemoteMasterControlProcess.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #ifndef REMOTEMASTERCONTROLPROCESS_H 19 | #define REMOTEMASTERCONTROLPROCESS_H 20 | 21 | #include "tcb.h" 22 | #include "ReadCanCfg.h" 23 | 24 | int GetCanCardType (int Channel); 25 | char *GetCanCardName (int Channel); 26 | char *GetFlexrayCardName (int Channel); 27 | 28 | extern TASK_CONTROL_BLOCK RemoteMasterControl_Tcb; 29 | 30 | #endif // REMOTEMASTERCONTROLPROCESS_H 31 | -------------------------------------------------------------------------------- /Src/RemoteMaster/Client/RemoteMasterFiFo.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #pragma once 19 | #include 20 | 21 | int rm_RegisterNewRxFiFoName (int RxPid, const char *Name); 22 | 23 | int rm_UnRegisterRxFiFo (int FiFoId, int RxPid); 24 | 25 | int rm_TxAttachFiFo (int RxPid, const char *Name); 26 | 27 | int rm_SyncFiFos (void); 28 | 29 | -------------------------------------------------------------------------------- /Src/RemoteMaster/Server/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | 2 | target_sources(LinuxRemoteMasterCore PRIVATE 3 | CpuClock.c 4 | MemoryAllocation.c 5 | RealtimeProcessEquations.c 6 | RealtimeScheduler.c 7 | RemoteMasterDecoder.c 8 | RemoteMasterFile.c 9 | RemoteMasterLock.c 10 | RemoteMasterMessage.c 11 | RemoteMasterModelInterface.c 12 | RemoteMasterReadWriteMemory.c 13 | RemoteMasterReqToClient.c 14 | RemoteMasterServer.c 15 | Stups.c) 16 | 17 | target_sources(LinuxRemoteMaster PRIVATE 18 | RemoteMasterLibrary.c) 19 | 20 | target_sources(LinuxRemoteMaster.Out PRIVATE 21 | RemoteMasterLibrary.c 22 | RemoteMasterEmptyModel.c) 23 | 24 | add_subdirectory(Drivers) 25 | #add_subdirectory(Dsp56301) 26 | add_subdirectory(Equations) 27 | add_subdirectory(Ramps) 28 | -------------------------------------------------------------------------------- /Src/RemoteMaster/Server/CpuClock.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #pragma once 19 | #include 20 | 21 | void CalibrateCpuTicks(void); 22 | uint64_t GetCpuFrquency(void); 23 | uint64_t GetCpuTicksPerMicroSec(void); 24 | uint64_t Get_RDTSC(void); 25 | 26 | -------------------------------------------------------------------------------- /Src/RemoteMaster/Server/DecodeBlackboard.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Src/RemoteMaster/Server/DecodeBlackboard.c -------------------------------------------------------------------------------- /Src/RemoteMaster/Server/Drivers/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | 2 | target_sources(LinuxRemoteMasterCore PRIVATE 3 | IrqCpuAffinity.c SearchAndInitHardware.c) 4 | 5 | #add_subdirectory(Flexcard) 6 | #add_subdirectory(Goldammer) 7 | #add_subdirectory(Ixxat) 8 | add_subdirectory(SocketCan) 9 | -------------------------------------------------------------------------------- /Src/RemoteMaster/Server/Drivers/IrqCpuAffinity.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #pragma once 19 | 20 | int ResetAllIrqToCpu0(void); 21 | int SetIrqToCpu(char *par_NameOfDevice, int par_CpuNumber); 22 | int GetEthernetDeviceNameForIpAddress(char *ret_name); 23 | 24 | -------------------------------------------------------------------------------- /Src/RemoteMaster/Server/Drivers/SearchAndInitHardware.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #pragma once 19 | 20 | #include "RemoteMasterGlobalData.h" 21 | 22 | int SearchAndInitHardware(void); 23 | 24 | REMOTE_MASTER_GLOBAL_DATA *GetHardwareInfos(void); 25 | 26 | int GetFlexrayChannelCount(void); 27 | 28 | void *GetFlexCardBaseAddr(int CardNr); 29 | uint32_t GetFlexCardDMABufferPhysicalAddr(int CardNr); 30 | 31 | int TerminateAllHardware(void); 32 | 33 | int GetLinuxKernelVersion(int *ret_Major, int *ret_Minor, int *ret_Patch); 34 | -------------------------------------------------------------------------------- /Src/RemoteMaster/Server/Drivers/SocketCan/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | 2 | target_sources(LinuxRemoteMasterCore PRIVATE 3 | MapSocketCAN.c ReadWriteSocketCAN.c) 4 | 5 | 6 | -------------------------------------------------------------------------------- /Src/RemoteMaster/Server/Drivers/SocketCan/MapSocketCAN.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #pragma once 19 | 20 | #include "RemoteMasterGlobalData.h" 21 | 22 | int SocketCANsInit(REMOTE_MASTER_GLOBAL_DATA *GloabalData); 23 | int GetNumberOfFoundCanChannelsSocketCAN(void); 24 | int GetCanSocketByChannelNumber(int ChannelNumber); 25 | -------------------------------------------------------------------------------- /Src/RemoteMaster/Server/Equations/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | 2 | target_sources(LinuxRemoteMasterCore PRIVATE 3 | EquationsSplitExecute.c ) 4 | 5 | 6 | -------------------------------------------------------------------------------- /Src/RemoteMaster/Server/Ramps/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | 2 | target_sources(LinuxRemoteMasterCore PRIVATE 3 | RampsSplitExecute.c ) 4 | 5 | 6 | -------------------------------------------------------------------------------- /Src/RemoteMaster/Server/RealtimeProcessEquations.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #ifndef _PROC_EQU_H 19 | #define _PROC_EQU_H 20 | 21 | #include "tcb.h" 22 | 23 | void ClacBeforeProcessEquations(TASK_CONTROL_BLOCK *tcb); 24 | void ClacBehindProcessEquations(TASK_CONTROL_BLOCK *tcb); 25 | int AddBeforeProcessEquation(int Nr, int Pid, void *ExecStack); 26 | int AddBehindProcessEquation(int Nr, int Pid, void *ExecStack); 27 | int DelBeforeProcessEquations(int Nr, int Pid); 28 | int DelBehindProcessEquations(int Nr, int Pid); 29 | 30 | #endif -------------------------------------------------------------------------------- /Src/RemoteMaster/Server/RemoteMasterDecoder.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #pragma once 18 | 19 | uint32_t DecodeCommand(RM_PACKAGE_HEADER *Req, RM_PACKAGE_HEADER *Ack); 20 | -------------------------------------------------------------------------------- /Src/RemoteMaster/Server/RemoteMasterEmptyModel.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #include 19 | #include "RealtimeModelInterface.h" 20 | 21 | void reference_varis(void) 22 | { 23 | } 24 | 25 | int init_test_object(void) 26 | { 27 | return 0; 28 | } 29 | 30 | void terminate_test_object(void) 31 | { 32 | } 33 | 34 | void cyclic_test_object(void) 35 | { 36 | } 37 | 38 | DEFINE_TASK_CONTROL_BLOCK(EmptyModel, 100) 39 | -------------------------------------------------------------------------------- /Src/RemoteMaster/Server/RemoteMasterReadWriteMemory.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #pragma once 19 | 20 | int CheckAccessAndReadMemory(void *par_Address, int par_Size, void *ret_Data); 21 | int CheckAccessAndWriteMemory(void *par_Address, int par_Size, void *par_Data); 22 | -------------------------------------------------------------------------------- /Src/RemoteMaster/Server/RemoteMasterServer.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #pragma once 18 | 19 | int inner_main(int argc , char *argv[]); 20 | -------------------------------------------------------------------------------- /Src/RemoteMaster/Server/Scheduler.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #ifndef SCHEDULER_H 19 | #define SCHEDULER_H 20 | 21 | #include "RealtimeScheduler.h" 22 | 23 | #endif // PIPESCHED_H 24 | 25 | -------------------------------------------------------------------------------- /Src/RemoteMaster/Server/SetModelNameAndFunctionPointers.h: -------------------------------------------------------------------------------- 1 | #ifndef SETMODELNAMEANDFUNCTIONPOINTERS_H 2 | #define SETMODELNAMEANDFUNCTIONPOINTERS_H 3 | 4 | typedef struct { 5 | void(*reference_varis) (void); // Reference-Funk. 6 | int(*init_test_object) (void); // Init-Funk. 7 | void(*cyclic_test_object) (void); // Zyklische Funk. 8 | void(*terminate_test_object) (void); // Beenden-Funk. 9 | } MODEL_FUNCTION_POINTERS; 10 | 11 | // This function has it own header. The definition lves inside RemoteMasterModelInterface.c 12 | void SetModelNameAndFunctionPointers(const char *par_Name, int par_Prio, MODEL_FUNCTION_POINTERS *par_FunctionPointers); 13 | 14 | #endif // SETMODELNAMEANDFUNCTIONPOINTERS_H 15 | -------------------------------------------------------------------------------- /Src/RemoteMaster/Server/Stups.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | char ini_path[260]; 19 | -------------------------------------------------------------------------------- /Src/RpcInterface/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | target_sources(XilEnvRpc 2 | PRIVATE 3 | RpcClientSocket.c 4 | RpcFuncClientA2lLinks.c 5 | RpcFuncClient.c 6 | XilEnvRpc.def 7 | # PUBLIC FILE_SET HEADERS 8 | # BASE_DIRS ${PROJECT_SOURCE_DIR} 9 | # FILES XilEnvRpc.h) 10 | ) 11 | 12 | set(CommonFileList 13 | RpcServerFuncCan.c 14 | RpcServerFuncInternalProcesses.c 15 | RpcServerFuncXcp.c 16 | RpcServerFuncCcp.c 17 | RpcServerFuncLogin.c 18 | RpcControlProcess.c 19 | RpcServerFuncBlackboard.c 20 | #RpcServerFuncFlexray.c 21 | RpcServerFuncMisc.c 22 | RpcSocketServer.c 23 | RpcServerFuncCalibration.c 24 | RpcServerFuncGui.c 25 | RpcServerFuncSched.c 26 | ) 27 | 28 | target_sources(XilEnv PRIVATE ${CommonFileList}) 29 | 30 | target_sources(XilEnvGui PRIVATE ${CommonFileList}) 31 | -------------------------------------------------------------------------------- /Src/RpcInterface/RpcFuncClientA2lLinks.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #pragma once 19 | 20 | #include "XilEnvRpc.h" 21 | 22 | XILENV_LINK_DATA *XilEnvInternal_SetUpNewLinkData(void *par_Data, XILENV_LINK_DATA *par_Reuse); 23 | -------------------------------------------------------------------------------- /Src/RpcInterface/ThrowErrorOnClientSide.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #include 19 | int ThrowError(int level, const char *format, ...) 20 | { 21 | va_list args; 22 | va_start(args, format); 23 | vprintf(format, args); 24 | va_end(args); 25 | return 0; 26 | } 27 | -------------------------------------------------------------------------------- /Src/Scheduler/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(CommonFileList 2 | BaseMessages.c 3 | ExtProcessRefFilter.c 4 | PipeMessages.c 5 | ScBbCopyLists.c 6 | SchedEnableDisable.c 7 | SocketMessages.c 8 | VirtualNetwork.c 9 | ExternLoginTimeoutControl.c 10 | KillAllExternProcesses.c 11 | ProcessEquations.c 12 | SchedBarrier.c 13 | Scheduler.c 14 | UnixDomainSocketMessages.c 15 | ) 16 | 17 | target_sources(XilEnv PRIVATE ${CommonFileList}) 18 | 19 | target_sources(XilEnvGui PRIVATE ${CommonFileList}) 20 | -------------------------------------------------------------------------------- /Src/Scheduler/ExtProcessRefFilter.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #ifndef EXTPROCESSREFFILTER_H 19 | #define EXTPROCESSREFFILTER_H 20 | 21 | #define MAX_EXT_PROCESS_REF_FILTERS 32 22 | 23 | 24 | 25 | int BuildExternProcessReferenceFilter(int par_Pid, const char *par_ProcessPath); 26 | 27 | void FreeExternProcessReferenceFilter(int par_Pid); 28 | 29 | int ExternProcessReferenceMatchFilter (int par_Filter, const char *par_RefName); 30 | 31 | void InitExternProcessReferenceFilters(void); 32 | 33 | #endif // EXTPROCESSREFFIILTER_H 34 | -------------------------------------------------------------------------------- /Src/Scheduler/KillAllExternProcesses.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #ifndef KILLALLEXTERNPROCESSES_H 19 | #define KILLALLEXTERNPROCESSES_H 20 | 21 | int InitKillAllExternProcesses (char *par_Prefix); 22 | void KillAllExternProcesses (void); 23 | 24 | #endif // KILLALLEXTERNPROCESSES_H 25 | 26 | -------------------------------------------------------------------------------- /Src/Scheduler/PipeMessages.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #ifndef __PIPEMESSAGES_H 19 | #define __PIPEMESSAGES_H 20 | 21 | 22 | #include "tcb.h" 23 | #include "PipeMessagesShared.h" 24 | 25 | int InitPipeMessages (char *par_Prefix, int par_LogingFlag); 26 | int TerminatePipeMessages(void); 27 | 28 | #endif 29 | -------------------------------------------------------------------------------- /Src/Scheduler/SocketMessages.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #ifndef __SOCKETMESSAGES_H 19 | #define __SOCKETMESSAGES_H 20 | 21 | 22 | #include "tcb.h" 23 | #include "PipeMessagesShared.h" 24 | 25 | int Socket_InitMessages (char *par_Prefix, int par_LogingFlag); 26 | 27 | void Socket_TerminateMessages (void); 28 | 29 | #endif 30 | -------------------------------------------------------------------------------- /Src/Scheduler/UnixDomainSocketMessages.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #ifndef __UNIXDOMAINSOCKETMESSAGES_H 19 | #define __UNIXDOMAINSOCKETMESSAGES_H 20 | 21 | 22 | #include "tcb.h" 23 | #include "PipeMessagesShared.h" 24 | 25 | int UnixDomainSocket_InitMessages (char *par_Prefix, int par_LogingFlag); 26 | 27 | 28 | #endif 29 | -------------------------------------------------------------------------------- /Src/Script/BaseCmd.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #include "Platform.h" 19 | #include 20 | 21 | extern "C" { 22 | #include "MyMemory.h" 23 | } 24 | 25 | #include "Parser.h" 26 | #include "Tokenizer.h" 27 | #include "BaseCmd.h" 28 | 29 | void cBaseCmd::AddToTokenArray (void) 30 | { 31 | cTokenizer::AddCmdToTokenArray (this); 32 | } 33 | 34 | 35 | -------------------------------------------------------------------------------- /Src/Script/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(CommonFileList 2 | BaseCmd.cpp 3 | CmdTable.cpp 4 | DefLocalsTree.cpp 5 | FileCache.cpp 6 | ParamList.cpp 7 | Proc.cpp 8 | Stack.cpp 9 | Breakpoints.cpp 10 | CompilerTree.cpp 11 | Executor.cpp 12 | FormatMessageOutput.cpp 13 | Parser.cpp 14 | Script.cpp 15 | ScriptErrorMsgDlg.cpp 16 | Tokenizer.cpp 17 | InterfaceToScript.c 18 | ScriptChangeSettings.c 19 | ScriptDebugFile.c 20 | ScriptErrorFile.c 21 | ScriptHtmlFunctions.c 22 | ScriptList.c 23 | ScriptMessageFile.c 24 | ScriptStartExe.c 25 | ) 26 | 27 | target_sources(XilEnv PRIVATE ${CommonFileList}) 28 | 29 | target_sources(XilEnvGui PRIVATE ${CommonFileList}) 30 | 31 | add_subdirectory("Commands") 32 | -------------------------------------------------------------------------------- /Src/Script/FormatMessageOutput.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #ifndef FORMATMESSAGEOUTPUT_H 19 | #define FORMATMESSAGEOUTPUT_H 20 | 21 | #include "Parser.h" 22 | 23 | #define ONLY_COUNT_SPEZIFIER_FLAG 1 24 | 25 | int FormatMessageOutput (cParser *par_Parser, int par_FormatStringPos, char *par_OutputBuffer, int par_SizeofOutputBuffer, int *ret_FormatSpezifier, int par_Flags, int par_Verbose); 26 | 27 | #endif -------------------------------------------------------------------------------- /Src/Script/ScriptChangeSettings.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #ifndef __SC_CHANGE_SETTINGS 19 | #define __SC_CHANGE_SETTINGS 20 | 21 | #define CHANGE_SETTINGS_COMMAND_SET 0 22 | #define CHANGE_SETTINGS_COMMAND_PUSH_SET 1 23 | #define CHANGE_SETTINGS_COMMAND_GET 2 24 | #define CHANGE_SETTINGS_COMMAND_POP 3 25 | 26 | int ScriptChangeBasicSettings (int Command, int OnlyCheckFlag, const char *Param1, const char *Param2); 27 | void ResetChangeSettingsStack(void); 28 | #endif 29 | 30 | -------------------------------------------------------------------------------- /Src/Script/ScriptDebugFile.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #ifndef SCRIPTDEBUGFILE_H 19 | #define SCRIPTDEBUGFILE_H 20 | 21 | #include 22 | 23 | #define MAX_SCR_DBGS 5000 24 | 25 | extern FILE *DebugFile; 26 | 27 | void AddScriptDebug(char *szText); 28 | void CloseScriptDebugFile(void); 29 | int GenerateNewDebugFile(void); 30 | void CloseScrDbgDlg(void); 31 | 32 | #endif 33 | -------------------------------------------------------------------------------- /Src/Script/ScriptErrorMsgDlg.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #include "ScriptErrorDialog.h" 19 | #include "ScriptErrorMsgDlg.h" 20 | 21 | void cScriptErrorMsgDlg::ScriptErrorMsgDlgAddMsg (int par_LineNr, const char *par_Filename, const char *par_Msg) 22 | { 23 | ScriptErrorDialog::ScriptErrorMsgDlgAddMsgFromOtherThread (0, par_LineNr, par_Filename, par_Msg); 24 | } 25 | 26 | void cScriptErrorMsgDlg::ScriptErrorMsgDlgReset (void) 27 | { 28 | ScriptErrorMsgDlgAddMsg (-1, nullptr, nullptr); 29 | } 30 | 31 | -------------------------------------------------------------------------------- /Src/Script/ScriptErrorMsgDlg.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #ifndef SCRIPTERRMSGDLG_H 19 | #define SCRIPTERRMSGDLG_H 20 | 21 | #include "Platform.h" 22 | 23 | 24 | class cScriptErrorMsgDlg { 25 | public: 26 | static void ScriptErrorMsgDlgAddMsg (int par_LineNr, const char *par_Filename, const char *par_Msg); 27 | static void ScriptErrorMsgDlgReset (void); 28 | 29 | }; 30 | 31 | #endif 32 | -------------------------------------------------------------------------------- /Src/Script/ScriptHtmlFunctions.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #ifndef _SC_SCRIPT_HTMLFUNCTIONS_H 19 | #define _SC_SCRIPT_HTMLFUNCTIONS_H 20 | 21 | int get_html_strings(char *st1,char *st2,char *keywordstring); 22 | 23 | void init_html_strings(void); 24 | 25 | FILE *GenerateHTMLReportFile (char *HTML_ReportFilename); 26 | 27 | int CloseHTMLReportFile (FILE *HTML_ReportFile); 28 | 29 | 30 | #endif 31 | -------------------------------------------------------------------------------- /Src/Script/ScriptStartExe.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #ifndef SC_START_EXE_H 19 | #define SC_START_EXE_H 20 | 21 | 22 | #include "Platform.h" 23 | 24 | HANDLE start_exe(char *par_CommandString, char **ret_ErrMsg); 25 | int wait_for_end_of_exe (HANDLE hProcess, int par_Timeout, DWORD *ret_ExitCode); 26 | 27 | DWORD get_start_exe_ExitCode(void); 28 | 29 | void FreeStartExeErrorMsgBuffer(char *par_ErrMsg); 30 | void StartExeFreeProcessHandle(HANDLE hProcess); 31 | 32 | 33 | #endif 34 | -------------------------------------------------------------------------------- /Src/StimulusPlayer/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | if(UNIX) 2 | target_sources(LinuxRemoteMasterCore PRIVATE 3 | WriteToBlackboardPipe.c) 4 | endif() 5 | 6 | set(CommonFileList 7 | StimulusPlayer.c 8 | StimulusReadDatFile.c 9 | StimulusReadFile.c 10 | StimulusReadMdfFile.c 11 | WriteToBlackboardPipe.c 12 | ) 13 | 14 | target_sources(XilEnv PRIVATE ${CommonFileList}) 15 | 16 | target_sources(XilEnvGui PRIVATE ${CommonFileList}) 17 | 18 | -------------------------------------------------------------------------------- /Src/TraceRecorder/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | if(UNIX) 2 | target_sources(LinuxRemoteMasterCore PRIVATE 3 | ReadFromBlackboardPipe.c) 4 | endif() 5 | 6 | set(CommonFileList 7 | ReadFromBlackboardPipe.c 8 | TraceRecorder.c 9 | TraceWriteFile.c 10 | TraceWriteMdfFile.c 11 | ) 12 | 13 | target_sources(XilEnv PRIVATE ${CommonFileList}) 14 | 15 | target_sources(XilEnvGui PRIVATE ${CommonFileList}) 16 | -------------------------------------------------------------------------------- /Src/TraceRecorder/TraceWriteMdfFile.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #ifndef __TRACEWRITEMDFFILE_H 19 | #define __TRACEWRITEMDFFILE_H 20 | 21 | #include "TraceWriteFile.h" 22 | 23 | int OpenWriteMdfHead (START_MESSAGE_DATA hdrec_data, 24 | int32_t *vids, char *dec_phys_flags, FILE **pfile); 25 | 26 | int WriteRingbuffMdf (FILE *file, RING_BUFFER_COLOMN *stamp, int rpvari_count); 27 | 28 | int TailMdfFile (FILE *fh, uint32_t Samples, uint64_t RecorderStartTime); 29 | 30 | int WriteCommentToMdf (FILE *File, uint64_t Timestamp, const char *Comment); 31 | 32 | #endif 33 | -------------------------------------------------------------------------------- /Src/Utilities/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | if(UNIX) 2 | target_sources(LinuxRemoteMasterCore 3 | PRIVATE 4 | StringMaxChar.c 5 | ConfigurablePrefix.c) 6 | endif() 7 | 8 | target_sources(${XilEnvExtProcTargetName} 9 | PRIVATE StringMaxChar.c) 10 | 11 | set(CommonFileList 12 | GetNotANumber.c 13 | StringMaxChar.c 14 | ConfigurablePrefix.c 15 | ) 16 | 17 | target_sources(XilEnv PRIVATE ${CommonFileList}) 18 | 19 | target_sources(XilEnvGui PRIVATE ${CommonFileList}) 20 | 21 | -------------------------------------------------------------------------------- /Src/Utilities/GetNotANumber.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #include 19 | #include 20 | 21 | double GetNotANumber (void) 22 | { 23 | double Ret; 24 | uint64_t Raw; 25 | 26 | Raw = 0x7FF8000000000000ULL; 27 | *(uint64_t*)&Ret = Raw; 28 | return Ret; 29 | } 30 | -------------------------------------------------------------------------------- /Src/Utilities/GetNotANumber.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2023 ZF Friedrichshafen AG 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | #ifndef GETNOTANUMBER_H 19 | #define GETNOTANUMBER_H 20 | 21 | double GetNotANumber (void); 22 | 23 | #endif 24 | -------------------------------------------------------------------------------- /Src/XcpOverEthernet/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | 2 | set(CommonFileList 3 | XcpConnector.cpp 4 | XcpCopyPages.cpp 5 | XcpOverEthernet.cpp 6 | XcpWrapper.cpp 7 | ) 8 | 9 | target_sources(XilEnv PRIVATE ${CommonFileList}) 10 | 11 | target_sources(XilEnvGui PRIVATE ${CommonFileList}) 12 | -------------------------------------------------------------------------------- /Tools/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | if(UNIX) 2 | add_subdirectory(RemoteStartServer) 3 | endif() 4 | -------------------------------------------------------------------------------- /Tools/RemoteStartServer/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(RemoteStartServer) 2 | target_link_libraries(RemoteStartServer PRIVATE pthread) 3 | 4 | target_sources(RemoteStartServer 5 | PRIVATE RemoteStartServer.c) 6 | 7 | if(${MY_CMAKE_SIZEOF_VOID_P} GREATER 4) 8 | install(TARGETS RemoteStartServer 9 | RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX}/rt_linux 10 | ) 11 | endif() 12 | 13 | -------------------------------------------------------------------------------- /Userguide/Images/2PC_Concept.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Userguide/Images/2PC_Concept.png -------------------------------------------------------------------------------- /Userguide/Images/AddMsbLsb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Userguide/Images/AddMsbLsb.png -------------------------------------------------------------------------------- /Userguide/Images/AndBits.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Userguide/Images/AndBits.png -------------------------------------------------------------------------------- /Userguide/Images/Bargraph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Userguide/Images/Bargraph.png -------------------------------------------------------------------------------- /Userguide/Images/BasicSettingsDisplay.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Userguide/Images/BasicSettingsDisplay.png -------------------------------------------------------------------------------- /Userguide/Images/BasicSettingsINI.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Userguide/Images/BasicSettingsINI.png -------------------------------------------------------------------------------- /Userguide/Images/BasicSettingsMain.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Userguide/Images/BasicSettingsMain.png -------------------------------------------------------------------------------- /Userguide/Images/BasicSettingsRPC.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Userguide/Images/BasicSettingsRPC.png -------------------------------------------------------------------------------- /Userguide/Images/BasicSettingsRemoteMaster.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Userguide/Images/BasicSettingsRemoteMaster.png -------------------------------------------------------------------------------- /Userguide/Images/BasicSettingsScript.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Userguide/Images/BasicSettingsScript.png -------------------------------------------------------------------------------- /Userguide/Images/CalibrationTree.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Userguide/Images/CalibrationTree.png -------------------------------------------------------------------------------- /Userguide/Images/CalibrationTree_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Userguide/Images/CalibrationTree_1.jpg -------------------------------------------------------------------------------- /Userguide/Images/CalibrationTree_2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Userguide/Images/CalibrationTree_2.jpg -------------------------------------------------------------------------------- /Userguide/Images/CalibrationTree_3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Userguide/Images/CalibrationTree_3.jpg -------------------------------------------------------------------------------- /Userguide/Images/CalibrationTree_4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Userguide/Images/CalibrationTree_4.jpg -------------------------------------------------------------------------------- /Userguide/Images/CalibrationTree_5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Userguide/Images/CalibrationTree_5.jpg -------------------------------------------------------------------------------- /Userguide/Images/CalibrationTree_6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Userguide/Images/CalibrationTree_6.jpg -------------------------------------------------------------------------------- /Userguide/Images/CanDbAdditionalSignals.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Userguide/Images/CanDbAdditionalSignals.png -------------------------------------------------------------------------------- /Userguide/Images/CanDbNode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Userguide/Images/CanDbNode.png -------------------------------------------------------------------------------- /Userguide/Images/CanDbObject.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Userguide/Images/CanDbObject.png -------------------------------------------------------------------------------- /Userguide/Images/CanDbServer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Userguide/Images/CanDbServer.png -------------------------------------------------------------------------------- /Userguide/Images/CanDbSignal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Userguide/Images/CanDbSignal.png -------------------------------------------------------------------------------- /Userguide/Images/Concept.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Userguide/Images/Concept.jpg -------------------------------------------------------------------------------- /Userguide/Images/ControlLampConfig.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Userguide/Images/ControlLampConfig.png -------------------------------------------------------------------------------- /Userguide/Images/ControlLamps.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Userguide/Images/ControlLamps.png -------------------------------------------------------------------------------- /Userguide/Images/ControlPanel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Userguide/Images/ControlPanel.png -------------------------------------------------------------------------------- /Userguide/Images/ControlPanel_Blackboard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Userguide/Images/ControlPanel_Blackboard.png -------------------------------------------------------------------------------- /Userguide/Images/ControlPanel_InternalProcess.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Userguide/Images/ControlPanel_InternalProcess.png -------------------------------------------------------------------------------- /Userguide/Images/ControlPanel_Process.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Userguide/Images/ControlPanel_Process.png -------------------------------------------------------------------------------- /Userguide/Images/ControlPanel_RunControl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Userguide/Images/ControlPanel_RunControl.png -------------------------------------------------------------------------------- /Userguide/Images/Enums.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Userguide/Images/Enums.png -------------------------------------------------------------------------------- /Userguide/Images/ErrorWindow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Userguide/Images/ErrorWindow.png -------------------------------------------------------------------------------- /Userguide/Images/ExternProcess.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Userguide/Images/ExternProcess.png -------------------------------------------------------------------------------- /Userguide/Images/GetBits.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Userguide/Images/GetBits.png -------------------------------------------------------------------------------- /Userguide/Images/InsertCanError.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Userguide/Images/InsertCanError.png -------------------------------------------------------------------------------- /Userguide/Images/Knob.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Userguide/Images/Knob.png -------------------------------------------------------------------------------- /Userguide/Images/KnobConfig.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Userguide/Images/KnobConfig.png -------------------------------------------------------------------------------- /Userguide/Images/MainWindow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Userguide/Images/MainWindow.png -------------------------------------------------------------------------------- /Userguide/Images/NewControlLamp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Userguide/Images/NewControlLamp.png -------------------------------------------------------------------------------- /Userguide/Images/NoneRealtimeProcesses.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Userguide/Images/NoneRealtimeProcesses.png -------------------------------------------------------------------------------- /Userguide/Images/OrBits.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Userguide/Images/OrBits.png -------------------------------------------------------------------------------- /Userguide/Images/Oscilloscope.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Userguide/Images/Oscilloscope.png -------------------------------------------------------------------------------- /Userguide/Images/OscilloscopeChooseVariable.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Userguide/Images/OscilloscopeChooseVariable.png -------------------------------------------------------------------------------- /Userguide/Images/Processes.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Userguide/Images/Processes.png -------------------------------------------------------------------------------- /Userguide/Images/RangeControl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Userguide/Images/RangeControl.png -------------------------------------------------------------------------------- /Userguide/Images/RealtimeProcesses.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Userguide/Images/RealtimeProcesses.png -------------------------------------------------------------------------------- /Userguide/Images/RemoteMasterInstall.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Userguide/Images/RemoteMasterInstall.png -------------------------------------------------------------------------------- /Userguide/Images/ScriptDebugging.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Userguide/Images/ScriptDebugging.jpg -------------------------------------------------------------------------------- /Userguide/Images/SetBits.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Userguide/Images/SetBits.png -------------------------------------------------------------------------------- /Userguide/Images/Slider.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Userguide/Images/Slider.png -------------------------------------------------------------------------------- /Userguide/Images/Swap16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Userguide/Images/Swap16.png -------------------------------------------------------------------------------- /Userguide/Images/Swap32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Userguide/Images/Swap32.png -------------------------------------------------------------------------------- /Userguide/Images/Tacho.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Userguide/Images/Tacho.png -------------------------------------------------------------------------------- /Userguide/Images/TextReplaceEditor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Userguide/Images/TextReplaceEditor.png -------------------------------------------------------------------------------- /Userguide/Images/TextWindow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Userguide/Images/TextWindow.png -------------------------------------------------------------------------------- /Userguide/Images/Toolbox.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Userguide/Images/Toolbox.png -------------------------------------------------------------------------------- /Userguide/Images/ToolboxComplete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Userguide/Images/ToolboxComplete.png -------------------------------------------------------------------------------- /Userguide/Images/ToolboxControlPanel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Userguide/Images/ToolboxControlPanel.png -------------------------------------------------------------------------------- /Userguide/Images/ToolboxHideShowNoneExisting.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Userguide/Images/ToolboxHideShowNoneExisting.png -------------------------------------------------------------------------------- /Userguide/Images/ToolboxNotFasterThanRealtime.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Userguide/Images/ToolboxNotFasterThanRealtime.png -------------------------------------------------------------------------------- /Userguide/Images/WhatIsOpenXilEnv.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Userguide/Images/WhatIsOpenXilEnv.png -------------------------------------------------------------------------------- /Userguide/Images/XorBits.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Userguide/Images/XorBits.png -------------------------------------------------------------------------------- /Userguide/OpenXiL_Userguide.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eclipse-openxilenv/openxilenv/bd325d95745d8d38215864e4fb822c75c1542b2c/Userguide/OpenXiL_Userguide.pdf -------------------------------------------------------------------------------- /third_party/pugixml/LICENSE.md: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2006-2022 Arseny Kapoulkine 4 | 5 | Permission is hereby granted, free of charge, to any person 6 | obtaining a copy of this software and associated documentation 7 | files (the "Software"), to deal in the Software without 8 | restriction, including without limitation the rights to use, 9 | copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | copies of the Software, and to permit persons to whom the 11 | Software is furnished to do so, subject to the following 12 | conditions: 13 | 14 | The above copyright notice and this permission notice shall be 15 | included in all copies or substantial portions of the Software. 16 | 17 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 18 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 19 | OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 20 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 21 | HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 22 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 23 | FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 24 | OTHER DEALINGS IN THE SOFTWARE. 25 | --------------------------------------------------------------------------------