My Project
Public Member Functions | List of all members
CParaEngineClassDesc Class Reference

description class More...

Inheritance diagram for CParaEngineClassDesc:
ParaEngine::ClassDescriptor

Public Member Functions

void * Create (bool loading=FALSE)
 return a pointer to an instance of the class.When the system needs to delete an instance of a plugin class, it usually calls a method named DeleteThis(). More...
 
const char * ClassName ()
 class name
 
SClass_ID SuperClassID ()
 This method returns a system-defined constant describing the class that this plugin class was derived from.
 
Class_ID ClassID ()
 uniquely identifies a specific plugin class.
 
const char * Category ()
 it may be some predefined category name.
 
const char * InternalName ()
 
HINSTANCE HInstance ()
 returns owning module handle (DLL handle)
 
- Public Member Functions inherited from ParaEngine::ClassDescriptor
virtual int IsPublic ()
 whether the class is accessible from the UI. More...
 
virtual int UseGDI ()
 whether the class uses windows GDI to draw controls. More...
 
virtual void * activate (int cmd, void *arg1=0, void *arg2=0, void *arg3=0)
 genetic activation function as the one in the NPL script file. More...
 

Detailed Description

description class

Member Function Documentation

§ Create()

void* CParaEngineClassDesc::Create ( bool  loading = FALSE)
inlinevirtual

return a pointer to an instance of the class.When the system needs to delete an instance of a plugin class, it usually calls a method named DeleteThis().

plugin developers must implement this method as well. Since a developer uses the new operator to allocate memory, he or she should use the delete operator to de-allocate it.

Implements ParaEngine::ClassDescriptor.


The documentation for this class was generated from the following file: