VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 
DtInteraction is an abstract base class for representing HLA interactions (or events) (as opposed to ...
Definition: interactionHLA.h:33
DtInteraction & operator=(const DtInteraction &orig)
assignment operator
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
virtual void printData() const
Print the interaction's data to DtInfo.
Definition: interactionHLA.h:348
This file is used as a convenience to group interaction concepts together.
virtual void printDataToStream(std::ostream &stream) const
Print the interaction's data to the stream.
Definition: interactionHLA.h:356
Instances of DtEntityIdentifier are used as a unique ID for entities in DIS.
Definition: entityIdentifier.h:31
This file is deprecated - Please see simulationAddress.h, entityIdentifier.h, entityType.h, burstDescriptor.h, and NetStructs.h.
DtPdu & operator=(const DtPdu &pdu)
Assignment operator.

Document ID: Generated on Mon Apr 25 03:39:01 EDT 2022 from SVN revision 242502
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)