VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
engagementReport.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 #pragma once
12 
13 #include "vrftasks/simReport.h"
14 #include "vrfutil/rwString.h"
15 #include "vrfutil/rwReal.h"
17 #include <vlutil/vlTime.h>
18 #include <vrfutil/rwUUID.h>
19 
27 {
28 public:
29  DtEngagementReport( const DtString& rwName,
30  DtReaderWriterRegistry* parentRegistry = 0);
31 
32  DtEngagementReport( const DtString& rwName, const DtEngagementReport& orig,
33  DtReaderWriterRegistry* parentRegistry = 0);
34 
35  virtual ~DtEngagementReport();
36 
37  const DtEngagementReport & operator=(const DtEngagementReport & orig);
38 
39 private:
42 
43 public:
46  virtual const DtSimReportMessageType& type() const;
47 
49  virtual DtSimReport * clone(
50  const DtString& name,
51  DtReaderWriterRegistry* parentRegistry = 0) const;
52 
59  virtual void setReporter(const DtUUID&);
60 
62  virtual const DtUUID& reporter() const;
64 
67  virtual void setSimTimeOfReport(DtTime t);
68  virtual DtTime simTimeOfReport() const;
70 
74  virtual void setDateAndTimeOfReport(double utcTime);
75  virtual double dateAndTimeOfReport() const;
77 
80  virtual void setEngagements(const DtRwEngagementInfoList& engList);
81  virtual const DtRwEngagementInfoList& engagements() const;
83 
85  virtual int netRepSize() const;
86 
88  virtual bool setFromNet(const char* networkBuffer,
89  unsigned contentSize);
90 
92  virtual bool setToNet();
93 
95  static DtSimReport* creator();
96 
97  virtual DtString stringRep() const;
98 
99 protected:
100 
105 };
106 

Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)