VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
cloudLayerStateRepository.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2018 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 #pragma once
12 
16 
20 {
21 private:
24 
27 public:
30  const DtString& rwName = DtString::nullString(), DtReaderWriterRegistry* parentRegistry = 0);
31 
33  virtual ~DtCloudLayerStateRepository();
34 
35  static DtVrfObjectStateRepository* creator(const DtString& name,
36  DtLocalObject* vrfObject, DtReaderWriterRegistry* parentRegistry);
37 
38  virtual DtString type() const;
39 
40  virtual bool init();
41 
42 protected:
43  virtual void setToLegacyRWData();
44  virtual void restoreFromLegacyRWData();
45  virtual void createLegacyRWData();
46 
47 private:
50 };
51 
static DtVrfObjectStateRepository * creator(const DtString &name, DtLocalObject *vrfObject, DtReaderWriterRegistry *parentRegistry)
const DtVrfOverlayObjectStateRepository & operator=(const DtVrfOverlayObjectStateRepository &orig)
Assignment Operator.
Definition: readerWriterRegistry.h:39
This repository holds all information that is common to all the forms of all cloud layers...
Definition: cloudLayerStateRepository.h:19
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:90
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
Contains the enums for cloud layers.
virtual bool init()
Our 'virtual' constructor. Calls all the create<>() methods.
virtual DtString type() const
returns DtSimObjectStateRepositoryType
virtual void createLegacyRWData()
Creates the legacy data used for any pre/put operation. Override this to create your legacy data atta...
Definition: vrfOverlayObjectStateRepository.h:30
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 Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)