VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions
DtVPRecord Class Reference

A representation of a VP Record is specific to DIS version 7. More...

+ Inheritance diagram for DtVPRecord:

Public Member Functions

 DtVPRecord ()
 Constructor.
virtual ~DtVPRecord ()
 Destructor.
virtual DtVPRecordKind vpType () const
 The Variable Parameter Record type.
virtual DtVPRecordclone ()
 Clone function.
virtual void decodeFromNet (DtNetVPRecord *)
 decode this VP Record from a array of 128 bits as defined by the DIS 7 standard.
virtual void encodeToNet (DtNetVPRecord *) const
 encode this VP Record to a array of 128 bits as defined by the DIS 7 standard.
virtual void printDataToStream (std::ostream &stream) const
 Print the record to a stream.
virtual bool operator== (const DtVPRecord &other) const
 Equality/inequality operators.
virtual bool operator!= (const DtVPRecord &other) const
 Equality/inequality operators.

Static Public Member Functions

static DtVPRecordcreate ()
 create function

Detailed Description

A representation of a VP Record is specific to DIS version 7.

Constructor & Destructor Documentation

DtVPRecord::DtVPRecord ( )
inline

Constructor.

Creates a new EntityType part with a null entity type.

virtual DtVPRecord::~DtVPRecord ( )
inlinevirtual

Destructor.

Member Function Documentation

virtual DtVPRecord* DtVPRecord::clone ( )
inlinevirtual
static DtVPRecord* DtVPRecord::create ( )
inlinestatic
virtual void DtVPRecord::decodeFromNet ( DtNetVPRecord )
inlinevirtual

decode this VP Record from a array of 128 bits as defined by the DIS 7 standard.

Note that this does nothing since we do not know what type of VP record this is.

Reimplemented in DtSeparationVPRecord, DtEntityAssociationVPRecord, and DtEntityTypeVPRecord.

virtual void DtVPRecord::encodeToNet ( DtNetVPRecord ) const
inlinevirtual

encode this VP Record to a array of 128 bits as defined by the DIS 7 standard.

Note that this does nothing since we do not know what type of VP record this is.

Reimplemented in DtSeparationVPRecord, DtEntityAssociationVPRecord, and DtEntityTypeVPRecord.

virtual bool DtVPRecord::operator!= ( const DtVPRecord other) const
virtual

Equality/inequality operators.

virtual bool DtVPRecord::operator== ( const DtVPRecord other) const
virtual

Equality/inequality operators.

Reimplemented in DtSeparationVPRecord, DtEntityAssociationVPRecord, and DtEntityTypeVPRecord.

virtual void DtVPRecord::printDataToStream ( std::ostream &  stream) const
virtual

Print the record to a stream.

Reimplemented in DtSeparationVPRecord, DtEntityAssociationVPRecord, and DtEntityTypeVPRecord.

virtual DtVPRecordKind DtVPRecord::vpType ( ) const
inlinevirtual

The Variable Parameter Record type.

Reimplemented in DtSeparationVPRecord, DtEntityAssociationVPRecord, and DtEntityTypeVPRecord.

References DtVPUndefined.


The documentation for this class was generated from the following file:

Document ID: Generated on Mon Jun 22 21:18:40 EDT 2020 from SVN revision 213785
Copyright © 2005-2018 MAK Technologies. All Rights Reserved (www.mak.com)