Each instance of this specialized class represents an action that can be called with the specified directive. More...
#include <ActionRegister.h>
Public Member Functions | |
ActionRegistration (std::string_view directive) | |
On construction register the ActionClass with the wanted directive. More... | |
~ActionRegistration () | |
On destruction deregister the ActionClass (useful when you unload a shared object) More... | |
Static Private Member Functions | |
static std::unique_ptr< Action > | create (const ActionOptions &ao) |
Private Attributes | |
ActionRegister::ID | id |
Each instance of this specialized class represents an action that can be called with the specified directive.
As soon it goes out of scope it will deregister the directive from the singleton ActionRegister
|
inline |
On construction register the ActionClass with the wanted directive.
|
inline |
On destruction deregister the ActionClass (useful when you unload a shared object)
|
inlinestaticprivate |
|
private |
Hosted by GitHub | 1.8.17 |