VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
vrfSimulatedSimObjectFacade.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 
10 #include <vrfutil/echelonId.h>
11 #include <map>
12 
13 class DtRwProperties;
14 
15 #define CHECK_IS_VALID(Method) if (!isUsable()) throw DtUnimplementedMethod("The " #Method " is not applicable for the given object.");
16 
28 {
29 public:
33 
35  bool isUsable() const;
36 
38  int sessionId() const;
39 
41  bool activated() const;
42 
44  bool assumeUnknownIsHostile() const;
45 
47  bool independentlyTasked() const;
48 
50  bool underFire() const;
51 
53  bool isTasked() const;
54 
56  const DtString& extendedData(const DtString&) const;
57 
59  std::map<DtString, DtString> extendedDataMap() const;
60 
62  DtString extendedLabel(int index) const;
63 
65  std::map<int, DtString> extendedLabels() const;
66 
68  DtString label() const;
69 
71  bool invulnerable() const;
72 
74  bool invisible() const;
75 
77  DtEchelonId echelonId() const;
78 
80  bool sensorsKilled() const;
81 
83  bool occupantsHidden() const;
84 
86  bool hasPlan() const;
87 
89  bool executingPlan() const;
90 
92  const DtRwProperties& stateProperties() const;
93 
96  const DtRwProperties& parameterProperties() const;
97 
99  bool undetectable() const;
100 
102  DtString activity() const;
103 
105  DtString engagementRules() const;
106 
108  bool invisibleSetByUser() const;
109 
111  bool isVrfSimulated() const;
112 
114  DtString overlay() const;
115 
117  bool fuelLevelsFrozen() const;
118 
120  bool munitionLevelsFrozen() const;
121 
123  bool isSubordinateOfForceLevel() const;
124 
126  bool hasTarget() const;
127 
129  bool blockParachute() const;
130 
132  bool onTerrainSurface() const;
133 
134 protected:
136  virtual DtSimObjectReference simObject() const = 0;
137  virtual void setupDecorator();
138 };
139 
The DtSimObjectReference is a shared pointer that can be used amongst many object for access to the u...
Definition: simObjectReference.h:26
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
Definition: echelonId.h:13
A list of properties. A DtPropertyInterface object that is a specialized version of DtRwVariableBindi...
Definition: rwProperties.h:126
This DtVrfSimulatedSimObjectFacadeInterface class will provide accessors for data that is available t...
Definition: vrfSimulatedSimObjectFacade.h:27

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)