MAK RTIspy API Documentation for HLA Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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;
23 
25 {
31  DtAssistantPlugin
32 };
33 
34 typedef void (*DtRtiInitMethod)(DtRtiPluginComponentType compType);
36 typedef void (*DtRtiInitRtiexecMethod)(DtRtiExec* exec);
37 
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 Mar 21 09:41:37 EDT 2016 from SVN revision 163228
Copyright © 2005-2015 VT MÄK Inc. All Rights Reserved (www.mak.com)