VR-Link API Documentation for HLA 1516
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
vpRecord.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2013 VT MAK
3 ** All rights reserved.
4 *********************************************************************/
5 
8 
9 #pragma once
10 
11 #include <vlutil/vlMachineTypes.h>
12 
13 #include <vlutil/vlPrint.h>
14 #include <vlpi/disEnums.h>
15 #include <vlpi/netStructs.h>
16 
17 
21 {
22 public:
25  DtVPRecord() {};
26 
28  virtual ~DtVPRecord() {};
29 
31  virtual DtVPRecordKind vpType() const {return DtVPUndefined;};
32 
34  static DtVPRecord* create() {return new DtVPRecord;};
35 
37  virtual DtVPRecord* clone() {return new DtVPRecord;};
38 
41  virtual void decodeFromNet(DtNetVPRecord*) {};
42 
45  virtual void encodeToNet(DtNetVPRecord*) const {};
46 
48  virtual bool operator==(const DtVPRecord& other) const;
50  virtual bool operator!=(const DtVPRecord& other) const;
52 
54  virtual void printDataToStream(std::ostream& stream) const;
55 
57 };
58 
const bool operator==(const DtU128 &lhs, const DtU128 &rhs)
virtual DtVPRecordKind vpType() const
The Variable Parameter Record type.
Definition: vpRecord.h:31
DtVPRecordKind
Definition: disEnums.h:323
static DtVPRecord * create()
create function
Definition: vpRecord.h:34
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
virtual DtVPRecord * clone()
Clone function.
Definition: vpRecord.h:37
DtVPRecord()
Constructor.
Definition: vpRecord.h:25
virtual ~DtVPRecord()
Destructor.
Definition: vpRecord.h:28
virtual void decodeFromNet(DtNetVPRecord *)
decode this VP Record from a array of 128 bits as defined by the DIS 7 standard.
Definition: vpRecord.h:41
Functions in vlPrint.h provide an error and print facility for vrlink.
virtual void encodeToNet(DtNetVPRecord *) const
encode this VP Record to a array of 128 bits as defined by the DIS 7 standard.
Definition: vpRecord.h:45
Contains the standard DIS enumerations.
const bool operator!=(const DtU128 &lhs, const DtU128 &rhs)
A representation of a VP Record is specific to DIS version 7.
Definition: vpRecord.h:20
Definition: disEnums.h:330
This file contains typedefs for machine dependant types.
Definition: netStructs.h:290

Document ID: Generated on Tue Feb 2 21:02:17 EST 2021 from SVN revision 223668
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)