VR-Forces 4.5 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 #include <vrfutil/rwUUID.h>
19 
21 
24 {
25 public:
26 
28 
30 
31  DtRwEngagementInfo(const DtString& name,
32  DtReaderWriterRegistry* const parentRegistry = NULL);
34  DtReaderWriterRegistry* const parentRegistry = NULL);
35 
37  DtReaderWriterRegistry* const parentRegistry = NULL);
39 
41  virtual ~DtRwEngagementInfo();
42 
45 
48 
49  virtual void setTargetLocation(const DtVector& vector);
50  virtual DtVector targetLocation() const;
52 
55 
56 
57  virtual const DtUUID& target() const;
58 
60  virtual void setTarget(const DtUUID&);
62 
64 
65  virtual double originalDateAndTimeOfContact() const;
66  virtual void setOriginalDateAndTimeOfContact(double d);
68 
70 
71  virtual bool engagementComplete() const;
72  virtual void setEngagementComplete(bool complete);
74 
76 
77  virtual int numberKilled() const;
78  virtual void setNumberKilled(int num);
80 
82 
83  virtual int numberCaptured() const;
84  virtual void setNumberCaptured(int num);
86 
88  virtual DtRwEngagementInfo* clone() const;
89 
90  bool operator==(const DtRwEngagementInfo&) const;
91 
92 
93 protected:
94 
101 };
102 
103 namespace DtBufferSerialize
104 {
106  DT_DLL_vrfutil int getSize(const DtRwEngagementInfo& info);
107 
113  DT_DLL_vrfutil char *encode(const DtRwEngagementInfo& info, char *buffer);
114 
120  DT_DLL_vrfutil const char *decode(DtRwEngagementInfo& info, const char *buffer);
121 }

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)