VR-Forces 4.5 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
turnToHeadingTask.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 20015 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
14 
15 #pragma once
16 
18 #include "vrftasks/simTask.h"
19 #include "vrfutil/rwReal.h"
20 #include "vrfutil/rwInt.h"
21 
22 class DtString;
23 
26 
42 {
43 
44 public:
45 
48 
52  parentRegistry = 0);
53 
55  DtTurnToHeadingTask(const DtString & writeName, const DtTurnToHeadingTask &
56  orig, DtReaderWriterRegistry * parentRegistry = 0);
57 
60 
61  virtual ~DtTurnToHeadingTask();
62 
64  virtual const DtSimTaskMessageType& type() const;
65 
67  virtual DtSimTask * clone(const DtString & name, DtReaderWriterRegistry *
68  parentRegistry = 0) const;
69 
71  virtual DtString stringRep() const;
72 
73  virtual void setHeading(DtReal heading);
74  virtual DtReal heading() const;
75 
76  virtual int mode() const;
77  virtual void setMode(int);
78 
81  virtual int netRepSize() const;
82 
84  virtual bool setFromNet(const char* contentBuffer,
85  unsigned contentSize);
86 
89  virtual bool setToNet();
90 
91  static DtSimTask * creator();
92 
93 protected:
96 };

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)