VR-Forces 4.3 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) 2005 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: turnAndMoveControllerPSR.h,v $ $Revision: 1.3 $ $State: Exp $
7 *******************************************************************************/
8 
9 #ifndef turnAndMoveControllerPSR_H_
10 #define turnAndMoveControllerPSR_H_
11 
13 #include "vrfutil/rwInt.h"
14 #include "vrfutil/rwString.h"
15 
16 //RW type definition.
17 const char DtTurnAndMoveControllerPSRType[] = "turn-and-move-process-state-repository";
18 
19 //DtTurnAndMoveControllerPSR is a process state repository which holds state variables for
20 //the DtTurnAndMoveController component.
21 //Process State Repositories hold state data for one or more components so that
22 //their internal state is preserved when a scenario is saved and reloaded.
24 {
25 public:
26  //Constructor
28  const DtString& rwName = DtString::nullString(),
29  DtReaderWriterRegistry* parentRegistry = 0);
30  //Copy constructor
32  const DtString& rwName = DtString::nullString(),
33  DtReaderWriterRegistry* parentRegistry = 0);
34  //Assignment Operator
36  //Destructor
38 
39  //Returns complete copy of this class using the copy constructor.
41  const DtString& rwName = DtString::nullString(),
42  DtReaderWriterRegistry* parentRegistry = 0) const;
43  //Returns "turn-and-move-process-state-repository"
44  virtual DtString type() const;
45 
46  //Static creator function for factory registration.
47  static DtVrfProcessStateRepository* creator(const DtString& rwName,
48  DtVrfObject* vrfObject, DtReaderWriterRegistry* parentRegistry = 0);
49 
50  virtual DtString destinationName() const;
51  virtual void setDestinationName(const DtString& newValue);
52 
53  virtual int subtaskId() const;
54  virtual void setSubtaskId(const int& newValue);
55 
56  virtual int taskState() const;
57  virtual void setTaskState(const int& newValue);
58 
59 protected:
63 };
64 #endif

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)