Skip to content
Snippets Groups Projects
Commit b99d9638 authored by Floris Berendsen's avatar Floris Berendsen
Browse files

COMP: integrated in SuperElastix with initial google tests

parent cd260ce2
No related branches found
No related tags found
No related merge requests found
Showing
with 17 additions and 6 deletions
......@@ -10,8 +10,8 @@ namespace elx
class ComponentBase {
public:
virtual interfaceStatus ConnectFrom(const char *, ComponentBase*) = 0;
protected:
virtual ~ComponentBase(){};
//protected:
virtual ~ComponentBase() {};
};
} // end namespace elx
#endif // #define ComponentBase_h
\ No newline at end of file
......@@ -18,7 +18,7 @@ namespace elx
{
public:
GDOptimizer3rdPartyComponent();
~GDOptimizer3rdPartyComponent();
virtual ~GDOptimizer3rdPartyComponent();
Example3rdParty::GDOptimizer3rdParty* theImplementation;
Metric3rdPartyWrapper* MetricObject;
//virtual int ConnectFrom(const char *, ComponentBase*);
......
......@@ -18,7 +18,7 @@ namespace elx
{
public:
GDOptimizer4thPartyComponent();
~GDOptimizer4thPartyComponent();
virtual ~GDOptimizer4thPartyComponent();
Example4thParty::GDOptimizer4thParty* theImplementation;
Metric4thPartyWrapper* MetricObject;
//virtual int ConnectFrom(const char *, ComponentBase*);
......
......@@ -16,7 +16,7 @@ namespace elx
{
public:
SSDMetric3rdPartyComponent();
~SSDMetric3rdPartyComponent();
virtual ~SSDMetric3rdPartyComponent();
Example3rdParty::SSDMetric3rdParty* theImplementation;
int GetValue();
int GetDerivative();
......
......@@ -16,7 +16,7 @@ namespace elx
{
public:
SSDMetric4thPartyComponent();
~SSDMetric4thPartyComponent();
virtual ~SSDMetric4thPartyComponent();
Example4thParty::SSDMetric4thParty* theImplementation;
int GetValue();
};
......
......@@ -4,6 +4,7 @@ set( MODULE elxModuleCore )
set( ${MODULE}_INCLUDE_DIRS
${${MODULE}_SOURCE_DIR}/Common/include
${${MODULE}_SOURCE_DIR}/Blueprints/include
${${MODULE}_SOURCE_DIR}/ComponentInterface/include
)
# Export libraries
......@@ -14,8 +15,18 @@ set( ${MODULE}_LIBRARIES
# Module source files
set( ${MODULE}_SOURCE_FILES
${${MODULE}_SOURCE_DIR}/Blueprints/src/elxBlueprint.cxx
${${MODULE}_SOURCE_DIR}/ComponentInterface/src/Example3rdPartyCode.cxx
${${MODULE}_SOURCE_DIR}/ComponentInterface/src/Example4thPartyCode.cxx
${${MODULE}_SOURCE_DIR}/ComponentInterface/src/GDOptimizer3rdPartyComponent.cxx
${${MODULE}_SOURCE_DIR}/ComponentInterface/src/GDOptimizer4thPartyComponent.cxx
${${MODULE}_SOURCE_DIR}/ComponentInterface/src/Metric3rdPartyWrapper.cxx
${${MODULE}_SOURCE_DIR}/ComponentInterface/src/Metric4thPartyWrapper.cxx
${${MODULE}_SOURCE_DIR}/ComponentInterface/src/SSDMetric3rdPartyComponent.cxx
${${MODULE}_SOURCE_DIR}/ComponentInterface/src/SSDMetric4thPartyComponent.cxx
${${MODULE}_SOURCE_DIR}/ComponentInterface/src/componenthandshake.cxx
)
# Compile library
add_library( ${MODULE} STATIC "${${MODULE}_SOURCE_FILES}" )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment