VR-Link API Documentation for HLA 1516
hActRespInter.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 hActRespInter_H_
8 #define hActRespInter_H_
9 
10 #if DtHLA
11 
12 #include "hInterWData.h"
13 #include "hostStructs.h"
14 #include <matrix/vlMath.h>
15 
16 
20 
23 
24 
26 typedef void (*DtActionResponseInteractionCb)
27  (DtActionResponseInteraction* inter, void* usr);
28 
35 
37 {
38 public:
39 
42 
44  virtual ~DtActionResponseInteraction();
45 
48 
51  const DtActionResponseInteraction& orig);
52 
54  virtual void printData() const;
55 
57  virtual void printDataToStream(std::ostream& stream) const;
58 
60  virtual void setSenderId(const DtEntityIdentifier& id);
61  virtual const DtEntityIdentifier& senderId() const;
62 
64  virtual void setReceiverId(const DtEntityIdentifier& id);
65  virtual const DtEntityIdentifier& receiverId() const;
66 
68  virtual void setRequestId(DtU32 id);
69  virtual DtU32 requestId() const;
70 
72  virtual void setRequestStatus(DtRequestStatus rStatus);
73  virtual DtRequestStatus requestStatus() const;
74 
76  virtual const char* name() const;
77 
78 public:
79 
82  static DtInteraction* create();
83 
86  static void addCallback(DtExerciseConn* conn,
87  DtActionResponseInteractionCb cb, void* usr,
88  DtDDMRegionSP region = DtDDMRegionSP());
89  static void removeCallback(DtExerciseConn* conn,
90  DtActionResponseInteractionCb cb, void* usr, DtDDMRegionSP region =
91  DtDDMRegionSP());
92 
93 protected:
94 
99 };
100 
101 #endif
102 #endif
103 

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)