SO3Engine
include
SO3Utils
SO3Plugin.h
Go to the documentation of this file.
1
5
#ifndef __SO3_PLUGIN_H__
6
#define __SO3_PLUGIN_H__
7
8
#include "
SCOLBasic/SO3Prerequisites.h
"
9
10
namespace
SO3
11
{
12
13
struct
_SO3_Export
SPluginInfos
14
{
15
std::string
fileName
;
16
std::string
name
;
17
std::string
version
;
18
std::string
author
;
19
std::string
authorEmail
;
20
std::string
description
;
21
std::string
urlLink
;
22
};
23
24
typedef
void (*
SO3_START_PLUGIN
)(void);
25
typedef
void (*
SO3_STOP_PLUGIN
)(void);
26
29
class
_SO3_Export
SPlugin
30
{
31
public
:
32
protected
:
33
SPluginInfos
pluginInfos
;
34
bool
isLoaded
;
35
SO3_PLUGIN_INSTANCE
instanceId
;
36
private
:
37
38
public
:
42
SPlugin
(
const
std::string& pluginName);
43
47
virtual
~SPlugin
();
48
52
virtual
void
Load();
53
57
virtual
void
Unload();
58
62
bool
IsLoaded();
63
67
virtual
void
* GetSymbol(
const
char
* symbolName)
const
throw
();
68
72
SPluginInfos
GetInfo();
73
protected
:
74
private
:
75
};
76
77
}
78
79
#endif
SO3Prerequisites.h
librairies include
SO3::SPlugin
Definition
SO3Plugin.h:30
SO3::SPlugin::pluginInfos
SPluginInfos pluginInfos
Definition
SO3Plugin.h:33
SO3::SPlugin::isLoaded
bool isLoaded
Definition
SO3Plugin.h:34
SO3::SPlugin::instanceId
SO3_PLUGIN_INSTANCE instanceId
Definition
SO3Plugin.h:35
SO3
Definition
SO3DataScol.h:38
SO3::SO3_START_PLUGIN
void(* SO3_START_PLUGIN)(void)
Definition
SO3Plugin.h:24
SO3::SO3_STOP_PLUGIN
void(* SO3_STOP_PLUGIN)(void)
Definition
SO3Plugin.h:25
SO3::SPluginInfos
Definition
SO3Plugin.h:14
SO3::SPluginInfos::version
std::string version
Definition
SO3Plugin.h:17
SO3::SPluginInfos::author
std::string author
Definition
SO3Plugin.h:18
SO3::SPluginInfos::description
std::string description
Definition
SO3Plugin.h:20
SO3::SPluginInfos::fileName
std::string fileName
Definition
SO3Plugin.h:15
SO3::SPluginInfos::urlLink
std::string urlLink
Definition
SO3Plugin.h:21
SO3::SPluginInfos::name
std::string name
Definition
SO3Plugin.h:16
SO3::SPluginInfos::authorEmail
std::string authorEmail
Definition
SO3Plugin.h:19
Generated by
1.9.8