VR-Forces 4.3.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
scriptedMovementTask.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2013 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
14 
15 #pragma once
16 
17 #include "vrftasks/simTask.h"
18 #include "vrfutil/rwString.h"
19 #include "vrfutil/rwReal.h"
20 #include "vrfutil/rwInt.h"
21 #include "vrfutil/rwBoolean.h"
23 
24 
29 {
30 
31 public:
32 
35 
38  DtScriptedMovementTask(const DtString & writeName,
39  DtReaderWriterRegistry * parentRegistry = 0);
40 
42  DtScriptedMovementTask(const DtString & writeName, const DtScriptedMovementTask & orig,
43  DtReaderWriterRegistry * parentRegistry = 0);
44 
47 
48  virtual ~DtScriptedMovementTask();
49 
51  virtual const DtSimTaskMessageType& type() const;
52 
54  virtual DtSimTask * clone(const DtString & name, DtReaderWriterRegistry *
55  parentRegistry = 0) const;
56 
58  virtual DtString stringRep() const;
59 
63  virtual const DtString & scriptedMovementFile() const;
64  virtual void setScriptedMovementFile(const DtString & cpName);
65 
66  virtual void setPhase(int);
67  virtual int phase() const;
68 
69  virtual void setMoveOutHeading(double);
70  virtual double moveOutHeading() const;
71 
72  virtual void setTargetPoint(const DtString&);
73  virtual const DtString& targetPoint() const;
74 
75  virtual void setClampType(int);
76  virtual int clampType() const;
77 
79  virtual void setCompletionRule(int);
80  virtual int completionRule() const;
81 
82  virtual void setFileConfiguration(const DtString&);
83  virtual const DtString& fileConfiguration() const;
84 
87  virtual int netRepSize() const;
88 
90  virtual bool setFromNet(const char* contentBuffer,
91  unsigned contentSize);
92 
95  virtual bool setToNet();
96 
97  static DtSimTask * creator();
98 
99 protected:
107 };

Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)