VR-Forces 4.6 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
vrfobjcore
simComponentList.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2014 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: cmpntList.h,v $ $Revision: 1.13 $ $State: Exp $
7
*******************************************************************************/
8
11
17
18
19
#ifndef DtSimComponentList_H_
20
#define DtSimComponentList_H_
21
22
#include <vlutil/vlString.h>
23
#include <vlutil/vlList.h>
24
#include "
vrfutil/rwList.h
"
25
#include <map>
26
27
class
DtSimComponent
;
28
class
DtReaderWriterRegistry
;
29
class
DtCriticalSection
;
30
39
40
41
#include "
vrfobjcore/vrfobjcoreDefines.h
"
42
class
DT_DLL_vrfobjcore
DtSimComponentList
:
public
DtRwList
43
{
44
public
:
46
DtSimComponentList
(
const
DtString
& name,
47
DtReaderWriterRegistry
*
const
parentRegistry = 0);
48
50
virtual
~
DtSimComponentList
();
51
55
virtual
void
tick(
bool
hostEntityDestroyed);
56
57
virtual
DtSimComponent
* lookupComponent(
const
DtString
& name);
58
virtual
std::list<DtSimComponent*> lookupComponentsByType(
const
DtString
& typeString);
59
60
virtual
void
addComponent(
DtSimComponent
* component);
61
virtual
void
removeComponent(
DtSimComponent
* component);
62
63
virtual
DtSimComponent
* firstComponent();
64
virtual
DtSimComponent
* lastComponent();
65
66
protected
:
68
DtSimComponentList
();
69
72
virtual
void
emptyList();
73
76
virtual
DtlObjPtr
getData
(DtlObjPtr args,
const
DtReaderWriter::SearchPaths
& searchPaths,
77
const
DtVariableBindingsList
& variableBindings);
78
79
protected
:
80
81
typedef
std::map<DtString, DtSimComponent*>
DtSimComponentMap
;
82
DtSimComponentMap
myIndex
;
83
};
84
85
#endif
86
Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (
www.mak.com
)