VR-Forces 4.3.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
rwEngagementInfo.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
11 #include "vrfutil/readerWriter.h"
12 #include "vrfutil/rwString.h"
13 #include "vrfutil/rwVector.h"
14 #include "vrfutil/rwBoolean.h"
15 #include "vrfutil/rwInt.h"
16 #include "vrfutil/rwReal.h"
17 #include "vrfutil/vrfutilDefines.h"
18 
20 
23 {
24 public:
25 
27 
29 
30  DtRwEngagementInfo(const DtString& name,
31  DtReaderWriterRegistry* const parentRegistry = NULL);
32  DtRwEngagementInfo(const DtSymbolString& name,
33  DtReaderWriterRegistry* const parentRegistry = NULL);
34 
36  DtReaderWriterRegistry* const parentRegistry = NULL);
38 
40  virtual ~DtRwEngagementInfo();
41 
44 
47 
48  virtual void setTargetLocation(const DtVector& vector);
49  virtual DtVector targetLocation() const;
51 
54 
55  virtual DtString targetName() const;
56  virtual void setTargetName(const DtString& name);
58 
60 
61  virtual double originalDateAndTimeOfContact() const;
62  virtual void setOriginalDateAndTimeOfContact(double d);
64 
66 
67  virtual bool engagementComplete() const;
68  virtual void setEngagementComplete(bool complete);
70 
72 
73  virtual int numberKilled() const;
74  virtual void setNumberKilled(int num);
76 
78 
79  virtual int numberCaptured() const;
80  virtual void setNumberCaptured(int num);
82 
84  virtual DtRwEngagementInfo* clone() const;
85 
86  bool operator==(const DtRwEngagementInfo&) const;
87 
88 
89 protected:
90 
97 };
98 
99 namespace DtBufferSerialize
100 {
102  DT_DLL_vrfutil int getSize(const DtRwEngagementInfo& info);
103 
109  DT_DLL_vrfutil char *encode(const DtRwEngagementInfo& info, char *buffer);
110 
116  DT_DLL_vrfutil const char *decode(DtRwEngagementInfo& info, const char *buffer);
117 }

Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)