VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties 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 <readerWriter/rwString.h>
15 #include <readerWriter/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 
UUID is a unique ID wrapper class.
Definition: rwUUID.h:222
virtual bool setFromNet(const char *contentBuffer, unsigned contentSize)=0
virtual bool setToNet()=0
virtual const DtSimReportMessageType & type() const =0
What kind of report am I? Returns a character string representing the kind of report.
virtual DtSimReport * clone(const DtString &name, DtReaderWriterRegistry *parentRegistry=0) const =0
Make a copy of this report.
const DtSimReport & operator=(const DtSimReport &orig)
assignment operator; same as copy constructor
DtEngagementReport; subclass of DtSimReport.
Definition: engagementReport.h:26
Definition: vrfObjectMessageTypeTemplate.h:24
Definition: readerWriterRegistry.h:39
DtRwEngagementInfoList myEngagements
Definition: engagementReport.h:104
Description: Readable, Writable uuid string.
Definition: rwUUID.h:419
virtual int netRepSize() const =0
DtRwReal myDateAndTime
Definition: engagementReport.h:103
virtual DtString stringRep() const
#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
DtRwUUID myReporter
Definition: engagementReport.h:101
DtRwReal myTimeOfReport
Definition: engagementReport.h:102
A list of DtRwEngagementInfo.
Definition: rwEngagementInfoList.h:19
DtSimReport is an abstract base class from which real reports can derive.
Definition: simReport.h:26

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)