#include <ClassFactory.h>
Classes | |
struct | TClassData |
Public Types | |
using | Ptr = std::shared_ptr< CLASS > |
Public Member Functions | |
Ptr | create (const std::string &class_name, ARG1 a1) const |
Ptr | 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 22 of file ClassFactory.h.
using mvsim::ClassFactory< CLASS, ARG1, ARG2 >::Ptr = std::shared_ptr<CLASS> |
Definition at line 25 of file ClassFactory.h.
|
inline |
Definition at line 39 of file ClassFactory.h.
|
inline |
Definition at line 54 of file ClassFactory.h.
|
inline |
Definition at line 34 of file ClassFactory.h.
|
private |
Definition at line 71 of file ClassFactory.h.