Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

PLearn::StaticInitializer Class Reference

A StaticInitializer is typically declared as a static member of a class, and given a parameter that is a static initialization function for said class. More...

#include <StaticInitializer.h>

List of all members.

Public Member Functions

 StaticInitializer (VOIDFUNC initialize)


Detailed Description

A StaticInitializer is typically declared as a static member of a class, and given a parameter that is a static initialization function for said class.

This will ensure that said function will be called upon program start. In Objects, this mechanism is defined automatically by the PLEARN_DECLARE_OBJECT_METHODS macro and used to automatically call TypeFactory::register_type

Definition at line 62 of file StaticInitializer.h.


Constructor & Destructor Documentation

PLearn::StaticInitializer::StaticInitializer VOIDFUNC  initialize  ) 
 

Definition at line 46 of file StaticInitializer.cc.

References PLearn::VOIDFUNC.


The documentation for this class was generated from the following files:
Generated on Tue Aug 17 16:22:43 2004 for PLearn by doxygen 1.3.7