Project

General

Profile

SO3Engine
SO3PluginManager.h
Go to the documentation of this file.
1
5#ifndef __SO3_PLUGIN_MANAGER_H__
6#define __SO3_PLUGIN_MANAGER_H__
7
10#include <Ogre.h>
11
12namespace SO3
13{
14
17class _SO3_Export SPluginManager : public Ogre::Singleton<SPluginManager>
18{
19public:
20protected:
21 typedef std::map<std::string, SPlugin*, std::less<std::string> > SPluginList;
23private:
24
25public:
30
34 virtual ~SPluginManager();
35
39 SPlugin* Load(const std::string& fileName);
40
44 void Unload(SPlugin* loadedPlugin);
45
49 void Unload(const std::string& pluginName);
50
54 std::vector<std::string> GetPluginList();
55
59 static SPluginManager& getSingleton();
60
61 /*
62 @copydoc Ogre::Singleton::getSingletonPtr
63 */
64 static SPluginManager* getSingletonPtr();
65protected:
66private:
67};
68
69}
70
71#endif
librairies include
std::map< std::string, SPlugin *, std::less< std::string > > SPluginList