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
40  virtual ~DtNavigationPreferenceControllerPsr() override;
41 
44  const DtString& rwName = DtString::nullString(), DtReaderWriterRegistry* parentRegistry = 0) const override;
45 
47  virtual DtString type() const override;
48 
50  static DtVrfProcessStateRepository* creator(const DtString& name,
51  DtLocalObject* vrfObject, DtReaderWriterRegistry* parentRegistry);
52 
53  DtString selectedNavigationPreference();
54  void setSelectedNavigationPreference(const DtString& preference);
55 
57  DtPathCostEntryList& dynamicPathCosts();
58  const DtPathCostEntryList& dynamicPathCosts() const;
59 
60  void removeDynamicPathCosts();
61 
62 protected:
64 
67 
68 };
Stores the state data used by the DtNavigationPreferenceController component.
Definition: navigationPreferenceControllerPsr.h:17
DtRwString m_strSelectedNavigationPreference
Definition: navigationPreferenceControllerPsr.h:63
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:66
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 psrTypes.h.
const DtVrfProcessStateRepository & operator=(const DtVrfProcessStateRepository &orig)
A locally simulated VRF object.
Definition: localObject.h:98

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)