VR-Forces 5.0.2 Developer's Guide
 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 DtNavArea;
16 
18 {
19 private:
25  DtNavInterfaceManager& operator=(const DtNavInterfaceManager& orig);
26 
27 public:
28 
31 
32  virtual ~DtNavInterfaceManager();
33 
34  DtVrfObjectNavInterface* primaryNavInterface();
35  const DtVrfObjectNavInterface* primaryNavInterface() const;
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:
59 
62 
63  std::vector<DtNavArea*> mySecondaryNavAreas;
64  std::map<DtNavArea*, DtVrfObjectNavInterface*> mySecondaryNavInterfaces;
65 
67 
70 };
A nav interface is a software component of an object that maintains the object&#39;s presence in the navi...
Definition: vrfObjectNavInterface.h:38
Definition: navInterfaceManager.h:17
bool myNavigationEnabled
Definition: navInterfaceManager.h:66
std::map< DtNavArea *, DtVrfObjectNavInterface * > mySecondaryNavInterfaces
Definition: navInterfaceManager.h:64
DtVrfObjectNavInterface * myPrimaryNavInterface
Definition: navInterfaceManager.h:61
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
This class contains all the data and logic for navigation within a specific area. Nav Data may be loa...
Definition: navArea.h:206
bool myNeedsPostObjectInit
Definition: navInterfaceManager.h:69
std::vector< DtNavArea * > mySecondaryNavAreas
Definition: navInterfaceManager.h:63
DtLocalObject * myVrfObject
Definition: navInterfaceManager.h:58
DT_DLL_DEBUGDRAWRENDERER void init(makVrv::DtDe &de)
Work function for the plugin initialization.
DtString myNavProfile
Definition: navInterfaceManager.h:68
DtNavArea * myPrimaryNavArea
Definition: navInterfaceManager.h:60
A locally simulated VRF object. Holds all internal and external data for the object, and provides access to both the current frame and next frame state data for the object. All current frame data is read-only, and next-frame data can be written to. No thread safety guarantees are made on this object during the simulation frame and it should only be accessed by the thread that is simulating the object.
Definition: localObject.h:86

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)