![]() |
VR-Forces Developer's Guide
|
The Event Manager Sim example demonstrates the following:
This example will show how to replace the sending of events from using the VR-Link exercise connection to send VR-Forces data interactions to using a TCP socket to send these data interactions.
This example only will allow usage on port 6000 and connect to local host. It will also only have the GUI connect to a single sim engine. The intent of this example is to show how you can replace the DtNetworkEventManager with one of your own to deal with events before they get sent out over the normal DIS/HLA network.
In the Launcher, click the Plug-ins button to bring up the Plug-ins Selection dialog. Enable the eventManagerTCP plugin for this example to work.
To view the new behavior:
| DtEventManagerTCP | The class that overrides the DtNetworkEventManager. This class will provide basic functionality for sending/receiving a DtDataInteraction on the TCP network. |
| DtClientEventManagerTCP | The class that overrides the DtEventManagerTCP. This class will create the socket socket to connect to the network and send information to the sim engine |