VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
flyToLocationTask.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2005 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 
10 #pragma once
11 
12 
13 #include "vrftasks/simTask.h"
14 #include "vrfutil/rwString.h"
15 #include "vrfutil/rwVector.h"
16 #include <vlpi/netStructs.h>
17 
18 
19 
21 {
22  DtNet64Vector myAimingPoint;
23  DtNetU8 myUseFixedPitch;
24  DtNetU8 myPadding1;
25  DtNetU16 myPadding2;
26 };
27 
35 
38 {
39 
40 public:
41 
44 
47  DtFlyToLocationTask(const DtString & writeName,
48  DtReaderWriterRegistry * parentRegistry = 0);
49 
51  DtFlyToLocationTask(const DtString & writeName, const DtFlyToLocationTask & orig,
52  DtReaderWriterRegistry * parentRegistry = 0);
53 
56 
57  virtual ~DtFlyToLocationTask();
58 
59  virtual const DtSimTaskMessageType& type() const;
60 
62  virtual DtSimTask * clone(const DtString & name, DtReaderWriterRegistry *
63  parentRegistry = 0) const;
64 
66  virtual DtString stringRep() const;
67 
70  virtual const DtVector & aimingPoint() const;
71  virtual void setAimingPoint(const DtVector & point);
72 
75  virtual int netRepSize() const;
76 
78  virtual bool setFromNet(const char* contentBuffer,
79  unsigned contentSize);
80 
81  virtual void setUseFixedPitch(bool);
82  virtual bool useFixedPitch() const;
83 
86  virtual bool setToNet();
87 
88  static DtSimTask * creator();
89 
90 protected:
91 
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)