VenomEngine
Cross-Platform Modern Graphics Engine
Loading...
Searching...
No Matches
venom::common::PluginObject Class Reference

Base class for all the plugin objects Objects that will be loaded from the plugins as their implementations lie there As a user of VenomEngine, you should not care about that, unless you plan to create your own plugin. More...

#include <PluginObject.h>

+ Inheritance diagram for venom::common::PluginObject:

Public Member Functions

 PluginObject (const PluginType type)
 
virtual void Destroy () override
 /!\ THIS FUNCTION MUST BE CALLED FOR DESTRUCTION, DO NOT USE delete
 
PluginType GetType () const override
 
template<class T >
T * DAs ()
 
template<class T >
const T * DAs () const
 
- Public Member Functions inherited from venom::common::IPluginObject

Detailed Description

Base class for all the plugin objects Objects that will be loaded from the plugins as their implementations lie there As a user of VenomEngine, you should not care about that, unless you plan to create your own plugin.

Member Function Documentation

◆ Destroy()

void venom::common::PluginObject::Destroy ( )
overridevirtual

/!\ THIS FUNCTION MUST BE CALLED FOR DESTRUCTION, DO NOT USE delete

Implements venom::common::IPluginObject.

Reimplemented in venom::common::GraphicsPluginObject.

◆ GetType()

PluginType venom::common::PluginObject::GetType ( ) const
overridevirtual

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