VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
navigationPreferenceControllerPsr.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 
12 #include "vrfobjcore/simObject.h"
15 
18 {
19 
20 protected:
23 
24 public:
25  //constructor
27  const DtString& rwName = DtString::nullString(),
28  DtReaderWriterRegistry* parentRegistry = 0);
29 
30  //copy constructor
32  const DtString& rwName = DtString::nullString(),
33  DtReaderWriterRegistry* parentRegistry = 0);
34 
35  //assignment operator
38 
39  //Destructor
41 
44  const DtString& rwName = DtString::nullString(),
45  DtReaderWriterRegistry* parentRegistry = 0) const;
46 
48  virtual DtString type() const;
49 
51  static DtVrfProcessStateRepository* creator(const DtString& name,
52  DtLocalObject* vrfObject, DtReaderWriterRegistry* parentRegistry);
53 
54  DtString selectedNavigationPreference();
55  void setSelectedNavigationPreference(const DtString& preference);
56 
58  DtPathCostEntryList& dynamicPathCosts();
59  const DtPathCostEntryList& dynamicPathCosts() const;
60 
61  void removeDynamicPathCosts();
62 
63 protected:
65 
68 
69 };
Stores the state data used by the DtNavigationPreferenceController component.
Definition: navigationPreferenceControllerPsr.h:17
DtRwString m_strSelectedNavigationPreference
Definition: navigationPreferenceControllerPsr.h:64
Description: Readable, Writable DtString Variable substitutions are done on this object when it is re...
Definition: rwString.h:20
Definition: readerWriterRegistry.h:39
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
virtual DtVrfProcessStateRepository * clone(const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0) const =0
DtPathCostEntryList myDynamicPathCosts
DEPRECATED: use m_strSelectedNavigationPreference instead.
Definition: navigationPreferenceControllerPsr.h:67
Class DtVrfProcessStateRepository: Abstract base class for all process state repositories. Process state repositories represent (potentially) shared, savable information for one or more components functioning together to achieve some process or set of processes; such as aiming and firing a weapon; moving an object; or just waiting a specified amount of time.
Definition: vrfProcessStateRepository.h:45
virtual DtString type() const =0
Returns the string type of the repository, as defined in procSRTypes.h.
const DtVrfProcessStateRepository & operator=(const DtVrfProcessStateRepository &orig)
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 Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)