Commit 587c6c89 authored by Aaron Bray's avatar Aaron Bray

Adding IntelliJ projects

parent 70a8d036
......@@ -4,6 +4,8 @@
/schema/build/
/test/build/
/sdk/howto/build/
# The IntelliJ build dir
/.idea/out
# This is for the C# how to
/sdk/howto/csharp/.vs
......
Pulse
\ No newline at end of file
<component name="libraryTable">
<library name="jar">
<CLASSES>
<root url="jar://$PROJECT_DIR$/jar/pdfbox-2.0.0-RC3.jar!/" />
<root url="jar://$PROJECT_DIR$/jar/xmlbeans-2.6.0.jar!/" />
<root url="jar://$PROJECT_DIR$/jar/javassist-3.16.1-GA.jar!/" />
<root url="jar://$PROJECT_DIR$/jar/log4j-1.2.17.jar!/" />
<root url="jar://$PROJECT_DIR$/jar/poi-ooxml-3.13-20150929.jar!/" />
<root url="jar://$PROJECT_DIR$/jar/zip4j-1.3.1.jar!/" />
<root url="jar://$PROJECT_DIR$/jar/jdom-2.0.2.jar!/" />
<root url="jar://$PROJECT_DIR$/jar/jfreechart-1.0.13.jar!/" />
<root url="jar://$PROJECT_DIR$/jar/poi-ooxml-schemas-3.13-20150929.jar!/" />
<root url="jar://$PROJECT_DIR$/jar/poi-3.13-20150929.jar!/" />
<root url="jar://$PROJECT_DIR$/jar/reflections-0.9.9-RC1-uberjar.jar!/" />
<root url="jar://$PROJECT_DIR$/jar/jcommon-1.0.16.jar!/" />
<root url="jar://$PROJECT_DIR$/jar/commons-logging-1.2.jar!/" />
<root url="jar://$PROJECT_DIR$/jar/guava-11.0.2.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="false" project-jdk-name="1.8" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/.idea/out" />
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/cdm/cdm.iml" filepath="$PROJECT_DIR$/cdm/cdm.iml" />
<module fileurl="file://$PROJECT_DIR$/test/cdm/cdm_test.iml" filepath="$PROJECT_DIR$/test/cdm/cdm_test.iml" />
<module fileurl="file://$PROJECT_DIR$/test/driver/driver.iml" filepath="$PROJECT_DIR$/test/driver/driver.iml" />
<module fileurl="file://$PROJECT_DIR$/engine/engine.iml" filepath="$PROJECT_DIR$/engine/engine.iml" />
<module fileurl="file://$PROJECT_DIR$/test/engine/engine_test.iml" filepath="$PROJECT_DIR$/test/engine/engine_test.iml" />
<module fileurl="file://$PROJECT_DIR$/sdk/howto/howto.iml" filepath="$PROJECT_DIR$/sdk/howto/howto.iml" />
<module fileurl="file://$PROJECT_DIR$/../../builds/engine/protobuf/src/protobuf/java/core/src/main/protobuf.iml" filepath="$PROJECT_DIR$/../../builds/engine/protobuf/src/protobuf/java/core/src/main/protobuf.iml" />
<module fileurl="file://$PROJECT_DIR$/../../builds/engine/Pulse/schema/schema.iml" filepath="$PROJECT_DIR$/../../builds/engine/Pulse/schema/schema.iml" />
</modules>
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>
\ No newline at end of file
This diff is collapsed.
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/java" isTestSource="false" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="jar" level="project" />
<orderEntry type="module" module-name="schema" exported="" />
</component>
</module>
\ No newline at end of file
......@@ -31,12 +31,15 @@ void PulseScenarioDriver::Run()
{
// Set up the log file
std::string logFile = m_file;
logFile = Replace(logFile, "verification", "");
logFile = Replace(logFile, "verification", "test_results");
logFile = Replace(logFile, ".pba", ".log");
// Set up the verification output file
std::string dataFile = m_file;
dataFile = Replace(dataFile, "verification", "");
dataFile = Replace(dataFile, "verification", "test_results");
dataFile = Replace(dataFile, ".pba", "Results.txt");
// What are we creating?
std::cout << "Log File : " << logFile << std::endl;
std::cout << "Results File : " << dataFile << std::endl;
// Delete any results file that may be there
remove(dataFile.c_str());
std::unique_ptr<PhysiologyEngine> Pulse = CreatePulseEngine(logFile.c_str());
......
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/java" isTestSource="false" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="jar" level="project" />
<orderEntry type="module" module-name="cdm" exported="" />
</component>
</module>
\ No newline at end of file
......@@ -2,9 +2,95 @@
include(${CMAKE_CURRENT_SOURCE_DIR}/GenerateCDMBindings.cmake)
file(GLOB_RECURSE BIND_FILES
"${SCHEMA_DST}/cpp/bind/*.h"
"${SCHEMA_DST}/cpp/bind/*.cc"
set(BIND_FILES
# cdm bindings
"${SCHEMA_DST}/cpp/bind/cdm/ActionEnums.pb.cc"
"${SCHEMA_DST}/cpp/bind/cdm/ActionEnums.pb.h"
"${SCHEMA_DST}/cpp/bind/cdm/Actions.pb.cc"
"${SCHEMA_DST}/cpp/bind/cdm/Actions.pb.h"
"${SCHEMA_DST}/cpp/bind/cdm/AnesthesiaMachine.pb.cc"
"${SCHEMA_DST}/cpp/bind/cdm/AnesthesiaMachine.pb.h"
"${SCHEMA_DST}/cpp/bind/cdm/AnesthesiaMachineActions.pb.cc"
"${SCHEMA_DST}/cpp/bind/cdm/AnesthesiaMachineActions.pb.h"
"${SCHEMA_DST}/cpp/bind/cdm/AnesthesiaMachineEnums.pb.cc"
"${SCHEMA_DST}/cpp/bind/cdm/AnesthesiaMachineEnums.pb.h"
"${SCHEMA_DST}/cpp/bind/cdm/Circuit.pb.cc"
"${SCHEMA_DST}/cpp/bind/cdm/Circuit.pb.h"
"${SCHEMA_DST}/cpp/bind/cdm/Compartment.pb.cc"
"${SCHEMA_DST}/cpp/bind/cdm/Compartment.pb.h"
"${SCHEMA_DST}/cpp/bind/cdm/CompartmentEnums.pb.cc"
"${SCHEMA_DST}/cpp/bind/cdm/CompartmentEnums.pb.h"
"${SCHEMA_DST}/cpp/bind/cdm/Conditions.pb.cc"
"${SCHEMA_DST}/cpp/bind/cdm/Conditions.pb.h"
"${SCHEMA_DST}/cpp/bind/cdm/ElectroCardioGram.pb.cc"
"${SCHEMA_DST}/cpp/bind/cdm/ElectroCardioGram.pb.h"
"${SCHEMA_DST}/cpp/bind/cdm/ElectroCardioGramEnums.pb.cc"
"${SCHEMA_DST}/cpp/bind/cdm/ElectroCardioGramEnums.pb.h"
"${SCHEMA_DST}/cpp/bind/cdm/Engine.pb.cc"
"${SCHEMA_DST}/cpp/bind/cdm/Engine.pb.h"
"${SCHEMA_DST}/cpp/bind/cdm/Enums.pb.cc"
"${SCHEMA_DST}/cpp/bind/cdm/Enums.pb.h"
"${SCHEMA_DST}/cpp/bind/cdm/Environment.pb.cc"
"${SCHEMA_DST}/cpp/bind/cdm/Environment.pb.h"
"${SCHEMA_DST}/cpp/bind/cdm/EnvironmentActions.pb.cc"
"${SCHEMA_DST}/cpp/bind/cdm/EnvironmentActions.pb.h"
"${SCHEMA_DST}/cpp/bind/cdm/EnvironmentConditions.pb.cc"
"${SCHEMA_DST}/cpp/bind/cdm/EnvironmentConditions.pb.h"
"${SCHEMA_DST}/cpp/bind/cdm/EnvironmentEnums.pb.cc"
"${SCHEMA_DST}/cpp/bind/cdm/EnvironmentEnums.pb.h"
"${SCHEMA_DST}/cpp/bind/cdm/Inhaler.pb.cc"
"${SCHEMA_DST}/cpp/bind/cdm/Inhaler.pb.h"
"${SCHEMA_DST}/cpp/bind/cdm/InhalerActions.pb.cc"
"${SCHEMA_DST}/cpp/bind/cdm/InhalerActions.pb.h"
"${SCHEMA_DST}/cpp/bind/cdm/Patient.pb.cc"
"${SCHEMA_DST}/cpp/bind/cdm/Patient.pb.h"
"${SCHEMA_DST}/cpp/bind/cdm/PatientActionEnums.pb.cc"
"${SCHEMA_DST}/cpp/bind/cdm/PatientActionEnums.pb.h"
"${SCHEMA_DST}/cpp/bind/cdm/PatientActions.pb.cc"
"${SCHEMA_DST}/cpp/bind/cdm/PatientActions.pb.h"
"${SCHEMA_DST}/cpp/bind/cdm/PatientAssessmentEnums.pb.cc"
"${SCHEMA_DST}/cpp/bind/cdm/PatientAssessmentEnums.pb.h"
"${SCHEMA_DST}/cpp/bind/cdm/PatientAssessments.pb.cc"
"${SCHEMA_DST}/cpp/bind/cdm/PatientAssessments.pb.h"
"${SCHEMA_DST}/cpp/bind/cdm/PatientConditions.pb.cc"
"${SCHEMA_DST}/cpp/bind/cdm/PatientConditions.pb.h"
"${SCHEMA_DST}/cpp/bind/cdm/PatientEnums.pb.cc"
"${SCHEMA_DST}/cpp/bind/cdm/PatientEnums.pb.h"
"${SCHEMA_DST}/cpp/bind/cdm/PatientNutrition.pb.cc"
"${SCHEMA_DST}/cpp/bind/cdm/PatientNutrition.pb.h"
"${SCHEMA_DST}/cpp/bind/cdm/Physiology.pb.cc"
"${SCHEMA_DST}/cpp/bind/cdm/Physiology.pb.h"
"${SCHEMA_DST}/cpp/bind/cdm/PhysiologyEnums.pb.cc"
"${SCHEMA_DST}/cpp/bind/cdm/PhysiologyEnums.pb.h"
"${SCHEMA_DST}/cpp/bind/cdm/Properties.pb.cc"
"${SCHEMA_DST}/cpp/bind/cdm/Properties.pb.h"
"${SCHEMA_DST}/cpp/bind/cdm/Scenario.pb.cc"
"${SCHEMA_DST}/cpp/bind/cdm/Scenario.pb.h"
"${SCHEMA_DST}/cpp/bind/cdm/ScenarioEnums.pb.cc"
"${SCHEMA_DST}/cpp/bind/cdm/ScenarioEnums.pb.h"
"${SCHEMA_DST}/cpp/bind/cdm/Substance.pb.cc"
"${SCHEMA_DST}/cpp/bind/cdm/Substance.pb.h"
"${SCHEMA_DST}/cpp/bind/cdm/SubstanceEnums.pb.cc"
"${SCHEMA_DST}/cpp/bind/cdm/SubstanceEnums.pb.h"
"${SCHEMA_DST}/cpp/bind/cdm/SubstanceQuantity.pb.cc"
"${SCHEMA_DST}/cpp/bind/cdm/SubstanceQuantity.pb.h"
"${SCHEMA_DST}/cpp/bind/cdm/TestReport.pb.cc"
"${SCHEMA_DST}/cpp/bind/cdm/TestReport.pb.h"
# pulse bindings
"${SCHEMA_DST}/cpp/bind/engine/Engine.pb.h"
"${SCHEMA_DST}/cpp/bind/engine/Engine.pb.cc"
"${SCHEMA_DST}/cpp/bind/engine/EngineConfiguration.pb.h"
"${SCHEMA_DST}/cpp/bind/engine/EngineConfiguration.pb.cc"
"${SCHEMA_DST}/cpp/bind/engine/EngineEnums.pb.h"
"${SCHEMA_DST}/cpp/bind/engine/EngineEnums.pb.cc"
"${SCHEMA_DST}/cpp/bind/engine/EngineEnvironment.pb.h"
"${SCHEMA_DST}/cpp/bind/engine/EngineEnvironment.pb.cc"
"${SCHEMA_DST}/cpp/bind/engine/EngineEquipment.pb.h"
"${SCHEMA_DST}/cpp/bind/engine/EngineEquipment.pb.cc"
"${SCHEMA_DST}/cpp/bind/engine/EnginePhysiology.pb.h"
"${SCHEMA_DST}/cpp/bind/engine/EnginePhysiology.pb.cc"
"${SCHEMA_DST}/cpp/bind/engine/EngineState.pb.h"
"${SCHEMA_DST}/cpp/bind/engine/EngineState.pb.cc"
)
source_group("" FILES ${BIND_FILES})
set(SOURCE ${BIND_FILES})
......
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/java" isTestSource="false" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="module" module-name="cdm" />
<orderEntry type="module" module-name="engine" exported="" />
</component>
</module>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/java" isTestSource="false" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="module" module-name="driver" />
<orderEntry type="module" module-name="cdm" />
</component>
</module>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/java" isTestSource="false" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="jar" level="project" />
<orderEntry type="module" module-name="cdm" />
</component>
</module>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/java" isTestSource="false" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="module" module-name="howto" />
<orderEntry type="module" module-name="driver" />
<orderEntry type="module" module-name="engine" />
<orderEntry type="module" module-name="cdm" />
</component>
</module>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment