VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
reportMessage.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 1999 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 #pragma once
9 
11 #include "vrftasks/simReport.h"
12 
23 #include "vrfmsgs/vrfmsgsDefines.h"
25 {
26 
27 public:
28 
31 
32  DtReportMessage(const DtReportMessage & orig);
33 
34 protected:
36 
37 public:
38 
40  virtual ~DtReportMessage();
41 
43  virtual DtSimReport * report() const;
44 
58  virtual void setReport(DtSimReport * report);
59 
61  virtual int contentCategoryType() const;
62 
64  virtual const DtSimReportMessageType& contentType() const;
65 
67  virtual DtSimMessage * clone() const;
68 
72  virtual int netRepSize() const;
73 
76  virtual bool setFromNet(const char* networkBuffer,
77  unsigned contentSize);
78 
81  virtual bool setToNet();
82 
83  virtual void printDataToString(DtString& str);
84 
85  static DtVrfObjectMessage* creator();
86 
87 protected:
90 };
91 
#define DT_DLL_vrfmsgs
This file is used to determine how to build.
Definition: vrfmsgsDefines.h:28
A DtReportMessage is a DtVrfObjectMessage with a pointer to a report.
Definition: reportMessage.h:24
Definition: vrfObjectMessageTypeTemplate.h:24
virtual bool setToNet()
Fill in our network representation.
virtual DtSimMessage * clone() const =0
bool myOwnReport
Definition: reportMessage.h:89
File: simMsg.h.
Definition: simMessage.h:35
virtual bool setFromNet(const char *networkBuffer, unsigned contentSize)
Fills in the message from the network buffer.
const DtVrfObjectMessage & operator=(const DtVrfObjectMessage &orig)
assignment operator: shallow; assigns values only.
DtSimReport * myReport
Definition: reportMessage.h:88
virtual int netRepSize() const
Returns the size of the simulation network representation of this message.
The base class for all messages to/from a specific DtVrfObject.
Definition: vrfObjectMessage.h:30
virtual int contentCategoryType() const =0
virtual void printDataToString(DtString &str)
Print message.
DtSimReport is an abstract base class from which real reports can derive.
Definition: simReport.h:26

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)