Simpatico
v1.10
|
Custom AnalyzerFactory for an McSimulation.
Definition at line 12 of file SliplinkMcAnalyzerFactory.h.
#include <SliplinkMcAnalyzerFactory.h>
Public Member Functions | |
SliplinkMcAnalyzerFactory (McSimulation &simulation, McSystem &system) | |
Constructor. More... | |
virtual Analyzer * | factory (const std::string &className) const |
Return pointer to a new Analyzer object. More... | |
![]() | |
McAnalyzerFactory (McSimulation &simulation, McSystem &system) | |
Constructor. More... | |
![]() | |
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... | |
Additional Inherited Members | |
![]() | |
McSystem & | system () const |
Return reference to parent McSystem. More... | |
McSimulation & | simulation () const |
Return reference to parent McSimulation. More... | |
![]() | |
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... | |
|
inline |
Constructor.
simulation | parent simulation |
system | parent system |
Definition at line 23 of file SliplinkMcAnalyzerFactory.h.
References factory().
|
virtual |
Return pointer to a new Analyzer object.
className | name of a subclass of Analyzer. |
Reimplemented from McMd::McAnalyzerFactory.
Definition at line 24 of file SliplinkMcAnalyzerFactory.cpp.
References McMd::McAnalyzerFactory::factory(), McMd::McAnalyzerFactory::system(), and Util::Factory< Analyzer >::trySubfactories().
Referenced by SliplinkMcAnalyzerFactory().