VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
aerodromeObjectStateRepository.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2023 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
6 #pragma once
7 
10 
13 
15 {
16 public:
18  const DtString& rwName = DtString::nullString(), DtReaderWriterRegistry* parentRegistry = 0);
19 
20 private:
25 
26 public:
27 
29 
31  virtual DtString type() const override;
32 
34  virtual const int objectStateRepositorySubType() const;
35 
37  virtual bool init() override;
38 
40  virtual void restoreFromLegacyRWData() override;
41  virtual void setToLegacyRWData() override;
42 
43  virtual void createLegacyRWData() override;
44 
46  static DtVrfObjectStateRepository * creator(const DtString& name,
47  DtLocalObject* simObject, DtReaderWriterRegistry * parentRegistry);
48 
49 protected:
51 };
static DtVrfObjectStateRepository * creator(const DtString &name, DtLocalObject *simObject, DtReaderWriterRegistry *parentRegistry)
virtual bool init() override
Our 'virtual' constructor. Calls all the create<>() methods.
virtual void createLegacyRWData() override
Creates the legacy data used for any pre/put operation. Override this to create your legacy data atta...
Definition: readerWriterRegistry.h:39
Description: This repository is an internal repository accessible only by local objects. It holds all information that is common to all the forms of all entity/aggregate/control objects within VR-Forces.
Definition: vrfObjectStateRepository.h:91
virtual DtString type() const override
returns DtSimObjectStateRepositoryType
virtual const int objectStateRepositorySubType() const override
Returns DtSimObjectStateRepositorySubTypeVrfObject.
DtAerodromeLocalObjectFacade myAerodromeLocalObjectFacade
Definition: aerodromeObjectStateRepository.h:50
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
Contains the DtAerodromeObjectStateRepository class declaration.
Definition: aerodromeObjectStateRepository.h:14
virtual void restoreFromLegacyRWData() override
const DtVrfObjectStateRepository & operator=(const DtVrfObjectStateRepository &orig)
Assignment Operator.
virtual void setToLegacyRWData() override
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)