VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
setConvoyFollowTarget.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2010 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 #pragma once
12 
13 
15 #include <readerWriter/rwString.h>
16 #include <readerWriter/rwReal.h>
17 #include "vlpi/netStructs.h"
19 #include "vrfutil/rwUUID.h"
20 
26 {
27 
28 public:
29 
32 
35  DtSetConvoyFollowTarget(const DtString & writeName,
36  DtReaderWriterRegistry * parentRegistry = 0);
37 
40  orig, DtReaderWriterRegistry * parentRegistry = 0);
41 
44 
45  virtual ~DtSetConvoyFollowTarget();
46 
48  virtual const DtSetMessageType& type() const;
49 
51  virtual DtSetDataRequest * clone(const DtString & name,
52  DtReaderWriterRegistry * parentRegistry = 0) const;
53 
55  virtual DtString stringRep() const;
56 
58 
59  virtual const DtUUID & followTarget() const;
61 
63  virtual void setFollowTarget(const DtUUID &);
65 
67 
68  virtual const double distanceToFollow() const;
69  virtual void setDistanceToFollow(const double dist);
70  //}@
71 
72  virtual const bool useCatchUpSpeed() const;
73  virtual void setUseCatchUpSpeed(const bool useCatchUpSpeed);
74 
77  virtual int netRepSize() const;
78 
80  virtual bool setFromNet(const char* contentBuffer,
81  unsigned contentSize);
82 
85  virtual bool setToNet();
86 
87  static DtSetDataRequest * creator();
88 
89 protected:
90 
94 };
95 
96 
UUID is a unique ID wrapper class.
Definition: rwUUID.h:222
virtual bool setToNet()
Sets netRep buffer to the contents of this set request.
Definition: readerWriterRegistry.h:39
virtual int netRepSize() const
Description: Readable, Writable uuid string.
Definition: rwUUID.h:419
DtRwBoolean myUseCatchUpSpeed
Definition: setConvoyFollowTarget.h:93
DtSetDataRequest is an abstract base class from which real setDataRequests can derive.
Definition: setDataRequest.h:40
DtRwUUID myFollowTarget
Definition: setConvoyFollowTarget.h:91
virtual const DtSetMessageType & type() const =0
What kind of setDataRequest am I? (from radioMsgTypes.h).
virtual DtSetDataRequest * clone(const DtString &name, DtReaderWriterRegistry *parentRegistry=0) const =0
Make a copy of this request.
const DtSetDataRequest & operator=(const DtSetDataRequest &orig)
assignment operator; same as copy costructor.
virtual bool setFromNet(const char *contentBuffer, unsigned contentSize)
Sets the contents of this set request based on the network buffer.
Define constants for types of tasks, sets, admin messages, reports, and sim commands (all sent via ra...
#define DT_DLL_vrftasks
This file is used to determine how to build.
Definition: vrftasksDefines.h:26
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
virtual DtString stringRep() const =0
Get a readable string representation of this setDataRequest.
Description: Readable, Writable bool.
Definition: rwBoolean.h:26
Set data request for switching out one system for another for the entity.
Definition: setConvoyFollowTarget.h:25
DtRwReal myFollowDistance
Definition: setConvoyFollowTarget.h:92

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)