VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 <readerWriter/rwString.h>
14 #include "readerWriter/rwVector.h"
15 #include <readerWriter/rwInt.h>
16 #include <readerWriter/rwBoolean.h>
17 #include <vlpi/netStructs.h>
18 #include "vrfutil/rwUUID.h"
19 
26 {
27 
28 public:
29 
31 
32  DtEmbarkTask();
33 
34 
37 
38  DtEmbarkTask(const DtString & writeName,
39  DtReaderWriterRegistry * parentRegistry = 0);
40 
41 
43 
44  DtEmbarkTask(const DtString & writeName, const
46  parentRegistry = 0);
47 
48 
50 
51  const DtEmbarkTask & operator=(const
52  DtEmbarkTask & orig);
53 
54 
55  virtual ~DtEmbarkTask();
56 
57 
59 
60  virtual const DtSimTaskMessageType& type() const;
61 
62 
64 
65  virtual DtSimTask * clone(const DtString & name, DtReaderWriterRegistry *
66  parentRegistry = 0) const;
67 
68 
70 
71  virtual DtString stringRep() const;
72 
73 
76  virtual void setParent(const DtUUID&);
77 
78 
81  virtual const DtUUID& parent() const;
82 
83 
86 
87  virtual int netRepSize() const;
88 
89 
91 
92  virtual bool setFromNet(const char* contentBuffer,
93  unsigned contentSize);
94 
95 
98 
99  virtual bool setToNet();
100 
101 
102  static DtSimTask * creator();
103 
104 
105  virtual void setLoadOverride(bool b);
106  virtual bool loadOverride() const;
107 
108  virtual void setLoadOverridePosition(const DtVector&);
109  virtual const DtVector& loadOverridePosition() const;
110 
115  virtual void setEmbarkInSlot(int s);
116  virtual int embarkInSlot() const;
117 
118  virtual void setSlotName(const DtString&);
119  virtual const DtString& slotName() const;
120 
121  virtual void setSlotType(const DtString&);
122  virtual const DtString& slotType() const;
123 
124  virtual void setChooseAnyAvailableSlotIfTaken(bool);
125  virtual bool chooseAnyAvailableSlotIfTaken() const;
126 
127 protected:
135 };

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)