VR-Link API Documentation for DIS
Classes | Files | Typedefs | Variables
VR-Link Example Members

This group contains files, classes and their members that are distributed as VR-Link Examples. More...

Classes

class  DtF18Initializer
 DtF18Initializer derives from DtVrlApplicationInitializer and describes how command line/MTL parameters could be added to a VR-Link application. More...
class  DtVehicleSim
 Part of the F18 example. More...
class  DtLauncherInitializer
 DtLauncherInitializer derives from DtVrlApplicationInitializer and describes how command line/MTL parameters could be added to a VR-Link application. More...
struct  Point2GeometryData
 an example class for Environmental Process objects More...
struct  Point1GeometryData
 An example class for the DtEnvironmentalProcess example. More...
struct  NetTestPdu
 The TestPdu class will represent a hypothetical variable-length "Test PDU". More...
class  TestPdu
 Define the TestPdu class. More...

Files

file  f18Init.h
file  vehicleSim.h
file  launcherInit.h

Typedefs

typedef struct NetTestPdu NetTestPdu
 The TestPdu class will represent a hypothetical variable-length "Test PDU".
typedef void(* TestPduCb )(TestPdu *pdu, void *usr)

Variables

const DtPduKind TestPduKind = DtPduKind(220)
 Extend the DtPduKind enumeration, adding our chosen value.

Detailed Description

This group contains files, classes and their members that are distributed as VR-Link Examples.

These members are not considered part of the VR-Link API. Customers may use these classes as a starting point for their own applications. For more information about VR-Link Examples please see the VR-Link Examples page.

Typedef Documentation

typedef struct NetTestPdu NetTestPdu

The TestPdu class will represent a hypothetical variable-length "Test PDU".

  • one that has three fields: an integer named "a", a variable-length array of integers named "b" whose cardinality is the value of "a", and a float called c. Define as much of the network representation structure as is possible with a C-style structure. The cardinality of "b" in the structure doesn't matter, since we'll only be casting buffers to pointers to this structure, and not creating instances of the structure or relying on its size. We won't be able to access "c" at all through the structure, since it comes after the variable length array "b". We will have to use byte-arithmetic to reach "c".
typedef void(* TestPduCb)(TestPdu *pdu, void *usr)

Variable Documentation

const DtPduKind TestPduKind = DtPduKind(220)

Extend the DtPduKind enumeration, adding our chosen value.

This is the number that ends up in the PDU header's kind field.


Document ID: Generated on Wed Oct 23 22:25:48 EDT 2013 from SVN revision 132765
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)