diff options
| author | Sven Eisenhauer <sven@sven-eisenhauer.net> | 2023-11-10 15:11:48 +0100 |
|---|---|---|
| committer | Sven Eisenhauer <sven@sven-eisenhauer.net> | 2023-11-10 15:11:48 +0100 |
| commit | 33613a85afc4b1481367fbe92a17ee59c240250b (patch) | |
| tree | 670b842326116b376b505ec2263878912fca97e2 /Master/Masterarbeit/src/XorayaTestPlugin | |
| download | Studium-33613a85afc4b1481367fbe92a17ee59c240250b.tar.gz Studium-33613a85afc4b1481367fbe92a17ee59c240250b.tar.bz2 | |
Diffstat (limited to 'Master/Masterarbeit/src/XorayaTestPlugin')
3 files changed, 430 insertions, 0 deletions
diff --git a/Master/Masterarbeit/src/XorayaTestPlugin/.cproject b/Master/Masterarbeit/src/XorayaTestPlugin/.cproject new file mode 100644 index 0000000..2a4f6a3 --- /dev/null +++ b/Master/Masterarbeit/src/XorayaTestPlugin/.cproject @@ -0,0 +1,219 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<?fileVersion 4.0.0?>
+
+<cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage">
+ <storageModule moduleId="org.eclipse.cdt.core.settings">
+ <cconfiguration id="cdt.managedbuild.config.gnu.cross.so.debug.550735325">
+ <storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="cdt.managedbuild.config.gnu.cross.so.debug.550735325" moduleId="org.eclipse.cdt.core.settings" name="Debug">
+ <externalSettings>
+ <externalSetting>
+ <entry flags="VALUE_WORKSPACE_PATH" kind="includePath" name="/xoraya_test_plugin"/>
+ <entry flags="VALUE_WORKSPACE_PATH" kind="libraryPath" name="/xoraya_test_plugin/Debug"/>
+ <entry flags="RESOLVED" kind="libraryFile" name="xoraya_test_plugin"/>
+ </externalSetting>
+ </externalSettings>
+ <extensions>
+ <extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>
+ <extension id="org.eclipse.cdt.core.GNU_ELF" point="org.eclipse.cdt.core.BinaryParser"/>
+ <extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+ <extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
+ <extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+ <extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+ </extensions>
+ </storageModule>
+ <storageModule moduleId="cdtBuildSystem" version="4.0.0">
+ <configuration artifactExtension="so" artifactName="${ProjName}" buildArtefactType="org.eclipse.cdt.build.core.buildArtefactType.sharedLib" buildProperties="org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.debug,org.eclipse.cdt.build.core.buildArtefactType=org.eclipse.cdt.build.core.buildArtefactType.sharedLib" cleanCommand="rm -rf" description="" id="cdt.managedbuild.config.gnu.cross.so.debug.550735325" name="Debug" parent="cdt.managedbuild.config.gnu.cross.so.debug">
+ <folderInfo id="cdt.managedbuild.config.gnu.cross.so.debug.550735325." name="/" resourcePath="">
+ <toolChain id="cdt.managedbuild.toolchain.gnu.cross.so.debug.1638605499" name="Cross GCC" superClass="cdt.managedbuild.toolchain.gnu.cross.so.debug">
+ <option id="cdt.managedbuild.option.gnu.cross.prefix.771947037" name="Prefix" superClass="cdt.managedbuild.option.gnu.cross.prefix" value="powerpc-linux-gnu-" valueType="string"/>
+ <option id="cdt.managedbuild.option.gnu.cross.path.756127230" name="Path" superClass="cdt.managedbuild.option.gnu.cross.path" value="." valueType="string"/>
+ <targetPlatform archList="all" binaryParser="org.eclipse.cdt.core.ELF;org.eclipse.cdt.core.GNU_ELF" id="cdt.managedbuild.targetPlatform.gnu.cross.1656053330" isAbstract="false" osList="all" superClass="cdt.managedbuild.targetPlatform.gnu.cross"/>
+ <builder buildPath="${workspace_loc:/xoraya_test_plugin/Debug}" id="cdt.managedbuild.builder.gnu.cross.826157007" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Gnu Make Builder" superClass="cdt.managedbuild.builder.gnu.cross"/>
+ <tool id="cdt.managedbuild.tool.gnu.cross.c.compiler.1533075336" name="Cross GCC Compiler" superClass="cdt.managedbuild.tool.gnu.cross.c.compiler">
+ <option defaultValue="gnu.c.optimization.level.none" id="gnu.c.compiler.option.optimization.level.40175236" name="Optimization Level" superClass="gnu.c.compiler.option.optimization.level" valueType="enumerated"/>
+ <option id="gnu.c.compiler.option.debugging.level.1157425192" name="Debug Level" superClass="gnu.c.compiler.option.debugging.level" value="gnu.c.debugging.level.max" valueType="enumerated"/>
+ <option id="gnu.c.compiler.option.misc.other.1029263262" name="Other flags" superClass="gnu.c.compiler.option.misc.other" value="-c -fno-strict-aliasing -std=c++0x -msoft-float -mcpu=405" valueType="string"/>
+ <option id="gnu.c.compiler.option.include.paths.2079094693" name="Include paths (-I)" superClass="gnu.c.compiler.option.include.paths" valueType="includePath">
+ <listOptionValue builtIn="false" value=""${workspace_loc:/xoraya_plugin_executor}""/>
+ <listOptionValue builtIn="false" value="c:/programme/x2e/x2e/toolchain/powerpc-linux-gnu/libc/usr/include"/>
+ <listOptionValue builtIn="false" value=""C:\Dokumente und Einstellungen\Eisenhauer\Eigene Dateien\Masterarbeit\src\common\inc""/>
+ <listOptionValue builtIn="false" value=""${workspace_loc:/xoraya_log_plugin}""/>
+ </option>
+ <option id="gnu.c.compiler.option.misc.pic.1323285182" name="Position Independent Code (-fPIC)" superClass="gnu.c.compiler.option.misc.pic" value="false" valueType="boolean"/>
+ <option id="gnu.c.compiler.option.preprocessor.def.symbols.140116737" name="Defined symbols (-D)" superClass="gnu.c.compiler.option.preprocessor.def.symbols" valueType="definedSymbols">
+ <listOptionValue builtIn="false" value="DEBUG_MODE=1"/>
+ </option>
+ <inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.547252267" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/>
+ </tool>
+ <tool id="cdt.managedbuild.tool.gnu.cross.cpp.compiler.318829541" name="Cross G++ Compiler" superClass="cdt.managedbuild.tool.gnu.cross.cpp.compiler">
+ <option id="gnu.cpp.compiler.option.optimization.level.122985392" name="Optimization Level" superClass="gnu.cpp.compiler.option.optimization.level" value="gnu.cpp.compiler.optimization.level.none" valueType="enumerated"/>
+ <option id="gnu.cpp.compiler.option.debugging.level.682947412" name="Debug Level" superClass="gnu.cpp.compiler.option.debugging.level" value="gnu.cpp.compiler.debugging.level.max" valueType="enumerated"/>
+ <option id="gnu.cpp.compiler.option.other.other.462076528" name="Other flags" superClass="gnu.cpp.compiler.option.other.other" value="-c -fno-strict-aliasing -std=c++0x -msoft-float -mcpu=405" valueType="string"/>
+ <option id="gnu.cpp.compiler.option.include.paths.376220475" name="Include paths (-I)" superClass="gnu.cpp.compiler.option.include.paths" valueType="includePath">
+ <listOptionValue builtIn="false" value=""${workspace_loc:/xoraya_plugin_executor}""/>
+ <listOptionValue builtIn="false" value="c:/programme/x2e/x2e/toolchain/powerpc-linux-gnu/libc/usr/include"/>
+ <listOptionValue builtIn="false" value=""C:\Dokumente und Einstellungen\Eisenhauer\Eigene Dateien\Masterarbeit\src\common\inc""/>
+ <listOptionValue builtIn="false" value=""${workspace_loc:/xoraya_log_plugin}""/>
+ <listOptionValue builtIn="false" value="../../common/inc"/>
+ </option>
+ <option id="gnu.cpp.compiler.option.other.pic.556695806" name="Position Independent Code (-fPIC)" superClass="gnu.cpp.compiler.option.other.pic" value="true" valueType="boolean"/>
+ <option id="gnu.cpp.compiler.option.preprocessor.def.1591816243" name="Defined symbols (-D)" superClass="gnu.cpp.compiler.option.preprocessor.def" valueType="definedSymbols">
+ <listOptionValue builtIn="false" value="DEBUG_MODE"/>
+ </option>
+ <inputType id="cdt.managedbuild.tool.gnu.cpp.compiler.input.1542281452" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.input"/>
+ </tool>
+ <tool id="cdt.managedbuild.tool.gnu.cross.c.linker.1855366727" name="Cross GCC Linker" superClass="cdt.managedbuild.tool.gnu.cross.c.linker">
+ <option defaultValue="true" id="gnu.c.link.option.shared.952050907" name="Shared (-shared)" superClass="gnu.c.link.option.shared" valueType="boolean"/>
+ </tool>
+ <tool id="cdt.managedbuild.tool.gnu.cross.cpp.linker.1201863527" name="Cross G++ Linker" superClass="cdt.managedbuild.tool.gnu.cross.cpp.linker">
+ <option defaultValue="true" id="gnu.cpp.link.option.shared.657865092" name="Shared (-shared)" superClass="gnu.cpp.link.option.shared" valueType="boolean"/>
+ <option id="gnu.cpp.link.option.flags.1869738328" name="Linker flags" superClass="gnu.cpp.link.option.flags" value="-msoft-float" valueType="string"/>
+ <option id="gnu.cpp.link.option.libs.699184344" name="Libraries (-l)" superClass="gnu.cpp.link.option.libs" valueType="libs">
+ <listOptionValue builtIn="false" value="rt"/>
+ <listOptionValue builtIn="false" value="pthread"/>
+ <listOptionValue builtIn="false" value="x2e"/>
+ </option>
+ <option id="gnu.cpp.link.option.implname.56733627" name="Import Library name (-Wl,--out-implib=)" superClass="gnu.cpp.link.option.implname" value="" valueType="string"/>
+ <option id="gnu.cpp.link.option.paths.111529698" name="Library search path (-L)" superClass="gnu.cpp.link.option.paths" valueType="libPaths">
+ <listOptionValue builtIn="false" value=""C:\Programme\x2e\x2e\toolchain\powerpc-linux-gnu\libc\nof\lib""/>
+ </option>
+ <option id="gnu.cpp.link.option.nostart.384791411" name="Do not use standard start files (-nostartfiles)" superClass="gnu.cpp.link.option.nostart" value="false" valueType="boolean"/>
+ <option id="gnu.cpp.link.option.nodeflibs.208078696" name="Do not use default libraries (-nodefaultlibs)" superClass="gnu.cpp.link.option.nodeflibs" value="false" valueType="boolean"/>
+ <option id="gnu.cpp.link.option.nostdlibs.2080620867" name="No startup or default libs (-nostdlib)" superClass="gnu.cpp.link.option.nostdlibs" value="false" valueType="boolean"/>
+ <option id="gnu.cpp.link.option.userobjs.1448235783" name="Other objects" superClass="gnu.cpp.link.option.userobjs"/>
+ <inputType id="cdt.managedbuild.tool.gnu.cpp.linker.input.1484672118" superClass="cdt.managedbuild.tool.gnu.cpp.linker.input">
+ <additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
+ <additionalInput kind="additionalinput" paths="$(LIBS)"/>
+ </inputType>
+ </tool>
+ </toolChain>
+ </folderInfo>
+ <sourceEntries>
+ <entry excluding="xoraya_plugin_executor" flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name=""/>
+ </sourceEntries>
+ </configuration>
+ </storageModule>
+ <storageModule moduleId="org.eclipse.cdt.core.externalSettings">
+ <externalSettings containerId="xoraya_plugin_executor;" factoryId="org.eclipse.cdt.core.cfg.export.settings.sipplier">
+ <externalSetting>
+ <entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="includePath" name="/xoraya_plugin_executor"/>
+ <entry flags="BUILTIN|READONLY|RESOLVED" kind="includePath" name="c:/programme/x2e/x2e/toolchain/powerpc-linux-gnu/libc/usr/include"/>
+ <entry flags="RESOLVED" kind="includePath" name="C:\Dokumente und Einstellungen\Eisenhauer\Eigene Dateien\Masterarbeit\src\common\inc"/>
+ <entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="includePath" name="/xoraya_log_plugin"/>
+ </externalSetting>
+ </externalSettings>
+ </storageModule>
+ </cconfiguration>
+ <cconfiguration id="cdt.managedbuild.config.gnu.cross.so.release.841520622">
+ <storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="cdt.managedbuild.config.gnu.cross.so.release.841520622" moduleId="org.eclipse.cdt.core.settings" name="Release">
+ <externalSettings>
+ <externalSetting>
+ <entry flags="VALUE_WORKSPACE_PATH" kind="includePath" name="/xoraya_test_plugin"/>
+ <entry flags="VALUE_WORKSPACE_PATH" kind="libraryPath" name="/xoraya_test_plugin/Release"/>
+ <entry flags="RESOLVED" kind="libraryFile" name="xoraya_test_plugin"/>
+ </externalSetting>
+ </externalSettings>
+ <extensions>
+ <extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>
+ <extension id="org.eclipse.cdt.core.GNU_ELF" point="org.eclipse.cdt.core.BinaryParser"/>
+ <extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+ <extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
+ <extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+ <extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+ </extensions>
+ </storageModule>
+ <storageModule moduleId="cdtBuildSystem" version="4.0.0">
+ <configuration artifactExtension="so" artifactName="${ProjName}" buildArtefactType="org.eclipse.cdt.build.core.buildArtefactType.sharedLib" buildProperties="org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.release,org.eclipse.cdt.build.core.buildArtefactType=org.eclipse.cdt.build.core.buildArtefactType.sharedLib" cleanCommand="rm -rf" description="" id="cdt.managedbuild.config.gnu.cross.so.release.841520622" name="Release" parent="cdt.managedbuild.config.gnu.cross.so.release">
+ <folderInfo id="cdt.managedbuild.config.gnu.cross.so.release.841520622." name="/" resourcePath="">
+ <toolChain id="cdt.managedbuild.toolchain.gnu.cross.so.release.1146140364" name="Cross GCC" superClass="cdt.managedbuild.toolchain.gnu.cross.so.release">
+ <option id="cdt.managedbuild.option.gnu.cross.prefix.1220642225" name="Prefix" superClass="cdt.managedbuild.option.gnu.cross.prefix" value="powerpc-linux-gnu-" valueType="string"/>
+ <targetPlatform archList="all" binaryParser="org.eclipse.cdt.core.ELF;org.eclipse.cdt.core.GNU_ELF" id="cdt.managedbuild.targetPlatform.gnu.cross.605580014" isAbstract="false" osList="all" superClass="cdt.managedbuild.targetPlatform.gnu.cross"/>
+ <builder buildPath="${workspace_loc:/xoraya_test_plugin/Release}" id="cdt.managedbuild.builder.gnu.cross.1646969176" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Gnu Make Builder" superClass="cdt.managedbuild.builder.gnu.cross"/>
+ <tool id="cdt.managedbuild.tool.gnu.cross.c.compiler.564549750" name="Cross GCC Compiler" superClass="cdt.managedbuild.tool.gnu.cross.c.compiler">
+ <option defaultValue="gnu.c.optimization.level.most" id="gnu.c.compiler.option.optimization.level.1902965272" name="Optimization Level" superClass="gnu.c.compiler.option.optimization.level" valueType="enumerated"/>
+ <option id="gnu.c.compiler.option.debugging.level.577058886" name="Debug Level" superClass="gnu.c.compiler.option.debugging.level" value="gnu.c.debugging.level.none" valueType="enumerated"/>
+ <option id="gnu.c.compiler.option.misc.other.838012851" name="Other flags" superClass="gnu.c.compiler.option.misc.other" value="-c -fno-strict-aliasing -std=c++0x -msoft-float -mcpu=405" valueType="string"/>
+ <option id="gnu.c.compiler.option.include.paths.1529012918" name="Include paths (-I)" superClass="gnu.c.compiler.option.include.paths" valueType="includePath">
+ <listOptionValue builtIn="false" value=""${workspace_loc:/xoraya_plugin_executor}""/>
+ <listOptionValue builtIn="false" value="c:/programme/x2e/x2e/toolchain/powerpc-linux-gnu/libc/usr/include"/>
+ <listOptionValue builtIn="false" value=""C:\Dokumente und Einstellungen\Eisenhauer\Eigene Dateien\Masterarbeit\src\common\inc""/>
+ <listOptionValue builtIn="false" value=""${workspace_loc:/xoraya_log_plugin}""/>
+ </option>
+ <inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.1747273061" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/>
+ </tool>
+ <tool id="cdt.managedbuild.tool.gnu.cross.cpp.compiler.475473125" name="Cross G++ Compiler" superClass="cdt.managedbuild.tool.gnu.cross.cpp.compiler">
+ <option id="gnu.cpp.compiler.option.optimization.level.418017735" name="Optimization Level" superClass="gnu.cpp.compiler.option.optimization.level" value="gnu.cpp.compiler.optimization.level.most" valueType="enumerated"/>
+ <option id="gnu.cpp.compiler.option.debugging.level.364741694" name="Debug Level" superClass="gnu.cpp.compiler.option.debugging.level" value="gnu.cpp.compiler.debugging.level.none" valueType="enumerated"/>
+ <option id="gnu.cpp.compiler.option.other.other.923176949" name="Other flags" superClass="gnu.cpp.compiler.option.other.other" value="-c -fno-strict-aliasing -std=c++0x -msoft-float -mcpu=405" valueType="string"/>
+ <option id="gnu.cpp.compiler.option.include.paths.1148253703" name="Include paths (-I)" superClass="gnu.cpp.compiler.option.include.paths" valueType="includePath">
+ <listOptionValue builtIn="false" value=""${workspace_loc:/xoraya_plugin_executor}""/>
+ <listOptionValue builtIn="false" value="c:/programme/x2e/x2e/toolchain/powerpc-linux-gnu/libc/usr/include"/>
+ <listOptionValue builtIn="false" value=""C:\Dokumente und Einstellungen\Eisenhauer\Eigene Dateien\Masterarbeit\src\common\inc""/>
+ <listOptionValue builtIn="false" value=""${workspace_loc:/xoraya_log_plugin}""/>
+ </option>
+ <inputType id="cdt.managedbuild.tool.gnu.cpp.compiler.input.2102628057" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.input"/>
+ </tool>
+ <tool id="cdt.managedbuild.tool.gnu.cross.c.linker.1989457595" name="Cross GCC Linker" superClass="cdt.managedbuild.tool.gnu.cross.c.linker">
+ <option defaultValue="true" id="gnu.c.link.option.shared.970904545" name="Shared (-shared)" superClass="gnu.c.link.option.shared" valueType="boolean"/>
+ </tool>
+ <tool id="cdt.managedbuild.tool.gnu.cross.cpp.linker.718408146" name="Cross G++ Linker" superClass="cdt.managedbuild.tool.gnu.cross.cpp.linker">
+ <option defaultValue="true" id="gnu.cpp.link.option.shared.1870403900" name="Shared (-shared)" superClass="gnu.cpp.link.option.shared" valueType="boolean"/>
+ <option id="gnu.cpp.link.option.flags.1307374428" name="Linker flags" superClass="gnu.cpp.link.option.flags" value="-msoft-float" valueType="string"/>
+ <option id="gnu.cpp.link.option.libs.684390311" name="Libraries (-l)" superClass="gnu.cpp.link.option.libs" valueType="libs">
+ <listOptionValue builtIn="false" value="rt"/>
+ <listOptionValue builtIn="false" value="pthread"/>
+ <listOptionValue builtIn="false" value="x2e"/>
+ <listOptionValue builtIn="false" value="boost_system"/>
+ <listOptionValue builtIn="false" value="boost_filesystem"/>
+ <listOptionValue builtIn="false" value="boost_program_options"/>
+ <listOptionValue builtIn="false" value="boost_thread"/>
+ </option>
+ <inputType id="cdt.managedbuild.tool.gnu.cpp.linker.input.1021083992" superClass="cdt.managedbuild.tool.gnu.cpp.linker.input">
+ <additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
+ <additionalInput kind="additionalinput" paths="$(LIBS)"/>
+ </inputType>
+ </tool>
+ </toolChain>
+ </folderInfo>
+ </configuration>
+ </storageModule>
+ <storageModule moduleId="org.eclipse.cdt.core.externalSettings">
+ <externalSettings containerId="xoraya_plugin_executor;" factoryId="org.eclipse.cdt.core.cfg.export.settings.sipplier">
+ <externalSetting>
+ <entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="includePath" name="/xoraya_plugin_executor"/>
+ <entry flags="BUILTIN|READONLY|RESOLVED" kind="includePath" name="c:/programme/x2e/x2e/toolchain/powerpc-linux-gnu/libc/usr/include"/>
+ <entry flags="RESOLVED" kind="includePath" name="C:\Dokumente und Einstellungen\Eisenhauer\Eigene Dateien\Masterarbeit\src\common\inc"/>
+ <entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="includePath" name="/xoraya_log_plugin"/>
+ </externalSetting>
+ </externalSettings>
+ </storageModule>
+ </cconfiguration>
+ </storageModule>
+ <storageModule moduleId="cdtBuildSystem" version="4.0.0">
+ <project id="xoraya_test_plugin.cdt.managedbuild.target.gnu.cross.so.902670704" name="Shared Library" projectType="cdt.managedbuild.target.gnu.cross.so"/>
+ </storageModule>
+ <storageModule moduleId="scannerConfiguration">
+ <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
+ <scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.cross.so.debug.550735325;cdt.managedbuild.config.gnu.cross.so.debug.550735325.;cdt.managedbuild.tool.gnu.cross.c.compiler.1533075336;cdt.managedbuild.tool.gnu.c.compiler.input.547252267">
+ <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC"/>
+ </scannerConfigBuildInfo>
+ <scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.cross.so.debug.550735325;cdt.managedbuild.config.gnu.cross.so.debug.550735325.1776542442;cdt.managedbuild.tool.gnu.cross.cpp.compiler.13537144;cdt.managedbuild.tool.gnu.cpp.compiler.input.156538660">
+ <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP"/>
+ </scannerConfigBuildInfo>
+ <scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.cross.so.release.841520622;cdt.managedbuild.config.gnu.cross.so.release.841520622.;cdt.managedbuild.tool.gnu.cross.c.compiler.564549750;cdt.managedbuild.tool.gnu.c.compiler.input.1747273061">
+ <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC"/>
+ </scannerConfigBuildInfo>
+ <scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.cross.so.release.841520622;cdt.managedbuild.config.gnu.cross.so.release.841520622.;cdt.managedbuild.tool.gnu.cross.cpp.compiler.475473125;cdt.managedbuild.tool.gnu.cpp.compiler.input.2102628057">
+ <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP"/>
+ </scannerConfigBuildInfo>
+ <scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.cross.so.debug.550735325;cdt.managedbuild.config.gnu.cross.so.debug.550735325.1776542442;cdt.managedbuild.tool.gnu.cross.c.compiler.491071819;cdt.managedbuild.tool.gnu.c.compiler.input.1171949691">
+ <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC"/>
+ </scannerConfigBuildInfo>
+ <scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.cross.so.debug.550735325;cdt.managedbuild.config.gnu.cross.so.debug.550735325.;cdt.managedbuild.tool.gnu.cross.cpp.compiler.318829541;cdt.managedbuild.tool.gnu.cpp.compiler.input.1542281452">
+ <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP"/>
+ </scannerConfigBuildInfo>
+ </storageModule>
+ <storageModule moduleId="refreshScope" versionNumber="1">
+ <resource resourceType="PROJECT" workspacePath="/xoraya_test_plugin"/>
+ </storageModule>
+</cproject>
diff --git a/Master/Masterarbeit/src/XorayaTestPlugin/.project b/Master/Masterarbeit/src/XorayaTestPlugin/.project new file mode 100644 index 0000000..645a4e1 --- /dev/null +++ b/Master/Masterarbeit/src/XorayaTestPlugin/.project @@ -0,0 +1,84 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>xoraya_test_plugin</name>
+ <comment></comment>
+ <projects>
+ <project>xoraya_plugin_executor</project>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
+ <triggers>clean,full,incremental,</triggers>
+ <arguments>
+ <dictionary>
+ <key>?name?</key>
+ <value></value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.append_environment</key>
+ <value>true</value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.autoBuildTarget</key>
+ <value>all</value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.buildArguments</key>
+ <value></value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.buildCommand</key>
+ <value>make</value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.buildLocation</key>
+ <value>${workspace_loc:/xoraya_test_plugin/Debug}</value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.cleanBuildTarget</key>
+ <value>clean</value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.contents</key>
+ <value>org.eclipse.cdt.make.core.activeConfigSettings</value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.enableAutoBuild</key>
+ <value>false</value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.enableCleanBuild</key>
+ <value>true</value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.enableFullBuild</key>
+ <value>true</value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.fullBuildTarget</key>
+ <value>all</value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.stopOnError</key>
+ <value>true</value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.useDefaultBuildCmd</key>
+ <value>true</value>
+ </dictionary>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name>
+ <triggers>full,incremental,</triggers>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.cdt.core.cnature</nature>
+ <nature>org.eclipse.cdt.core.ccnature</nature>
+ <nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
+ <nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
+ </natures>
+</projectDescription>
diff --git a/Master/Masterarbeit/src/XorayaTestPlugin/xoraya_test_plugin.cpp b/Master/Masterarbeit/src/XorayaTestPlugin/xoraya_test_plugin.cpp new file mode 100644 index 0000000..c2b0165 --- /dev/null +++ b/Master/Masterarbeit/src/XorayaTestPlugin/xoraya_test_plugin.cpp @@ -0,0 +1,127 @@ +/*
+ * xoraya_test_plugin.cpp
+ *
+ * Created on: 31.08.2011
+ * Author: Eisenhauer
+ */
+
+#include "plugin_api.h"
+#include "global.h"
+#include "interface_manager.h"
+
+class XorayaTestPlugin : public IPlugin
+{
+private:
+ IInterfaceManager& m_xInterfaceManager;
+ int32_t m_i32InterfaceHandle;
+ uint32_t m_u32TxMsgId;
+ tCanTxMessageList m_axCanTxMessages;
+ uint32_t m_u32PluginId;
+ uint32_t m_u32Loopcounter;
+
+ static uint32_t su32InstanceCount;
+
+public:
+
+ XorayaTestPlugin( IInterfaceManager& xIfMan,
+ int32_t i32Interface,
+ uint32_t u32PluginId
+ )
+ :m_xInterfaceManager( xIfMan ),
+ m_i32InterfaceHandle( i32Interface ),
+ m_u32TxMsgId(0x100*(1+XorayaTestPlugin::su32InstanceCount)),
+ m_u32PluginId(u32PluginId),
+ m_u32Loopcounter(0)
+ {
+ DEBUG_PRINT("constructor");
+ boost::shared_ptr<tstCanTxMessage> pstCanMsg1(new tstCanTxMessage);
+ pstCanMsg1->u32CanId = m_u32TxMsgId+2;
+ pstCanMsg1->u8Dlc = 5;
+ pstCanMsg1->u32TxCycleMilliseconds = 500;
+ pstCanMsg1->u32MillisecondCounter = 0;
+ pstCanMsg1->au8Data = {0,0,0,0,0,0,0,0};
+ m_axCanTxMessages.push_back(pstCanMsg1);
+ boost::shared_ptr<tstCanTxMessage> pstCanMsg2(new tstCanTxMessage);
+ pstCanMsg2->u32CanId = m_u32TxMsgId+1;
+ pstCanMsg2->u8Dlc = 5;
+ pstCanMsg2->u32TxCycleMilliseconds = 1000;
+ pstCanMsg2->u32MillisecondCounter = 0;
+ pstCanMsg2->au8Data = {0,0,0,0,0,0,0,0};
+ m_axCanTxMessages.push_back(pstCanMsg2);
+ boost::shared_ptr<tstCanTxMessage> pstCanMsg3(new tstCanTxMessage);
+ pstCanMsg3->u32CanId = m_u32TxMsgId;
+ pstCanMsg3->u8Dlc = 5;
+ pstCanMsg3->u32TxCycleMilliseconds = 500;
+ pstCanMsg3->u32MillisecondCounter = 0;
+ pstCanMsg3->au8Data = {0,0,0,0,0,0,0,0};
+ m_axCanTxMessages.push_back(pstCanMsg3);
+ DEBUG_PRINT("Plg Id: %d msg 1: 0x%X", m_u32PluginId, (uint32_t) pstCanMsg1.get());
+ DEBUG_PRINT("Plg Id: %d msg 2: 0x%X", m_u32PluginId, (uint32_t) pstCanMsg2.get());
+ DEBUG_PRINT("Plg Id: %d msg 3: 0x%X", m_u32PluginId, (uint32_t) pstCanMsg3.get());
+ XorayaTestPlugin::su32InstanceCount++;
+ }
+
+ virtual ~XorayaTestPlugin()
+ {
+ DEBUG_PRINT("destructor");
+ XorayaTestPlugin::su32InstanceCount--;
+ }
+
+
+
+ virtual void vRun( void )
+ {
+// DEBUG_PRINT("entry");
+ m_u32Loopcounter++;
+ tCanTxMessageList::iterator xMsgIter;
+ for( xMsgIter = m_axCanTxMessages.begin(); xMsgIter != m_axCanTxMessages.end(); xMsgIter++ )
+ {
+ tpstCanTxMessage pxMsg = *xMsgIter;
+ pxMsg->au8Data[0] = m_u32PluginId;
+ if( xMsgIter == m_axCanTxMessages.begin() )
+ {
+ pxMsg->au8Data[4] = (uint8_t) (m_u32Loopcounter>>24);
+ pxMsg->au8Data[3] = (uint8_t) (m_u32Loopcounter>>16);
+ pxMsg->au8Data[2] = (uint8_t) (m_u32Loopcounter>>8);
+ pxMsg->au8Data[1] = (uint8_t) m_u32Loopcounter;
+ }
+ else
+ {
+ pxMsg->au8Data[1] = (uint8_t) (m_u32Loopcounter>>24);
+ pxMsg->au8Data[2] = (uint8_t) (m_u32Loopcounter>>16);
+ pxMsg->au8Data[3] = (uint8_t) (m_u32Loopcounter>>8);
+ pxMsg->au8Data[4] = (uint8_t) m_u32Loopcounter;
+ }
+ }
+// DEBUG_PRINT("exit");
+ }
+
+ virtual tCanTxMessageList& xGetCanTxMessages( void )
+ {
+ return m_axCanTxMessages;
+ }
+
+ virtual int32_t i32GetCanInterfaceHandle( void )
+ {
+ return m_i32InterfaceHandle;
+ }
+};
+
+uint32_t XorayaTestPlugin::su32InstanceCount = 0;
+
+extern "C" IPlugin* pxCreatePlugin(
+ IInterfaceManager& xIfMan,
+ int32_t i32Interface,
+ uint32_t u32PluginId
+ )
+{
+ DEBUG_PRINT("entry");
+ return new XorayaTestPlugin(xIfMan, i32Interface, u32PluginId);
+}
+
+extern "C" void vDestroyPlugin(IPlugin* pxPlugin)
+{
+ DEBUG_PRINT("entry");
+ delete pxPlugin;
+ DEBUG_PRINT("exit");
+}
|
