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

Attribute record for sending extended Ground Vehicle lighting information across the network. More...

+ Inheritance diagram for DtGroundVehicleLightingRecord:
+ Collaboration diagram for DtGroundVehicleLightingRecord:

Public Member Functions

 DtGroundVehicleLightingRecord ()
 Constructor. More...
 
 DtGroundVehicleLightingRecord (unsigned int dataType)
 Constructor with record type specified. More...
 
 DtGroundVehicleLightingRecord (const DtGroundVehicleLightingRecord &orig)
 Copy Constructor. More...
 
 DtGroundVehicleLightingRecord (void *netBuffer, unsigned int size)
 Net Constructor. More...
 
virtual ~DtGroundVehicleLightingRecord ()
 Destructor. More...
 
virtual bool operator== (const DtGroundVehicleLightingRecord &other)
 Equals operator. More...
 
virtual bool operator== (const DtStandardVariableRecord &other)
 Equals operator. More...
 
virtual void setEmergencyLightsOn (bool val)
 Set Emergency Lights on/off. More...
 
virtual bool emergencyLightsOn () const
 Get Emergency Lights on/off. More...
 
virtual void setLeftIndicatorLightsOn (bool val)
 Set Left Indicator Lights on/off. More...
 
virtual bool leftIndicatorLightsOn () const
 Get Left Indicator Lights on/off. More...
 
virtual void setRightIndicatorLightsOn (bool val)
 Set Right Indicator Lights on/off. More...
 
virtual bool rightIndicatorLightsOn () const
 Get Right Indicator Lights on/off. More...
 
virtual void printData () const
 Prints the data to DtInfo. More...
 
virtual void printDataToStream (std::ostream &stream) const
 Prints the data to the specified stream. More...
 
virtual void writeRecord (void *addr) const
 
virtual void setFromNet (const void *netRecord, unsigned int length, DtStandardVariableRetCode *retCode=NULL)
 Sets the record from Network Representation from the given location. More...
 
virtual unsigned unpaddedNetsize () const
 This is the network size of the record without padding. More...
 
virtual unsigned int netSize ()
 Returns the size of the network representation (including padding bytes) More...
 
virtual DtStandardVariableRecordclone () const
 Clone. More...
 
virtual unsigned int recordType () const
 Get/Set Record Type. More...
 
virtual void setRecordType (unsigned int recordType)
 Get/Set Record Type. More...
 
virtual unsigned int recordLength () const
 Get/Set Record Length. More...
 
virtual void setRecordLength (unsigned int recordLength)
 Must include size of record header and padding to 8 bytes. More...
 
- Public Member Functions inherited from DtStandardVariableRecord
 DtStandardVariableRecord ()
 Constructor. More...
 
virtual ~DtStandardVariableRecord ()
 Destructor. More...
 
virtual void setOriginatingSimulationAddress (const DtSimulationAddress &)
 
virtual const DtSimulationAddressoriginatingSimulationAddress () const
 

Static Public Member Functions

static DtStandardVariableRecordcreate (void *addr, unsigned int length)
 Creator of an unknown record for registering in a factory. More...
 
static unsigned int recordTypeToUse ()
 Return the DI-Guy Action record type for uuid. More...
 
static void setRecordTypeToUse (unsigned int typeToUse)
 Set the record type to use. More...
 

Protected Attributes

DtNetGroundVehicleLightingRecord myNetGroundVehicleLightingRecord
 
- Protected Attributes inherited from DtStandardVariableRecord
DtSimulationAddress myOriginatingSimulationAddress
 

Static Protected Attributes

static const unsigned int theMinimumSize
 

Detailed Description

Attribute record for sending extended Ground Vehicle lighting information across the network.

Constructor & Destructor Documentation

DtGroundVehicleLightingRecord::DtGroundVehicleLightingRecord ( )

Constructor.

DtGroundVehicleLightingRecord::DtGroundVehicleLightingRecord ( unsigned int  dataType)

Constructor with record type specified.

DtGroundVehicleLightingRecord::DtGroundVehicleLightingRecord ( const DtGroundVehicleLightingRecord orig)

Copy Constructor.

DtGroundVehicleLightingRecord::DtGroundVehicleLightingRecord ( void *  netBuffer,
unsigned int  size 
)

Net Constructor.

virtual DtGroundVehicleLightingRecord::~DtGroundVehicleLightingRecord ( )
virtual

Destructor.

Member Function Documentation

virtual DtStandardVariableRecord* DtGroundVehicleLightingRecord::clone ( ) const
virtual

Clone.

Implements DtStandardVariableRecord.

static DtStandardVariableRecord* DtGroundVehicleLightingRecord::create ( void *  addr,
unsigned int  length 
)
static

Creator of an unknown record for registering in a factory.

virtual bool DtGroundVehicleLightingRecord::emergencyLightsOn ( ) const
virtual

Get Emergency Lights on/off.

virtual bool DtGroundVehicleLightingRecord::leftIndicatorLightsOn ( ) const
virtual

Get Left Indicator Lights on/off.

virtual unsigned int DtGroundVehicleLightingRecord::netSize ( )
virtual

Returns the size of the network representation (including padding bytes)

Reimplemented from DtStandardVariableRecord.

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

Equals operator.

virtual bool DtGroundVehicleLightingRecord::operator== ( const DtStandardVariableRecord other)
virtual

Equals operator.

Implements DtStandardVariableRecord.

virtual void DtGroundVehicleLightingRecord::printData ( ) const
virtual

Prints the data to DtInfo.

Reimplemented from DtStandardVariableRecord.

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

Prints the data to the specified stream.

Implements DtStandardVariableRecord.

virtual unsigned int DtGroundVehicleLightingRecord::recordLength ( ) const
virtual

Get/Set Record Length.

Implements DtStandardVariableRecord.

virtual unsigned int DtGroundVehicleLightingRecord::recordType ( ) const
virtual

Get/Set Record Type.

Implements DtStandardVariableRecord.

static unsigned int DtGroundVehicleLightingRecord::recordTypeToUse ( )
static

Return the DI-Guy Action record type for uuid.

virtual bool DtGroundVehicleLightingRecord::rightIndicatorLightsOn ( ) const
virtual

Get Right Indicator Lights on/off.

virtual void DtGroundVehicleLightingRecord::setEmergencyLightsOn ( bool  val)
virtual

Set Emergency Lights on/off.

virtual void DtGroundVehicleLightingRecord::setFromNet ( const void *  netRecord,
unsigned int  length,
DtStandardVariableRetCode retCode = NULL 
)
virtual

Sets the record from Network Representation from the given location.

Memory must exist for life of the variable record

Implements DtStandardVariableRecord.

virtual void DtGroundVehicleLightingRecord::setLeftIndicatorLightsOn ( bool  val)
virtual

Set Left Indicator Lights on/off.

virtual void DtGroundVehicleLightingRecord::setRecordLength ( unsigned int  recordLength)
virtual

Must include size of record header and padding to 8 bytes.

Implements DtStandardVariableRecord.

virtual void DtGroundVehicleLightingRecord::setRecordType ( unsigned int  recordType)
virtual

Get/Set Record Type.

Implements DtStandardVariableRecord.

static void DtGroundVehicleLightingRecord::setRecordTypeToUse ( unsigned int  typeToUse)
static

Set the record type to use.

virtual void DtGroundVehicleLightingRecord::setRightIndicatorLightsOn ( bool  val)
virtual

Set Right Indicator Lights on/off.

virtual unsigned DtGroundVehicleLightingRecord::unpaddedNetsize ( ) const
virtual

This is the network size of the record without padding.

Implements DtStandardVariableRecord.

virtual void DtGroundVehicleLightingRecord::writeRecord ( void *  addr) const
virtual

Member Data Documentation

DtNetGroundVehicleLightingRecord DtGroundVehicleLightingRecord::myNetGroundVehicleLightingRecord
protected
const unsigned int DtGroundVehicleLightingRecord::theMinimumSize
staticprotected

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

Document ID: Generated on Thu Oct 16 00:12:25 EDT 2025 from SVN revision 280738
Copyright © 1992-2025 MAK Technologies. All Rights Reserved (www.mak.com)