VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
navigationLocalObjectFacade.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2020 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
6 #pragma once
7 
9 
12 
16 {
17 public:
20 
23 
24  bool isUsable() const;
25 
29  const DtVrfObjectNavInterface* navInterface() const;
30  DtVrfObjectNavInterface* navInterface();
31  bool navigationEnabled() const;
32 
35  void setNavigationEnabled(bool);
36 
37 protected:
38  virtual DtLocalObject* localObject() const = 0;
39  virtual void setupDecorator();
40 
41 protected:
43 };
44 
48 {
49 public:
52 
53  virtual DtLocalObject* localObject() const override { return myLocalObject; };
54 
56 
58 };
A nav interface is a software component of an object that maintains the object's presence in the navi...
Definition: vrfObjectNavInterface.h:38
Thie DtNavigationLocalObjectFacadeInterface class is a wrapper around the DtNavigationLocalObjectDeco...
Definition: navigationLocalObjectFacade.h:15
bool isUsable() const
Definition: navigationLocalObjectFacade.h:57
This is a simple base class that will keep track of the local object reference and provide a base lev...
Definition: localObjectFacadeBase.h:15
DtLocalObject * myLocalObject
Definition: localObjectFacadeBase.h:27
DtNavigationLocalObjectDecorator * myNavigationLocalDecorator
Definition: navigationLocalObjectFacade.h:42
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
This class will contain logic to update the bounding volume based on posture when the logic ticks...
Definition: navigationDecorator.h:18
virtual void setupDecorator()
Called after setSimObjectReference, will set up any logic needed. Default is a no-op.
Definition: navigationLocalObjectFacade.h:45
virtual void setupDecorator() override
Called after setSimObjectReference, will set up any logic needed. Default is a no-op.
Definition: navigationLocalObjectFacade.h:55
virtual DtLocalObject * localObject() const override
Definition: navigationLocalObjectFacade.h:53
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 Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)