VR-Forces 5.0.1 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) 2005 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: iffPSR.h,v $ $Revision: 1.3 $ $State: Exp $
7 *******************************************************************************/
8 
11 
12 #ifndef DtVrfIffPSR_H_
13 #define DtVrfIffPSR_H_
14 
16 #include "vrftasks/setIffRequest.h"
17 
22 
25 {
26 public:
27 
29  DtVrfIffPSR(DtLocalObject* vrfObject,
30  const DtString& rwName = DtString::nullString(),
31  DtReaderWriterRegistry* parentRegistry = 0);
32 
34  DtVrfIffPSR(const DtVrfIffPSR& orig,
35  const DtString& rwName = DtString::nullString(),
36  DtReaderWriterRegistry* parentRegistry = 0);
37 
39  virtual ~DtVrfIffPSR();
40 
42  DtVrfIffPSR& operator=(const DtVrfIffPSR& orig);
43 
46  const DtString& rwName = DtString::nullString(),
47  DtReaderWriterRegistry* parentRegistry = 0) const;
48 
51  virtual DtString type() const;
52 
53  static DtVrfProcessStateRepository* creator(const DtString& rwName,
54  DtLocalObject* vrfObject, DtReaderWriterRegistry* parentRegistry);
55 
56  DtSetIffRequest& iffInformation();
57  const DtSetIffRequest& iffInformation() const;
58  void setIffInformation(const DtSetIffRequest&);
59 
60 protected:
64 };
65 
67 {
68  return myIffInformation;
69 }
70 
72 {
73  return myIffInformation;
74 }
75 
77 {
78  myIffInformation = i;
80 }
81 
82 #endif
DtSetIffRequest myIffInformation
Use this as storage since the set contains all the information we want to checkpoint.
Definition: vrfIffPSR.h:63
DtSetIffRequest & iffInformation()
Definition: vrfIffPSR.h:66
Definition: readerWriterRegistry.h:39
virtual void setValueSpecified(bool specified, bool recurse=false)
The specified flags are used for optional values. On construction, all objects are marked as specifie...
void setIffInformation(const DtSetIffRequest &)
Definition: vrfIffPSR.h:76
class DtSetIffRequest
Definition: setIffRequest.h:57
#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
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:24

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)