LoveBrains  1.0.0
Public Types | Public Member Functions | List of all members
Plugin::IPlugin Class Referenceabstract

Define the plugin interface in order to add some stuff to LoveBrains. Mandatory name for the PluginCreator function : "CreatePlugin" ! More...

#include <i_plugin.h>

Public Types

typedef IPlugin *(* PluginCreator) (void)
 Define the function pointer for the creation method.
 

Public Member Functions

virtual ~IPlugin (void)
 Virtual destructor.
 
virtual std::vector< Graphics::IObject * > & getObjects (void)=0
 Get all the objects contained by the plugin. More...
 
virtual std::vector< Graphics::ICollider * > & getColliders (void)=0
 Get all the colliders contained by the plugin. More...
 
virtual std::vector< Graphics::ISensor * > & getSensors (void)=0
 Get all the sensors contained by the plugin. More...
 

Detailed Description

Define the plugin interface in order to add some stuff to LoveBrains. Mandatory name for the PluginCreator function : "CreatePlugin" !

Member Function Documentation

virtual std::vector<Graphics::ICollider *>& Plugin::IPlugin::getColliders ( void  )
pure virtual

Get all the colliders contained by the plugin.

Returns
std::vector<Graphics::ICollider *>&
virtual std::vector<Graphics::IObject *>& Plugin::IPlugin::getObjects ( void  )
pure virtual

Get all the objects contained by the plugin.

Returns
std::vector<Graphics::IObject *>&
virtual std::vector<Graphics::ISensor *>& Plugin::IPlugin::getSensors ( void  )
pure virtual

Get all the sensors contained by the plugin.

Returns
std::vector<Graphics::ISensor *>&

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