Class template Register registers the createInstance() function with the derived_name on object creation.
More...
#include <UserPlugin.hpp>
|
typedef DerivedClass | XDerivedClass |
|
|
| Register (const std::string &derived_name) |
| Creates a new Register instance. Upon creation, the DerivedClass::createInstance() instance creation function is registered with the derived_name. More...
|
|
| Register (const std::string &derived_name, Signature create_instance) |
| Creates a new Register instance. Upon creation, the DerivedClass::createInstance() instance creation function is registered with the derived_name. More...
|
|
| Register (int derived_id) |
| Creates a new Register instance. Upon creation, the DerivedClass::createInstance() instance creation function is registered with the derived_id and "enum id " derived_id. More...
|
|
| Register (int derived_id, Signature create_instance) |
| Creates a new Register instance. Upon creation, the DerivedClass::createInstance() instance creation function is registered with the derived_id and "enum id " derived_id. More...
|
|
template<class Creator, typename S = Creator *(*)()>
template<class DerivedClass>
class sierra::Plugin::UserPlugin< Creator, S >::Register< DerivedClass >
Class template Register registers the createInstance() function with the derived_name on object creation.
- Parameters
-
DerivedClass | a class which specifies the derived class which holds the createInstance() function. |
Definition at line 436 of file UserPlugin.hpp.
◆ Register() [1/4]
template<class Creator , typename S = Creator *(*)()>
template<class DerivedClass >
Creates a new Register instance. Upon creation, the DerivedClass::createInstance() instance creation function is registered with the derived_name.
- Parameters
-
derived_name | a std::string const reference to the derived class' name. |
Definition at line 450 of file UserPlugin.hpp.
◆ Register() [2/4]
template<class Creator , typename S = Creator *(*)()>
template<class DerivedClass >
Creates a new Register instance. Upon creation, the DerivedClass::createInstance() instance creation function is registered with the derived_name.
- Parameters
-
derived_name | a std::string const reference to the derived class' name. |
Definition at line 465 of file UserPlugin.hpp.
◆ Register() [3/4]
template<class Creator , typename S = Creator *(*)()>
template<class DerivedClass >
Creates a new Register instance. Upon creation, the DerivedClass::createInstance() instance creation function is registered with the derived_id and "enum id " derived_id.
- Parameters
-
derived_id | a int to the derived class' id. |
Definition at line 479 of file UserPlugin.hpp.
◆ Register() [4/4]
template<class Creator , typename S = Creator *(*)()>
template<class DerivedClass >
Creates a new Register instance. Upon creation, the DerivedClass::createInstance() instance creation function is registered with the derived_id and "enum id " derived_id.
- Parameters
-
derived_id | a int to the derived class' id. |
Definition at line 493 of file UserPlugin.hpp.
The documentation for this class was generated from the following file: