VR-Forces 5.0.2 Developer's Guide
 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 #include "vrfmsgs/vrfmsgsDefines.h"
13 
29 {
30 
31 public:
32 
35 
36  DtReportMessage(const DtReportMessage & orig);
37 
38 protected:
40 
41 public:
42 
44  virtual ~DtReportMessage();
45 
47  virtual DtSimReport * report() const;
48 
62  virtual void setReport(DtSimReport * report);
63 
65  virtual int contentCategoryType() const;
66 
68  virtual const DtSimReportMessageType& contentType() const;
69 
71  virtual DtSimMessage * clone() const;
72 
76  virtual int netRepSize() const;
77 
80  virtual bool setFromNet(const char* networkBuffer,
81  unsigned contentSize);
82 
85  virtual bool setToNet();
86 
87  virtual void printDataToString(DtString& str);
88 
89  static DtVrfObjectMessage* creator();
90 
91 protected:
94 };
95 
#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. The type of the reportMsg is ju...
Definition: reportMessage.h:28
Definition: vrfObjectMessageTypeTemplate.h:24
virtual bool setToNet()
Fill in our network representation.
virtual DtSimMessage * clone() const =0
bool myOwnReport
Definition: reportMessage.h:93
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:92
virtual int netRepSize() const
Returns the size of the simulation network representation of this message. This size includes any tas...
The base class for all messages to/from a specific DtVrfObject. Various subclasses of this class will...
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. It manages the read/write c...
Definition: simReport.h:25

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)