Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

IopcClassRegistrar< T > Class Template Reference

Template used to register class's createInstance() and createReference() functions in iopcClassFactory. More...

#include <iopcPersistentObject.h>

List of all members.

Public Member Functions

 IopcClassRegistrar (const char *className)


Detailed Description

template<class T>
class IopcClassRegistrar< T >

Template used to register class's createInstance() and createReference() functions in iopcClassFactory.

createInstance() and createReference() functions are generated by IOPC SP and used to create new instances of persistent classes / references to them.

IOPC SP creates an instance of this template for each persistent class found in processed source file. If a class is included in more source files, more instances of this template may exists for the class. The only thing that template does is done in its constructor, after the construction the template instance is no longer needed.


Constructor & Destructor Documentation

template<class T>
IopcClassRegistrar< T >::IopcClassRegistrar const char *  className  )  [inline]
 

Constructor. Registers T's iopcCreateInstance() and iopcCreateReference() functions in iopcClassFactory. See IopcClassFactory::addClass().

Parameters:
className Name of class T.


The documentation for this class was generated from the following file:
Generated on Wed Aug 11 22:35:34 2004 for IOPC by Doxygen 1.3.6