Simpatico  v1.10
mcMd/trajectory/TrajectoryReaderFactory.h
1 #ifndef MCMD_TRAJECTORY_READER_FACTORY_H
2 #define MCMD_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 <mcMd/trajectory/TrajectoryReader.h>
13 
14 #include <string>
15 
16 namespace McMd
17 {
18 
19  using namespace Util;
20  class System;
21 
25  class TrajectoryReaderFactory : public Factory<TrajectoryReader>
26  {
27 
28  public:
29 
32 
39  TrajectoryReader* factory(const std::string &trajectoryIoName) const;
40 
41  private:
42 
44  System* systemPtr_;
45 
46  };
47 
48 }
49 #endif
A set of interacting Molecules enclosed by a Boundary.
Definition: System.h:115
Utility classes for scientific computation.
Definition: accumulators.mod:1
Default Factory for subclasses of TrajectoryReader.
Trajectory file reader (base class).
Single-processor Monte Carlo (MC) and molecular dynamics (MD).
Factory template.
Definition: Factory.h:32