Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

register.hh File Reference

#include <string>
#include "loader.hh"
#include "stringhash.hh"

Include dependency graph for register.hh:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Namespaces

namespace  anoid
namespace  anoid::loader

Defines

#define Register(Class)   static ::anoid::loader::_Register<Class> _register##Class(#Class);


Define Documentation

#define Register Class       static ::anoid::loader::_Register<Class> _register##Class(#Class);
 

Use this to register a class for dynamic loading

Definition at line 36 of file register.hh.


Anoid NG © Michael Westergaard, Martin Stig Stissing, Ronni Michael Laursen, and Kristian Bisgaard Lassen