VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
groundMovementChooserPSR.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2010 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: groundMoveChooserPSR.h,v $ $Revision: 1.1 $ $State: Exp $
7 ** Created: 7/27/10 MEM
8 *******************************************************************************/
9 
10 #pragma once
11 
14 
15 
17 #include <readerWriter/rwBoolean.h>
18 #include <readerWriter/rwString.h>
20 
21 
23 {
24 public:
25 
28  const DtString& rwName = DtString::nullString(),
29  DtReaderWriterRegistry* parentRegistry = 0);
30 
33  const DtString& rwName = DtString::nullString(),
34  DtReaderWriterRegistry* parentRegistry = 0);
35 
37  virtual ~DtGroundMovementChooserPSR();
38 
41 
44  const DtString& rwName = DtString::nullString(),
45  DtReaderWriterRegistry* parentRegistry = 0) const;
46 
48  virtual DtString type() const;
49 
52  virtual bool isSubTask() const;
53  virtual void setIsSubTask(bool value);
55 
58  virtual const DtString & currentMovementSystem() const;
59  virtual void setCurrentMovementSystem(const DtString & name);
61 
64  virtual const DtString & defaultMovementSystem() const;
65  virtual void setDefaultMovementSystem(const DtString & name);
67 
69  static DtVrfProcessStateRepository* creator (const DtString& rwName,
70  DtLocalObject* vrfObject, DtReaderWriterRegistry* parentRegistry);
71 
72 protected:
80 };
81 
82 
Description: Readable, Writable DtString Variable substitutions are done on this object when it is re...
Definition: rwString.h:20
Definition: readerWriterRegistry.h:39
DtRwString myCurrentMovementSystemName
Definition: groundMovementChooserPSR.h:78
#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
Definition: groundMovementChooserPSR.h:22
DtRwBoolean myAmSubTask
We need to keep track of if an incomming task is a subtask or not. If it is, then upon completion of ...
Definition: groundMovementChooserPSR.h:77
DtRwString myDefaultMovementSystemName
Definition: groundMovementChooserPSR.h:79
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
Description: Readable, Writable bool.
Definition: rwBoolean.h:26
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

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)