VR-Forces Development_Version Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vrfutil
mappingList.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2015 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
9
#pragma once
10
11
#include "
vrfutil/rwList.h
"
12
#include "
vrfutil/rwUUID.h
"
13
#include <vlutil/vlFilename.h>
14
#include <vl/hostStructs.h>
15
21
22
#include "
vrfutil/vrfutilDefines.h
"
23
#include <boost/unordered_map.hpp>
24
25
class
DtObjectMapEntry
;
26
27
class
DT_DLL_vrfutil
DtMappingList
:
public
DtRwList
28
{
29
public
:
30
32
DtMappingList
();
33
35
DtMappingList
(
const
DtString
& writeName,
DtReaderWriterRegistry
*
36
parentRegistry = 0);
37
39
virtual
~
DtMappingList
();
40
42
DtMappingList
(
const
DtString
& writeName,
const
DtMappingList
& orig,
43
DtReaderWriterRegistry
* parentRegistry = 0);
44
46
DtMappingList
&
operator=
(
const
DtMappingList
& orig);
47
48
virtual
DtMappingList
* clone(
const
DtString
& writeName,
49
DtReaderWriterRegistry
* parentRegistry = 0)
const
;
50
53
58
virtual
bool
lookup(
const
DtUUID
&, DtSimulationAddress& address)
const
;
59
61
virtual
std::vector<DtUUID> objects(
const
DtSimulationAddress& addr);
62
64
virtual
std::set<DtSimulationAddress> addresses();
65
67
virtual
void
addMapping(
const
DtUUID
& name,
68
const
DtSimulationAddress& address);
69
70
protected
:
71
72
DtlObjPtr
getData
(DtlObjPtr args,
const
DtReaderWriter::SearchPaths
& searchPaths,
73
const
DtVariableBindingsList
& variableBindings);
74
75
virtual
void
emptyList();
76
virtual
void
copyList(
const
DtMappingList
& orig);
77
78
protected
:
79
typedef
boost::unordered_map<DtUUID, DtObjectMapEntry*>
FastMap
;
80
FastMap
myFastMap
;
81
};
Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)