VR-Forces 4.1.1 Class Documentation
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"
24 
25 
30 {
31 
32 public:
33 
36 
39  DtScriptedMovementTask(const DtString & writeName,
40  DtReaderWriterRegistry * parentRegistry = 0);
41 
43  DtScriptedMovementTask(const DtString & writeName, const DtScriptedMovementTask & orig,
44  DtReaderWriterRegistry * parentRegistry = 0);
45 
48 
49  virtual ~DtScriptedMovementTask();
50 
52  virtual const DtSimTaskMessageType& type() const;
53 
55  virtual DtSimTask * clone(const DtString & name, DtReaderWriterRegistry *
56  parentRegistry = 0) const;
57 
59  virtual DtString stringRep() const;
60 
61  virtual const DtString & scriptedMovementFile() const;
62  virtual void setScriptedMovementFile(const DtString & cpName);
63 
64  virtual void setMoveOutHeading(double);
65  virtual double moveOutHeading() const;
66 
67  virtual void setTargetPoint(const DtString&);
68  virtual const DtString& targetPoint() const;
69 
70  virtual void setGroundClamp(bool);
71  virtual bool groundClamp() const;
72 
74  virtual void setCompletionRule(int);
75  virtual int completionRule() const;
76 
77  virtual void setFileConfiguration(const DtScriptedMovementFileConfiguration&);
78  virtual DtScriptedMovementFileConfiguration fileConfiguration() const;
79 
82  virtual int netRepSize() const;
83 
85  virtual bool setFromNet(const char* contentBuffer,
86  unsigned contentSize);
87 
90  virtual bool setToNet();
91 
92  static DtSimTask * creator();
93 
94 protected:
101 };

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)