MAK RTIspy API Documentation for HLA Evolved
Home
Modules
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
libsrc
RTI
pluginMgr.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 1998 MaK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: pluginMgr.h,v $ $Revision: 1.18 $ $State: Exp $
7
*******************************************************************************/
8
11
12
#ifndef DT_NO_PLUGINS
13
14
#ifndef DtRtiPluginManager_H_
15
#define DtRtiPluginManager_H_
16
17
#include "
rtiMsConfig.h
"
18
#include <vlutil/vlFilename.h>
19
#include <vlutil/vlList.h>
20
21
class
DtRtiExec
;
22
class
DtRtiAmbassadorBaseImplementor
;
23
24
enum
DT_DLL_LRC
DtRtiPluginComponentType
25
{
26
DtLrcPlugin
,
27
DtExecPlugin
,
28
DtForwarderPlugin
,
29
DtShmQPlugin
,
30
DtWwwSpyServerPlugin
,
31
DtAssistantPlugin
32
};
33
34
typedef
void (*
DtRtiInitMethod
)(
DtRtiPluginComponentType
compType);
35
typedef
void (*
DtRtiInitLrcMethod
)(
DtRtiAmbassadorBaseImplementor
* imp);
36
typedef
void (*
DtRtiInitRtiexecMethod
)(
DtRtiExec
* exec);
37
38
class
DT_DLL_LRC
DtRtiPluginManager
39
{
40
public
:
41
DtRtiPluginManager
(
const
char
* dir );
42
DtRtiPluginManager
(
const
char
* pluginsFile,
DtRtiPluginComponentType
compType );
43
virtual
~
DtRtiPluginManager
();
44
46
virtual
void
load(
const
std::vector<MAKRti::DtString>& names,
DtRtiPluginComponentType
compType );
47
49
virtual
void
load(
const
MAKRti::DtString& name,
DtRtiPluginComponentType
compType );
50
52
virtual
void
start(
DtRtiAmbassadorBaseImplementor
* imp );
54
virtual
void
start(
DtRtiExec
* exec );
55
56
protected
:
57
virtual
void
executePlugin(
const
char
*,
DtRtiPluginComponentType
compType );
58
59
protected
:
60
MAKRti::DtFilename
myPluginDir
;
61
MAKRti::DtList
myPlugins
;
62
};
63
64
#endif
65
#endif
66
Document ID: Generated on Fri Mar 14 19:08:55 EDT 2014 from SVN revision 137085
Copyright © 2005-2014 VT MÄK Inc. All Rights Reserved (
www.mak.com
)