VR-Forces 4.3 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) 2002 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
14 
15 #pragma once
16 
17 
18 #include "vrftasks/simTask.h"
19 #include "vrfutil/rwReal.h"
20 #include <vlutil/vlNetTypes.h>
21 
22 class DtString;
23 
26 
28 {
29  DtNetFloat64 myHeading;
30 };
31 
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 
78  virtual int netRepSize() const;
79 
81  virtual bool setFromNet(const char* contentBuffer,
82  unsigned contentSize);
83 
86  virtual bool setToNet();
87 
88  static DtSimTask * creator();
89 
90 protected:
91 
93 
94 };

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)