VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
simInterfaceMessage.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2003 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: ifaceMsg.h,v $ $Revision: 1.18 $ $State: Exp $
7 *******************************************************************************/
8 #ifndef simInterfaceMessage_H_
9 #define simInterfaceMessage_H_
10 
14 
17 
18 
19 #include "vrfmsgs/simMessage.h"
20 #include <vlutil/vlString.h>
21 #include <vl/hostStructs.h>
22 
24 
31 #include "vrfmsgs/vrfmsgsDefines.h"
33 {
34 
35 public:
36 
39 
42 
45 
46 public:
48  virtual ~DtSimInterfaceMessage();
49 
51  virtual int messageType() const;
52 
53  virtual DtSimInterfaceContent * interfaceContent() const;
54 
73  virtual void setInterfaceContent(const DtSimInterfaceContent* interfaceContent);
74 
75  virtual DtSimMessage * clone() const;
76 
77  virtual void setRecipient(const DtSimulationAddress & recipient);
78  virtual const DtSimulationAddress & recipient() const;
79 
80  virtual void setSender(const DtSimulationAddress & sender);
81  virtual const DtSimulationAddress & sender()const;
82 
84  virtual void printDataToString(DtString& str);
85 
86  static DtSimInterfaceMessage * createMessage(const DtSimulationAddress& sender,
87  const DtSimulationAddress& recipient, const DtSimInterfaceContent& content);
88 
89 protected:
91  DtSimulationAddress myRecipient;
92  DtSimulationAddress mySender;
94 
95 };
96 
97 #endif
98 
99 
100 
#define DT_DLL_vrfmsgs
This file is used to determine how to build.
Definition: vrfmsgsDefines.h:28
DtSimulationAddress myRecipient
Definition: simInterfaceMessage.h:91
DtSimInterfaceMessage is used to send a message to the front end or the back end. ...
Definition: simInterfaceMessage.h:32
DtSimInterfaceContent * myInterfaceContent
Definition: simInterfaceMessage.h:90
virtual DtSimMessage * clone() const =0
File: simMsg.h.
Definition: simMessage.h:35
bool myOwnContent
Definition: simInterfaceMessage.h:93
virtual void printDataToString(DtString &str)
print the message
DtSimulationAddress mySender
Definition: simInterfaceMessage.h:92
virtual int messageType() const =0
A pure virtual function that derived classes define to return the appropriate message type category (...
Definition: simInterfaceContent.h:45
const DtSimMessage & operator=(const DtSimMessage &orig)
assignment operator

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)