VR-Link API Documentation for HLA 1516
simanPdu.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 *********************************************************************/
5 
6 
9 
10 #ifndef DtSimanPdu_H_
11 #define DtSimanPdu_H_
12 
13 #if DtDIS
14 
15 #include "pdu.h"
16 #include "packets/simanP.h"
17 #include "hostStructs.h"
18 #include "interaction.h"
19 
23 class DT_DLL_VL DtSimanPdu : public DtInteraction
24 {
25  public:
26 
28  DtSimanPdu& operator=(const DtSimanPdu& orig)
29  {
30  this->DtPdu::operator=(orig);
31  return *this;
32  }
33 
34 /****************** INSPECTOR FUNCTIONS *******************/
35 
37  virtual const DtEntityIdentifier &senderId() const;
38 
40  virtual const DtEntityIdentifier &receiverId() const;
41 
42 /****************** MUTATOR FUNCTIONS *******************/
44  virtual void setSenderId(const DtEntityIdentifier &id);
45 
47  virtual void setReceiverId(const DtEntityIdentifier &id);
48 
50  virtual void printData() const;
51 
53  virtual void printDataToStream(std::ostream& stream) const;
54 
55  protected:
56  // Hold native value when retrieved from PDU net buffer
57  mutable DtEntityIdentifier mySenderId;
58  mutable DtEntityIdentifier myReceiverId;
59 };
60 
61 #endif
62 #endif
63 
64 
65 

Document ID: Generated on Wed Oct 23 22:25:48 EDT 2013 from SVN revision 132765
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)