Hydra 0.20
|
#include <Registry.h>
Public Member Functions | |
Register (void) | |
Register (const char *name) |
This is the helper class that does the actual registration.
Embeed a static-global instance of one of these per-object to be registered. The constructor will then registery the type SUB with the registry.
The type SUB should have a registry_type typedef and a register variable. You should implement this via a common BASE class (see Registry)
hydra::Register< SUB >::Register | ( | void | ) | [inline] |
Registering constructor.
hydra::Register< SUB >::Register | ( | const char * | name | ) | [inline] |
Registering constructor, with a name.