SSDMetric3rdPartyComponent.h 902 Bytes
Newer Older
1
2
3
4
5
6
7
#ifndef SSDMetric3rdPartyComponent_h
#define SSDMetric3rdPartyComponent_h

#include "ComponentBase.h"
#include "Interfaces.hxx"
#include "Example3rdPartyCode.h"

Floris Berendsen's avatar
Floris Berendsen committed
8
namespace selx
9
10
{
  // SSDMetric3rdPartyComponent provides a value and a derivative
11
12
13
14
15
16
  class SSDMetric3rdPartyComponent : 
    public Implements<
    Accepting<>,
    Providing< MetricDerivativeInterface, MetricValueInterface>
    >
  {
17
18
  public:
    SSDMetric3rdPartyComponent();
19
    virtual ~SSDMetric3rdPartyComponent();
20
21
22
    Example3rdParty::SSDMetric3rdParty* theImplementation;
    int GetValue();
    int GetDerivative();
Floris Berendsen's avatar
Floris Berendsen committed
23
24
25
    virtual bool MeetsCriteria(const CriteriaType &criteria) { return false; };
    static const char * GetName(){ return "SSDMetric3rdPartyComponent"; }
    static const char * GetDescription(){ return "SSD Metric 3rd Party Component"; };
26
  };
Floris Berendsen's avatar
Floris Berendsen committed
27
} //end namespace selx
28
#endif // #define SSDMetric3rdPartyComponent_h