Plasma Engine  2.0
Loading...
Searching...
No Matches
plPluginEvent Struct Reference

The data that is broadcast whenever a plugin is (un-) loaded. More...

#include <Plugin.h>

Public Types

enum  Type {
  BeforeLoading , AfterLoadingBeforeInit , AfterLoading , BeforeUnloading ,
  StartupShutdown , AfterStartupShutdown , AfterUnloading , BeforePluginChanges ,
  AfterPluginChanges
}
 

Public Attributes

Type m_EventType
 Which type of event this is.
 
plStringView m_sPluginBinary
 The file name of the affected plugin.
 

Detailed Description

The data that is broadcast whenever a plugin is (un-) loaded.

Member Enumeration Documentation

◆ Type

Enumerator
BeforeLoading 

Sent shortly before a new plugin is loaded.

AfterLoadingBeforeInit 

Sent immediately after a new plugin has been loaded, even before it is initialized (which might trigger loading of other plugins).

AfterLoading 

Sent after a new plugin has been loaded and initialized.

BeforeUnloading 

Sent before a plugin is going to be unloaded.

StartupShutdown 

Used by the startup system for automatic shutdown.

AfterStartupShutdown 

Used by the ResourceManager to unload now unreferenced resources after the startup system shutdown is through.

AfterUnloading 

Sent after a plugin has been unloaded.

BeforePluginChanges 

Sent (once) before any (group) plugin changes (load/unload) are done.

AfterPluginChanges 

Sent (once) after all (group) plugin changes (unload/load) are finished.


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