VR-Forces 4.6.1 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
navInterfaceManager.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 "
vrfobjcore/vrfobjcoreDefines.h
"
12
#include "
vrfobjcore/vrfObjectNavInterface.h
"
13
#include "
vrfutil/noArgumentCallbackList.h
"
14
15
class
DtVrfObject
;
16
class
DtNavArea
;
17
18
class
DT_DLL_vrfobjcore
DtNavInterfaceManager
19
{
20
private
:
22
DtNavInterfaceManager
();
24
DtNavInterfaceManager
(
const
DtNavInterfaceManager
& orig);
26
DtNavInterfaceManager
& operator=(
const
DtNavInterfaceManager
& orig);
27
28
public
:
29
31
DtNavInterfaceManager
(
DtVrfObject
* vrfObject);
32
33
virtual
~
DtNavInterfaceManager
();
34
35
virtual
DtVrfObjectNavInterface
* primaryNavInterface();
36
39
virtual
bool
init
();
40
42
virtual
bool
postObjectInit();
43
44
virtual
void
tick();
45
47
virtual
bool
updateNavInterfaces(
bool
removingPrimaryArea =
false
);
48
50
virtual
void
setNavigationEnabled(
bool
);
51
bool
navigationEnabled()
const
;
52
53
protected
:
54
static
void
areaAboutToBeRemovedCallback(
DtNavArea
*,
void
* usr);
55
virtual
void
processAreaAboutToBeRemoved(
DtNavArea
*);
56
57
protected
:
58
DtVrfObject
*
myVrfObject
;
59
60
DtNavArea
*
myPrimaryNavArea
;
61
DtVrfObjectNavInterface
*
myPrimaryNavInterface
;
62
63
std::vector<DtNavArea*>
mySecondaryNavAreas
;
64
std::map<DtNavArea*, DtVrfObjectNavInterface*>
mySecondaryNavInterfaces
;
65
66
bool
myNavigationEnabled
;
67
68
DtString
myNavProfile
;
69
};
Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (
www.mak.com
)