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
objectResourceManager.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2007 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: objectResourceManager.h,v $ $Revision: 1.3 $ $State: Exp $
7
*******************************************************************************/
8
11
13
14
#ifndef objectResourceManager_h
15
#define objectResourceManager_h
16
17
#include "
vrfobjcore/vrfobjcoreDefines.h
"
18
#include <list>
19
20
class
DtString
;
21
class
DtVrfObject
;
22
class
DtSimResource
;
23
class
DtComponentSystem
;
24
30
class
DT_DLL_vrfobjcore
DtObjectResourceManager
31
{
32
private
:
34
35
DtObjectResourceManager
();
36
DtObjectResourceManager
(
const
DtObjectResourceManager
& orig);
37
DtObjectResourceManager
& operator=(
const
DtObjectResourceManager
& orig);
39
40
public
:
41
DtObjectResourceManager
(
DtVrfObject
* owner);
42
virtual
~
DtObjectResourceManager
();
43
44
typedef
std::list<DtSimResource*>
DtSimResourceList
;
45
46
typedef
std::pair<const DtSimResource*, DtString>
DtResourceAndFullName
;
47
typedef
std::list<DtResourceAndFullName>
DtResourceAndFullNameList
;
48
53
virtual
int
findResourcesByName(
const
DtString
& name,
DtResourceAndFullNameList
& resourceList)
const
;
54
57
58
virtual
const
DtSimResource
* lookupResource(
const
DtString
& fullName)
const
;
59
virtual
DtSimResource
* lookupResource(
const
DtString
& fullName);
61
64
virtual
int
allResouceNames(std::list<DtString>& nameList)
const
;
65
68
virtual
int
allResources(
DtResourceAndFullNameList
& resourceList)
const
;
69
73
virtual
void
restoreAllResourcesToDefault();
74
75
protected
:
76
virtual
int
allResourcesInSystem(
const
DtComponentSystem
* system,
77
const
DtString
& parentSystem,
DtResourceAndFullNameList
& resourceList)
const
;
78
79
protected
:
80
DtVrfObject
*
myVrfObject
;
81
};
82
84
DT_DLL_vrfobjcore
DtString
DtBaseResourceName
(
const
DtString
& fullResourceName);
85
86
#endif
87
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
)