VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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  launcherInit.h
 
file  f18Init.h
 

Typedefs

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

Variables

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

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 Mon Apr 25 03:39:01 EDT 2022 from SVN revision 242502
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)