/* * PairCorrelationAction.hpp * * Created on: May 9, 2010 * Author: heber */ #ifndef PAIRCORRELATIONACTION_HPP_ #define PAIRCORRELATIONACTION_HPP_ #include "Actions/Action.hpp" class element; void AnalysisPairCorrelation(std::vector< element *> &elements, double BinStart, double BinWidth, double BinEnd, std::string &outputname, std::string &binoutputname, bool periodic); class AnalysisPairCorrelationAction : public Action { friend void AnalysisPairCorrelation(std::vector< element *> &elements, double BinStart, double BinWidth, double BinEnd, std::string &outputname, std::string &binoutputname, bool periodic); public: AnalysisPairCorrelationAction(); virtual ~AnalysisPairCorrelationAction(); bool canUndo(); bool shouldUndo(); virtual const std::string getName(); private: virtual Dialog * createDialog(); virtual Action::state_ptr performCall(); virtual Action::state_ptr performUndo(Action::state_ptr); virtual Action::state_ptr performRedo(Action::state_ptr); static const char NAME[]; }; #endif /* PAIRCORRELATIONACTION_HPP_ */