Simpatico  v1.10
CommandManager.h
1 #ifndef MCMD_COMMAND_MANAGER_H
2 #define MCMD_COMMAND_MANAGER_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 w Distributed under the terms of the GNU General Public License.
9 */
10 
11 #include <util/param/Manager.h> // base class template
12 #include <mcMd/commands/Command.h> // class template argument
13 
14 namespace McMd
15 {
16 
17  using namespace Util;
18 
25  class CommandManager : public Manager<Command>
26  {
27 
28  public:
29 
34 
38  virtual ~CommandManager();
39 
45  bool readCommand(std::string name, std::istream& in);
46 
47  protected:
48 
54  virtual
55  bool readStandardCommand(std::string name, std::istream& in);
56 
57  };
58 
59 }
60 #endif
Manager for Command objects in an MdSimulation.
Template container for pointers to objects with a common base class.
Definition: Manager.h:38
Utility classes for scientific computation.
Definition: accumulators.mod:1
Single-processor Monte Carlo (MC) and molecular dynamics (MD).