VR-Forces 4.6 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 

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)