#include <ClassFactory.h>
Classes | |
struct | TClassData |
Public Member Functions | |
CLASS * | create (const std::string &class_name, ARG1 a1) const |
CLASS * | create (const std::string &class_name, ARG1 a1, ARG2 a2) const |
void | do_register (const std::string &class_name, const TClassData &data) |
Private Attributes | |
std::map< std::string, TClassData > | m_classes |
Templatized-class factory for mvsim objects. Does not explicitly handle multi-threading.
Definition at line 21 of file ClassFactory.h.
CLASS* mvsim::ClassFactory< CLASS, ARG1, ARG2 >::create | ( | const std::string & | class_name, |
ARG1 | a1 | ||
) | const [inline] |
Definition at line 36 of file ClassFactory.h.
CLASS* mvsim::ClassFactory< CLASS, ARG1, ARG2 >::create | ( | const std::string & | class_name, |
ARG1 | a1, | ||
ARG2 | a2 | ||
) | const [inline] |
Definition at line 51 of file ClassFactory.h.
void mvsim::ClassFactory< CLASS, ARG1, ARG2 >::do_register | ( | const std::string & | class_name, |
const TClassData & | data | ||
) | [inline] |
Definition at line 31 of file ClassFactory.h.
std::map<std::string, TClassData> mvsim::ClassFactory< CLASS, ARG1, ARG2 >::m_classes [private] |
Definition at line 68 of file ClassFactory.h.