/* * ParticleRegistry.hpp * * Created on: May 13, 2013 * Author: heber */ #ifndef PARTICLEREGISTRY_HPP_ #define PARTICLEREGISTRY_HPP_ // include config.h #ifdef HAVE_CONFIG_H #include #endif #include "CodePatterns/Registry.hpp" #include "CodePatterns/Singleton.hpp" #include "Potentials/Particles/Particle.hpp" /** Particle Registry. * * The Potential registry is a storage for any Particle instance to * be retrieved by name. It is a singleton and can be called from anywhere. * */ class ParticleRegistry : public Singleton, public Registry { friend class Singleton; //friend class Registry; public: private: ParticleRegistry() {} ~ParticleRegistry() {} }; #endif /* PARTICLEREGISTRY_HPP_ */