#ifndef COLLECT_DISTANCE_H
#define COLLECT_DISTANCE_H

#ifndef COLLECT_SCALAR_H
#include "Collect_scalar.h"
class Monitor;
#endif

namespace MM
{

class Collect_distance : public Collect_scalar
{
public:        
    explicit Collect_distance (Atom_group & atom_group, Text in);

    Monitor *               clone (Atom_group & atom_group,
                                   Text const & args, Text in) const;

    Text                    title      () const {return "Distance";}
    Text                    class_name () const {return "Collect_distance";}
    virtual double          extract_current_value ();
};

}//MM

#endif //COLLECT_DISTANCE_H
