Simpatico  v1.10
List of all members | Public Member Functions
McMd::SliplinkMcMoveFactory Class Reference

Detailed Description

Custom McMoveFactory.

Definition at line 17 of file SliplinkMcMoveFactory.h.

#include <SliplinkMcMoveFactory.h>

Inheritance diagram for McMd::SliplinkMcMoveFactory:
McMd::McMoveFactory Util::Factory< McMove >

Public Member Functions

 SliplinkMcMoveFactory (McSimulation &simulation, McSystem &system)
 Constructor. More...
 
virtual McMovefactory (const std::string &className) const
 Return pointer to a new McMove object. More...
 
- Public Member Functions inherited from McMd::McMoveFactory
 McMoveFactory (McSimulation &simulation, McSystem &system)
 Constructor. More...
 
- Public Member Functions inherited from Util::Factory< McMove >
 Factory ()
 Constructor. More...
 
virtual ~Factory ()
 Destructor. More...
 
void addSubfactory (Factory< McMove > &subfactory)
 Add a new subfactory to the list. More...
 
McMove * readObject (std::istream &in, ParamComposite &parent, std::string &className, bool &isEnd)
 Read a class name, instantiate an object, and read its parameters. More...
 
McMove * loadObject (Serializable::IArchive &ar, ParamComposite &parent, std::string &className)
 Load a class name, instantiate an object, and load the object. More...
 

Additional Inherited Members

- Protected Member Functions inherited from McMd::McMoveFactory
McSimulationsimulation () const
 Return reference to parent Simulation. More...
 
McSystemsystem () const
 Return reference to parent McSystem. More...
 
- Protected Member Functions inherited from Util::Factory< McMove >
McMove * 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...
 

Constructor & Destructor Documentation

McMd::SliplinkMcMoveFactory::SliplinkMcMoveFactory ( McSimulation simulation,
McSystem system 
)

Constructor.

Parameters
simulationparent simulation
systemparent system

Definition at line 20 of file SliplinkMcMoveFactory.cpp.

Member Function Documentation

McMove * McMd::SliplinkMcMoveFactory::factory ( const std::string &  className) const
virtual

Return pointer to a new McMove object.

Parameters
classNamename of a subclass of McMove.
Returns
base class pointer to a new instance of className.

Reimplemented from McMd::McMoveFactory.

Definition at line 28 of file SliplinkMcMoveFactory.cpp.

References McMd::McMoveFactory::factory(), McMd::McMoveFactory::system(), and Util::Factory< McMove >::trySubfactories().


The documentation for this class was generated from the following files: