VR-Forces 4.5 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
turnAndMoveControllerPSR.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2015 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
6 #pragma once
7 
9 #include "vrfutil/rwInt.h"
10 #include "vrfutil/rwString.h"
11 #include "vrfutil/rwUUID.h"
12 
13 //RW type definition.
14 const char DtTurnAndMoveControllerPSRType[] = "turn-and-move-process-state-repository";
15 
16 //DtTurnAndMoveControllerPSR is a process state repository which holds state variables for
17 //the DtTurnAndMoveController component.
18 //Process State Repositories hold state data for one or more components so that
19 //their internal state is preserved when a scenario is saved and reloaded.
21 {
22 public:
23  //Constructor
25  const DtString& rwName = DtString::nullString(),
26  DtReaderWriterRegistry* parentRegistry = 0);
27  //Copy constructor
29  const DtString& rwName = DtString::nullString(),
30  DtReaderWriterRegistry* parentRegistry = 0);
31  //Assignment Operator
33  //Destructor
35 
36  //Returns complete copy of this class using the copy constructor.
38  const DtString& rwName = DtString::nullString(),
39  DtReaderWriterRegistry* parentRegistry = 0) const;
40  //Returns "turn-and-move-process-state-repository"
41  virtual DtString type() const;
42 
43  //Static creator function for factory registration.
44  static DtVrfProcessStateRepository* creator(const DtString& rwName,
45  DtVrfObject* vrfObject, DtReaderWriterRegistry* parentRegistry = 0);
46 
47  virtual DtString destinationName() const;
48  virtual void setDestinationName(const DtString& newValue);
49 
50  virtual int subtaskId() const;
51  virtual void setSubtaskId(const int& newValue);
52 
53  virtual int taskState() const;
54  virtual void setTaskState(const int& newValue);
55 
56 protected:
60 };

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)