Simpatico  v1.10
tools/trajectory/TrajectoryReaderFactory.h
1 #ifndef TOOLS_TRAJECTORY_READER_FACTORY_H
2 #define TOOLS_TRAJECTORY_READER_FACTORY_H
3 
4 /*
5 * Simpatico - Simulation Package for Polymeric and Molecular Liquids
6 *
7 * Copyright 2010 - 2017, The Regents of the University of Minnesota
8 * Distributed under the terms of the GNU General Public License.
9 */
10 
11 #include <util/param/Factory.h>
12 #include <tools/trajectory/TrajectoryReader.h>
13 
14 #include <string>
15 
16 namespace Tools
17 {
18 
19  using namespace Util;
20  class Configuration;
21 
27  class TrajectoryReaderFactory : public Factory<TrajectoryReader>
28  {
29 
30  public:
31 
37  TrajectoryReaderFactory(Configuration& configuration);
38 
55  TrajectoryReader* factory(const std::string &subclassName) const;
56 
57  private:
58 
60  Configuration* configurationPtr_;
61 
62  };
63 
64 }
65 #endif
Abstract trajectory file reader.
An instantaneous molecular dynamics configuration.
Definition: Configuration.h:40
Default Factory for subclasses of TrajectoryReader.
Utility classes for scientific computation.
Definition: accumulators.mod:1
Single-processor classes for pre- and post-processing MD trajectories.
Factory template.
Definition: Factory.h:32