Hydra 0.20
hydra::Register< SUB > Class Template Reference

#include <Registry.h>

List of all members.

Public Member Functions

 Register (void)
 Register (const char *name)

Detailed Description

template<class SUB>
class hydra::Register< SUB >

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)

Author:
Aleksander Demko

Constructor & Destructor Documentation

template<class SUB >
hydra::Register< SUB >::Register ( void  ) [inline]

Registering constructor.

Author:
Aleksander Demko
template<class SUB >
hydra::Register< SUB >::Register ( const char *  name) [inline]

Registering constructor, with a name.

Author:
Aleksander Demko

The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables