GDOptimizer3rdPartyComponent.h 1.07 KB
Newer Older
1
2
3
4
5
6
7
#ifndef GDOptimizer3rdPartyComponent_h
#define GDOptimizer3rdPartyComponent_h

#include "ComponentBase.h"
#include "Interfaces.hxx"
#include "Example3rdPartyCode.h"
#include "Metric3rdPartyWrapper.h"
8
#include <string.h>
9

Floris Berendsen's avatar
Floris Berendsen committed
10
namespace selx
11
{
12
13
14
15
16
17

  class GDOptimizer3rdPartyComponent : 
    public Implements<
      Accepting< MetricValueInterface, MetricDerivativeInterface >,
      Providing< OptimizerUpdateInterface>
    >
18
19
20
  {
  public:
    GDOptimizer3rdPartyComponent();
21
    virtual ~GDOptimizer3rdPartyComponent();
22
23
    Example3rdParty::GDOptimizer3rdParty* theImplementation;
    Metric3rdPartyWrapper* MetricObject;
24
    //virtual int ConnectFrom(const char *, ComponentBase*);
25
26
27
    int Set(MetricValueInterface*);
    int Set(MetricDerivativeInterface*);
    int Update();
Floris Berendsen's avatar
Floris Berendsen committed
28
29
30
    virtual bool MeetsCriteria(const CriteriaType &criteria) { return false; };
    static const char * GetName() { return "GDOptimizer3rdPartyComponent"; } ;
    static const char * GetDescription() { return "GD Optimizer 3rd Party Component"; };
31
  };
Floris Berendsen's avatar
Floris Berendsen committed
32
} //end namespace selx
33
#endif // #define GDOptimizer3rdPartyComponent_h