fourdst_plugin 0.0.1a
C++ Plugin Manager
Loading...
Searching...
No Matches
fourdst::plugin Namespace Reference

Main namespace for the FourDST plugin system. More...

Namespaces

namespace  bundle
 
namespace  exception
 
namespace  manager
 
namespace  templates
 
namespace  utils
 Namespace for plugin utility functions and helpers.
 

Classes

class  IPlugin
 Abstract base interface for all plugins. More...
 
class  IPluginBase
 Base class providing default implementations for plugin identification. More...
 
class  PluginBase
 
struct  PluginDeleter
 

Typedefs

typedef IPlugin *(* plugin_creator_t) ()
 Function pointer type for plugin creation functions.
 
typedef void(* plugin_destroyer_t) (IPlugin *)
 Function pointer type for plugin destruction functions.
 

Detailed Description

Main namespace for the FourDST plugin system.

This namespace contains all classes, functions, and types related to the FourDST plugin framework. It is organized into several sub-namespaces:

The namespace is designed to prevent naming conflicts while providing a clear organizational structure for the plugin system components.

Typedef Documentation

◆ plugin_creator_t

typedef IPlugin *(* fourdst::plugin::plugin_creator_t) ()

Function pointer type for plugin creation functions.

This type defines the signature for the plugin factory function that must be exported by each plugin library as "create_plugin".

Returns
IPlugin* A pointer to a newly created plugin instance, or nullptr on failure

◆ plugin_destroyer_t

typedef void(* fourdst::plugin::plugin_destroyer_t) (IPlugin *)

Function pointer type for plugin destruction functions.

This type defines the signature for the plugin cleanup function that must be exported by each plugin library as "destroy_plugin".

Parameters
IPlugin*Pointer to the plugin instance to destroy