VR-Link API Documentation for DIS
 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 MAK Technologies, Inc
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 
24 {
25  public:
26 
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
59 };
60 
61 #endif
62 #endif
63 
64 
65 
DtInteraction is an base class for representing DIS PDUs which don't have state.
Definition: interactionDIS.h:24
DtSimanPdu & operator=(const DtSimanPdu &orig)
Assignment operator.
Definition: simanPdu.h:28
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
DtEntityIdentifier mySenderId
Definition: simanPdu.h:57
virtual void printDataToStream(std::ostream &stream) const
This file is used as a convenience to group interaction concepts together.
DtEntityIdentifier myReceiverId
Definition: simanPdu.h:58
DtSimanPdu provides a base class for all of the simulation management PDU's.
Definition: simanPdu.h:23
Instances of DtEntityIdentifier are used as a unique ID for entities in DIS.
Definition: entityIdentifier.h:31
virtual void printData() const
Print the PDU's data (not including header).
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 Thu Sep 19 02:12:35 EDT 2024 from SVN revision 269601
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)