BasePlugin Class Reference

BasePlugin ist the parent of all supported Plugins. More...

Inheritance diagram for BasePlugin:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 BasePlugin (image_id id)
virtual ~BasePlugin ()
image_id GetPluginID (void)
virtual char * GetName (void)=0
 returns the Name of the Plugin .
virtual char * GetAutor (void)=0
 returns Autor of the Plugin
virtual char * GetVersionsString (void)=0
 returns a Versionsstring
virtual char * GetDescription (void)=0
 returns a Description
virtual uint32 GetType (void)=0
 returns the kind of pluginType e.g.
virtual void * GetNewObject (void *value)=0
 GetNewObject returns a new instance (in case of P_C_EDITOR_PLUGIN_TYPE a new instance of a PEditor) you have to cast it for yourself to the right Class.

Protected Attributes

image_id pluginID


Detailed Description

BasePlugin ist the parent of all supported Plugins.

Author:
Paradoxon powered by Jesus Christ
Version:
0.01
Date:
2005/10/04

Constructor & Destructor Documentation

BasePlugin::BasePlugin ( image_id  id  ) 

BasePlugin::~BasePlugin (  )  [virtual]


Member Function Documentation

virtual char* BasePlugin::GetAutor ( void   )  [pure virtual]

virtual char* BasePlugin::GetDescription ( void   )  [pure virtual]

virtual char* BasePlugin::GetName ( void   )  [pure virtual]

returns the Name of the Plugin .

. in the case of P_C_COMMANDO_PLUGIN_TYPE this name ist used in PCommandManager::GetPCommand to find the right PCommand

Implemented in AddAttributePlugin, ChangeValuePlugin, CopyPlugin, DeletePlugin, FindPlugin, GraphEditorPlugin, GroupPlugin, InsertPlugin, MovePlugin, NavigatorEditorPlugin, PastePlugin, GraphEditorPlugin, RemoveAttributePlugin, ResizePlugin, and SelectPlugin.

virtual void* BasePlugin::GetNewObject ( void *  value  )  [pure virtual]

GetNewObject returns a new instance (in case of P_C_EDITOR_PLUGIN_TYPE a new instance of a PEditor) you have to cast it for yourself to the right Class.

Implemented in AddAttributePlugin, ChangeValuePlugin, CopyPlugin, DeletePlugin, FindPlugin, GraphEditorPlugin, GroupPlugin, InsertPlugin, MovePlugin, NavigatorEditorPlugin, PastePlugin, GraphEditorPlugin, RemoveAttributePlugin, ResizePlugin, and SelectPlugin.

image_id BasePlugin::GetPluginID ( void   )  [inline]

virtual uint32 BasePlugin::GetType ( void   )  [pure virtual]

returns the kind of pluginType e.g.

: P_C_EDITOR_PLUGIN_TYPE means this plugins "contains" a PEditorPlugin P_C_COMMANDO_PLUGIN_TYPE means this plugins "contains" a PCommandPlugin you also can create your own pluginType (please dont use pc at the beginning this is used for all ProjectConcpetor consts

Implemented in AddAttributePlugin, ChangeValuePlugin, CopyPlugin, DeletePlugin, FindPlugin, GraphEditorPlugin, GroupPlugin, InsertPlugin, MovePlugin, NavigatorEditorPlugin, PastePlugin, GraphEditorPlugin, RemoveAttributePlugin, ResizePlugin, and SelectPlugin.

virtual char* BasePlugin::GetVersionsString ( void   )  [pure virtual]


Member Data Documentation

image_id BasePlugin::pluginID [protected]


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

Generated on Sun Jun 21 01:09:16 2009 for ProjektConceptor by  doxygen 1.5.9