Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
Output
Winx64
Build
PublishedApi
DgnPlatform
DependencyManager.h
Go to the documentation of this file.
1
/*--------------------------------------------------------------------------------------+
2
|
3
| Supplied under applicable software license agreement.
4
|
5
| Copyright (c) 2018 Bentley Systems, Incorporated. All rights reserved.
6
|
7
+---------------------------------------------------------------------------------------*/
8
#pragma once
9
10
#include <
Bentley/RefCounted.h
>
11
#include "
ITxnManager.h
"
12
#include "
DependencyManagerAppid.h
"
13
#include "
DependencyManagerLinkage.h
"
14
#include <map>
15
16
BEGIN_BENTLEY_DGNPLATFORM_NAMESPACE
17
18
// *** Deprecated
19
#define ERR_MAXITERATIONS DependencyStatus::MaxIterationsError
20
#define ERR_MISSINGCALLBACK DependencyStatus::MissingCallBackError
21
22
23
24
/*---------------------------------------------------------------------------------**/
93
//=======================================================================================
109
struct
DependencyManager
110
{
111
113
114
147
DGNPLATFORM_EXPORT
static
DependencyStatus
ProcessAffected ();
148
150
DGNPLATFORM_EXPORT
static
void
SatisfyDependencyGraph ();
151
159
DGNPLATFORM_EXPORT
static
void
RootChanged (
ElementRefP
root);
160
161
168
DGNPLATFORM_EXPORT
static
bool
WasAdded (
ElementRefP
ref);
169
173
DGNPLATFORM_EXPORT
static
bool
IsInCurrentChangeSet (
ElementRefP
ref);
174
183
DGNPLATFORM_EXPORT
static
void
SetProcessingDisabled (
bool
bSuppress);
184
189
DGNPLATFORM_EXPORT
static
int
GetProcessingDisabled (
void
);
190
191
196
DGNPLATFORM_EXPORT
static
int
GetTrackingDisabled (
void
);
197
204
DGNPLATFORM_EXPORT
static
void
SetTraceLevel (
int
traceLevel);
205
207
208
209
216
DGNPLATFORM_EXPORT
static
bool
IsUnsupportedDependency
217
(
218
ElementRefP
targetElement,
219
DgnModelP
dependentCache
220
);
221
222
DGNPLATFORM_EXPORT
static
bool
IsGraphSatisfyInProgress (
double
* startTime);
223
224
};
// DependencyManager
225
227
228
229
END_BENTLEY_DGNPLATFORM_NAMESPACE
ITxnManager.h
END_BENTLEY_DGNPLATFORM_NAMESPACE
#define END_BENTLEY_DGNPLATFORM_NAMESPACE
Definition:
DgnPlatformBaseType.r.h:69
Bentley::DgnPlatform::DependencyManager
The Dependency Manager tracks changes to root elements and notififies dependent elements.
Definition:
DependencyManager.h:109
DGNPLATFORM_EXPORT
#define DGNPLATFORM_EXPORT
Definition:
DgnPlatform/ExportMacros.h:58
Bentley::DgnPlatform::DependencyStatus
DependencyStatus
Error codes that may be returned by mdlDependency_processAffected.
Definition:
DgnPlatform.h:739
Bentley::DgnPlatform::DgnModel
A DgnModel represents a DgnModel in memory.
Definition:
DgnModel.h:236
Bentley::DgnPlatform::ElementRefBase
Interface that provides direct and efficient access to element data.
Definition:
ElementRefBase.h:120
RefCounted.h
BEGIN_BENTLEY_DGNPLATFORM_NAMESPACE
#define BEGIN_BENTLEY_DGNPLATFORM_NAMESPACE
Definition:
DgnPlatformBaseType.r.h:68
DependencyManagerAppid.h
DependencyManagerLinkage.h
Copyright © 2017 Bentley Systems, Incorporated. All rights reserved.