class Plugin

Plugin support. More...

Contains pure virtuals
Full nameTelEngine::Plugin
Definition#include <telengine.h>
InheritsTelEngine::GenObject [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods


Detailed Description

Initialization and information about plugins. Plugins are located in shared libraries that are loaded at runtime.


 // Create static Plugin object by using the provided macro
 INIT_PLUGIN(Plugin);

 Plugin (const char *name)

Plugin

Creates a new Plugin container.

Parameters:
namethe undecorated name of the library that contains the plugin

 Plugin ()

Plugin

Creates a new Plugin container. Alternate constructor which is also the default.

 ~Plugin ()

~Plugin

[virtual]

Destroys the plugin. The destructor must never be called directly - the Loader will do it when refCount() reaches zero.

void  initialize ()

initialize

[pure virtual]

Initialize the plugin after it was loaded and registered.

bool  isBusy ()

isBusy

[const virtual]

Check if the module is actively used.

Returns: True if the plugin is in use, false if should be ok to restart


Generated by: kk on nyx on Sat Jun 4 19:29:41 2005, using kdoc 2.0a54.