|
Simpatico
v1.10
|
AnalyzerFactory for an MdSimulation.
Definition at line 29 of file MdAnalyzerFactory.h.
#include <MdAnalyzerFactory.h>
Public Member Functions | |
| MdAnalyzerFactory (MdSimulation &simulation, MdSystem &system) | |
| Constructor. More... | |
| virtual Analyzer * | factory (const std::string &className) const |
| Return pointer to a new Analyzer object. More... | |
Public Member Functions inherited from Util::Factory< Analyzer > | |
| Factory () | |
| Constructor. More... | |
| virtual | ~Factory () |
| Destructor. More... | |
| void | addSubfactory (Factory< Analyzer > &subfactory) |
| Add a new subfactory to the list. More... | |
| Analyzer * | readObject (std::istream &in, ParamComposite &parent, std::string &className, bool &isEnd) |
| Read a class name, instantiate an object, and read its parameters. More... | |
| Analyzer * | loadObject (Serializable::IArchive &ar, ParamComposite &parent, std::string &className) |
| Load a class name, instantiate an object, and load the object. More... | |
Protected Member Functions | |
| MdSystem & | system () const |
| Return reference to parent MdSystem. More... | |
| MdSimulation & | simulation () const |
| Return reference to parent MdSimulation. More... | |
Protected Member Functions inherited from Util::Factory< Analyzer > | |
| Analyzer * | trySubfactories (const std::string &className) const |
| Search through subfactories for match. More... | |
| void | setIoCommunicator (MPI::Intracomm &communicator) |
| Set associated Mpi communicator. More... | |
| bool | hasIoCommunicator () const |
| Does this factory have a param communicator? More... | |
| McMd::MdAnalyzerFactory::MdAnalyzerFactory | ( | MdSimulation & | simulation, |
| MdSystem & | system | ||
| ) |
Constructor.
| simulation | parent simulation |
| system | parent system |
Definition at line 33 of file MdAnalyzerFactory.cpp.
|
virtual |
Return pointer to a new Analyzer object.
| className | name of a subclass of Analyzer. |
Implements Util::Factory< Analyzer >.
Reimplemented in McMd::SliplinkMdAnalyzerFactory.
Definition at line 43 of file MdAnalyzerFactory.cpp.
References McMd::SystemAnalyzerFactory::factory(), system(), and Util::Factory< Analyzer >::trySubfactories().
Referenced by McMd::SliplinkMdAnalyzerFactory::factory().
|
inlineprotected |
Return reference to parent MdSystem.
Definition at line 55 of file MdAnalyzerFactory.h.
Referenced by McMd::SliplinkMdAnalyzerFactory::factory(), and factory().
|
inlineprotected |
Return reference to parent MdSimulation.
Definition at line 61 of file MdAnalyzerFactory.h.
1.8.11