VR-Link API Documentation for HLA Evolved
tInteraction.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 *********************************************************************/
5 
6 
7 #ifndef tInteraction_H_
8 #define tInteraction_H_
9 
10 #if DtTENA
11 
12 #include <vlutil/vlString.h>
13 #include <vlpi/entityIdentifier.h>
14 #include <vlpi/entityType.h>
15 #include "globalObjDes.h"
16 #include <vlpi/simulationAddress.h>
17 #include "eventId.h"
18 
23 
25 
30 {
31 public:
33  DtInteraction();
34 
36  virtual ~DtInteraction();
37 
39  DtInteraction(const DtInteraction& orig);
40 
42  DtInteraction& operator=(const DtInteraction& orig);
43 
45  virtual const char* name() const = 0;
46 
48  virtual void printData() const;
49 
51  virtual void printDataToString(DtString& buff) const;
52 
54  virtual void printDataToStream(std::ostream& stream) const = 0;
55 
57  virtual void setMessageId(const DtGlobalObjectDesignator& id);
58 
61  virtual const DtString& interfaceToUse(DtExerciseConn* conn) const;
62 
64  virtual const DtGlobalObjectDesignator& messageId() const;
65 protected:
66  DtGlobalObjectDesignator myMessageIdentifier;
67 
68 };
69 
70 inline void DtInteraction::printData() const
71 {
72 }
73 
74 inline void DtInteraction::printDataToString(DtString& buff) const
75 {
76 }
77 
78 inline void DtInteraction::printDataToStream(std::ostream& stream) const
79 {
80 }
81 
82 
83 
84 
85 DT_DLL_VL std::ostream & operator << (std::ostream &str, const DtInteraction &inter);
86 
87 #endif
88 #endif
89 

Document ID: Generated on Wed Aug 14 15:35:11 EDT 2013 from SVN revision 130445
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)