/* * AtomsCalculation.hpp * * Created on: Feb 19, 2010 * Author: crueger */ #ifndef ATOMSCALCULATION_HPP_ #define ATOMSCALCULATION_HPP_ // include config.h #ifdef HAVE_CONFIG_H #include #endif #include "Actions/Calculation.hpp" class Dialog; namespace MoleCuilder { template class AtomsCalculation : public Calculation > { public: AtomsCalculation(boost::function op,const ActionTrait &_trait,AtomDescriptor descr); virtual ~AtomsCalculation(); Action* clone(enum Action::QueryOptions flag = Action::Interactive) const; protected: virtual std::vector* doCalc(); virtual Dialog *fillDialog(Dialog *dialog); private: AtomDescriptor descr; boost::function op; }; } #endif /* ATOMSCALCULATION_HPP_ */