VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
vrfIffPSR.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2022 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
12 #include "vrftasks/setIffRequest.h"
14 
19 
22 {
23 public:
24 
26  DtVrfIffPSR(DtLocalObject* vrfObject,
27  const DtString& rwName = DtString::nullString(),
28  DtReaderWriterRegistry* parentRegistry = 0);
29 
31  DtVrfIffPSR(const DtVrfIffPSR& orig,
32  const DtString& rwName = DtString::nullString(),
33  DtReaderWriterRegistry* parentRegistry = 0);
34 
36  virtual ~DtVrfIffPSR();
37 
39  DtVrfIffPSR& operator=(const DtVrfIffPSR& orig);
40 
43  const DtString& rwName = DtString::nullString(),
44  DtReaderWriterRegistry* parentRegistry = 0) const;
45 
48  virtual DtString type() const;
49 
50  static DtVrfProcessStateRepository* creator(const DtString& rwName,
51  DtLocalObject* vrfObject, DtReaderWriterRegistry* parentRegistry);
52 
53  DtSetIff2Request& iffInformation();
54  const DtSetIff2Request& iffInformation() const;
55  void setIffInformation(const DtSetIff2Request&);
56 
57  virtual void postGetSelf();
58 
59 protected:
64 };
65 
67 {
68  return myIffInformation;
69 }
70 
72 {
73  return myIffInformation;
74 }
75 
77 {
78  myIffInformation = i;
80 }
void setIffInformation(const DtSetIff2Request &)
Definition: vrfIffPSR.h:76
DtSetIff2Request & iffInformation()
Definition: vrfIffPSR.h:66
virtual void postGetSelf()
Called after either version of getSelf (mtl or environment). Default is no-op.
Definition: readerWriterRegistry.h:39
DtSetIff2Request myIffInformation
Use this as storage since the set contains all the information we want to checkpoint.
Definition: vrfIffPSR.h:62
virtual void setValueSpecified(bool specified, bool recurse=false)
The specified flags are used for optional values. On construction, all objects are marked as specifie...
class DtSetIff2Request
Definition: setIff2Request.h:20
class DtSetIffRequest
Definition: setIffRequest.h:52
#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
DtSetIffRequest myDeprecatedInformation
Definition: vrfIffPSR.h:63
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 procSRTypes.h.
const DtVrfProcessStateRepository & operator=(const DtVrfProcessStateRepository &orig)
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
class DtVrfIffPSR:
Definition: vrfIffPSR.h:21

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)