VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfobjcore
commModelManager.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2007 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: commModelManager.h,v $ $Revision: 1.4 $ $State: Exp $
7
*******************************************************************************/
8
11
13
14
#ifndef commModelManager_h
15
#define commModelManager_h
16
17
#include "
vrfobjcore/vrfobjcoreDefines.h
"
18
#include <map>
19
#include <vlutil/vlString.h>
20
21
class
DtSimManager
;
22
class
DtCommModelDescriptorList
;
23
class
DtCommModel
;
24
class
DtFilename;
25
29
class
DT_DLL_vrfobjcore
DtCommModelManager
30
{
31
private
:
33
34
DtCommModelManager
();
35
DtCommModelManager
(
const
DtCommModelManager
& orig);
36
DtCommModelManager
& operator=(
const
DtCommModelManager
& orig);
38
39
protected
:
41
DtCommModelManager
(
DtSimManager
* simManager);
43
virtual
bool
init
();
44
45
public
:
49
static
DtCommModelManager
* create(
DtSimManager
* simManager);
50
51
virtual
~
DtCommModelManager
();
52
55
virtual
void
reset();
56
60
virtual
bool
initializeForScenario(
const
DtFilename& paramsFile);
61
67
virtual
bool
loadCommModelFile(
const
DtFilename& paramsFile);
68
70
virtual
bool
setupCommModels();
71
74
virtual
DtCommModel
* lookupCommModel(
const
DtString
& networkName);
75
78
static
void
tickCallback(
void
* usr);
79
81
virtual
void
tick();
82
83
protected
:
85
virtual
bool
setupCommModels(
const
DtCommModelDescriptorList
& descList);
86
88
void
clearCommModels();
89
90
protected
:
91
DtSimManager
*
mySimManager
;
92
typedef
std::map<DtString, DtCommModel*>
DtCommModelMap
;
93
DtCommModelMap
myCommModelMap
;
94
DtCommModelDescriptorList
*
myDescriptorList
;
95
};
96
97
#endif
Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)