//-*-c++-*-
/**
 Author: David Auber
 Email : auber@labri.fr
 Last modification : 20/08/2001
 This program is free software; you can redistribute it and/or modify  *
 it under the terms of the GNU General Public License as published by  
 the Free Software Foundation; either version 2 of the License, or     
 (at your option) any later version.
*/

#ifndef _METRIC_H
#define _METRIC_H

#include "Types.h"
#include "Property.h"

class PropertyContext;
class MetricProxy;


/// Interface for metric plug-ins
class Metric:public Property<DoubleType , DoubleType>
{ 
  ///
  friend class MetricProxy;
public:
  /** This metric proxy is the one associated to the plug-ins,
      The data should be store in it*/
  MetricProxy *metricProxy;
protected:
  ///
  Metric (PropertyContext  *context);
  ///
  virtual ~Metric(){}
};

#endif









