|
Simpatico
v1.10
|
Factory for Tools::Analyzer objects.
Definition at line 26 of file ProcessorAnalyzerFactory.h.
#include <ProcessorAnalyzerFactory.h>
Public Member Functions | |
| ProcessorAnalyzerFactory (Processor &processor) | |
| 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 | |
| Processor & | processor () const |
| Return reference to parent Processor. 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... | |
| Tools::ProcessorAnalyzerFactory::ProcessorAnalyzerFactory | ( | Processor & | processor | ) |
Constructor.
| processor | associated physical Processor |
Definition at line 25 of file ProcessorAnalyzerFactory.cpp.
|
virtual |
Return pointer to a new Analyzer object.
| className | name of a subclass of Analyzer. |
Implements Util::Factory< Analyzer >.
Definition at line 32 of file ProcessorAnalyzerFactory.cpp.
References processor(), and Util::Factory< Analyzer >::trySubfactories().
|
inlineprotected |
Return reference to parent Processor.
Definition at line 51 of file ProcessorAnalyzerFactory.h.
Referenced by factory().
1.8.11