VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 
14 
15 class DtVrfObject;
16 class DtNavArea;
17 
19 {
20 private:
26  DtNavInterfaceManager& operator=(const DtNavInterfaceManager& orig);
27 
28 public:
29 
32 
33  virtual ~DtNavInterfaceManager();
34 
35  DtVrfObjectNavInterface* primaryNavInterface();
36  const DtVrfObjectNavInterface* primaryNavInterface() const;
37 
40  virtual bool init();
41 
43  virtual bool postObjectInit();
44 
45  virtual void tick();
46 
48  virtual bool updateNavInterfaces(bool removingPrimaryArea = false);
49 
51  virtual void setNavigationEnabled(bool);
52  bool navigationEnabled() const;
53 
54 protected:
55  static void areaAboutToBeRemovedCallback(DtNavArea*, void* usr);
56  virtual void processAreaAboutToBeRemoved(DtNavArea*);
57 
58 protected:
60 
63 
64  std::vector<DtNavArea*> mySecondaryNavAreas;
65  std::map<DtNavArea*, DtVrfObjectNavInterface*> mySecondaryNavInterfaces;
66 
68 
70 };
Definition: vrfObjectNavInterface.h:18
DtVrfObject is used to represent any type of simulated object (entities, aggregate, control objects) in a VR-Forces application.
Definition: vrfObject.h:215
Definition: navInterfaceManager.h:18
bool myNavigationEnabled
Definition: navInterfaceManager.h:67
std::map< DtNavArea *, DtVrfObjectNavInterface * > mySecondaryNavInterfaces
Definition: navInterfaceManager.h:65
DtVrfObjectNavInterface * myPrimaryNavInterface
Definition: navInterfaceManager.h:62
DtSharedVrfObjectReference class will allocate an empty DtVrfObjectReference if one is not assigned s...
Definition: vrfObjectReference.h:102
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
Contains all the data and logic for navigation within a specific area.
Definition: navArea.h:179
std::vector< DtNavArea * > mySecondaryNavAreas
Definition: navInterfaceManager.h:64
DtSharedVrfObjectReference myVrfObject
Definition: navInterfaceManager.h:59
DT_DLL_DEBUGDRAWRENDERER void init(makVrv::DtDe &de)
Work function for the plugin initialization.
DtString myNavProfile
Definition: navInterfaceManager.h:69
DtNavArea * myPrimaryNavArea
Definition: navInterfaceManager.h:61

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)