VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
aerodromeLocalObjectFacade.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 
11 class DtLocalObject;
12 
20 {
21 public:
24 
27 
28  bool isUsable() const;
29 
30  virtual std::map<DtUUID, DtRunwayStateData> nextFrameRunways() const;
31  virtual const DtRunwayStateData& nextFrameRunway(const DtUUID&) const;
32  virtual DtRunwayStateData& nextFrameRunway(const DtUUID&);
33  virtual const DtRunwayStateData& nextFrameRunway(const DtString&) const;
34  virtual DtRunwayStateData& nextFrameRunway(const DtString&);
35  virtual DtRunwayStateData& nextFrameAddRunway(const DtString& fRunway, const DtString& rRunway);
36 
37  virtual bool nextFrameActive() const;
38  virtual void setNextFrameActive(bool);
39 
41  virtual std::vector<DtString> nextFrameRunwaysArchived() const;
42  virtual void setFromArchivedRunways(const std::vector<DtString>&);
43 
45  virtual DtString nextFrameAerodromeArchive() const;
46  virtual void setFromArchivedAerodrome(const DtString&);
47 
50  virtual void setNextFrameIntensity(const DtString& target, const DtString& group, int intensity);
51 
53  virtual void setNextFrameRunwayCondition(const DtString& runway, int condition);
54 
56  virtual void setNextFrameRunwayArrestorGear(const DtString& runway, bool up);
57 
59  virtual void setNextFrameRunwayActive(const DtString& runway, bool active);
60 
62  virtual void setNextFrameRunwayDamaged(const DtString& runway, bool b);
63 
64  virtual void setNextFameUndercarriageInspectorSystem(bool);
65  virtual bool nextFameUndercarriageInspectorSystem() const;
66 
67 protected:
68  virtual void setupDecorator() override;
69 
70  virtual DtLocalObject* localObject() const = 0;
71 };
72 
UUID is a unique ID wrapper class.
Definition: uuid.h:59
virtual DtLocalObject * localObject() const =0
DtLocalObjectFacade< DtAerodromeSimObjectFacadeInterface, DtAerodromeLocalObjectFacadeInterface > DtAerodromeLocalObjectFacade
Definition: aerodromeLocalObjectFacade.h:73
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
This DtAppearanceLocalObjectFacadeInterface class will provide API functionality for objects that hav...
Definition: appearanceLocalObjectFacade.h:15
This DtAerodromeLocalObjectFacadeInterface class will provide API functionality for aerodrome level c...
Definition: aerodromeLocalObjectFacade.h:18
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
Definition: aerodromeStateData.h:355

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)