VR-Forces 4.2 Class Documentation
embarkTask.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 1999 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
11 #include "vrftasks/simTask.h"
12 #include <vlutil/vlNetTypes.h>
13 #include "vrfutil/rwString.h"
14 #include "vrfutil/rwVector.h"
15 #include "vrfutil/rwBoolean.h"
16 #include <vlpi/NetStructs.h>
17 
20 
22 {
24  DtNetU8 myLoadOverride;
25  DtNet64Vector myLoadOverridePosition;
26 };
27 
34 {
35 
36 public:
37 
39 
40  DtEmbarkTask();
41 
42 
45 
46  DtEmbarkTask(const DtString & writeName,
47  DtReaderWriterRegistry * parentRegistry = 0);
48 
49 
51 
52  DtEmbarkTask(const DtString & writeName, const
54  parentRegistry = 0);
55 
56 
58 
59  const DtEmbarkTask & operator=(const
60  DtEmbarkTask & orig);
61 
62 
63  virtual ~DtEmbarkTask();
64 
65 
67 
68  virtual const DtSimTaskMessageType& type() const;
69 
70 
72 
73  virtual DtSimTask * clone(const DtString & name, DtReaderWriterRegistry *
74  parentRegistry = 0) const;
75 
76 
78 
79  virtual DtString stringRep() const;
80 
81 
83 
84  virtual void setParentName(const DtString& parentName );
85 
86 
88 
89  virtual const DtString& parentName() const;
90 
91 
94 
95  virtual int netRepSize() const;
96 
97 
99 
100  virtual bool setFromNet(const char* contentBuffer,
101  unsigned contentSize);
102 
103 
106 
107  virtual bool setToNet();
108 
109 
110  static DtSimTask * creator();
111 
112 
113  virtual void setLoadOverride(bool b);
114  virtual bool loadOverride() const;
115 
116  virtual void setLoadOverridePosition(const DtVector&);
117  virtual const DtVector& loadOverridePosition() const;
118 
119 protected:
120 
124 };

Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)