MAK RTIspy API Documentation for HLA 1516
Home
Modules
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
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 Mon Jul 9 10:30:41 EDT 2018 from SVN revision 190224
Copyright © 2005-2018 VT MÄK Inc. All Rights Reserved (
www.mak.com
)