![]() |
VR-Forces Developer's Guide
|
This class will open a TCP connection on a fixed port for local host only as an example of how to send VR-Forces Data Interactions (VR-Forces messages) over a TCP port instead of the exercise connection. All other messages will be sent over the network protocol specific exercise connection.

Static Public Member Functions | |
| static DtEventManager * | creator () |
Static Public Member Functions inherited from makVrfEvents::DtEventManager | |
| static void | setEventManagerCreatorFcn (DtEventManagerCreatorFcn fcn) |
| static DtEventManager * | createEventManager () |
Protected Member Functions | |
| virtual bool | sendPacketOnNetwork (char *buffer, size_t length) override |
Protected Member Functions inherited from DtEventManagerTCP | |
| virtual void | addEvent (const makVrfEvents::DtEvent &, bool &selfReflecting) override |
| virtual void | processPdu (void *buffer, int size) |
| virtual bool | pduHeader (DtTCPHeader &, DtInetSocket *) |
| virtual bool | processSocket (DtInetSocket *) |
| virtual char * | getPacketForNetwork (const makVrfEvents::DtDataEvent &inter, size_t &length) const |
| virtual makVrfEvents::DtDataEvent * | createDataInteraction (void *buffer, size_t size) const |
| virtual bool | sendEventTCP (const makVrfEvents::DtDataEvent &e) |
Protected Member Functions inherited from makVrfEvents::DtEventManager | |
| virtual void | processEvent (const DtEvent &) |
| virtual bool | wantsToProcessEvent (const DtEvent &) const |
Protected Attributes | |
| DtInetTcpSocket * | mySocket |
Protected Attributes inherited from makVrfEvents::DtEventManager | |
| tbb::spin_mutex | myMutex |
| std::vector< DtEvent * > | myEvents |
| tbb::spin_mutex | myCallbackMutex |
| EventCallbackMap | myEventCallbackMap |
| bool | myProcessEventsImmediately |
| std::set< unsigned int > | myDoNotSelfReflect |
| DtNetworkInterfaceManager * | myNetworkManager |
| bool | myProcessNetworkEventsLocally |
Additional Inherited Members | |
Public Types inherited from makVrfEvents::DtEventManager | |
| typedef boost::signals2::signal< void(const DtEvent &)> | EventSignal |
Protected Types inherited from makVrfEvents::DtEventManager | |
| typedef std::map < DtEvent::EventType, EventSignal * > | EventCallbackMap |
Static Protected Attributes inherited from makVrfEvents::DtEventManager | |
| static DtEventManagerCreatorFcn | theEventManagerCreatorFcn |
| DtClientEventManagerTCP::DtClientEventManagerTCP | ( | ) |
CTOR.
|
overridevirtual |
DTOR.
|
static |
Static creator method.
|
virtual |
Call to connect to the TCP network and to stop receiving data interactions from the network.
|
virtual |
Call to disconnect from the network and start receiving exercise connection interactions again.
|
inlineoverridevirtual |
|
overridevirtual |
Check to see if there is anything to receive.
Reimplemented from makVrfEvents::DtEventManager.
|
overrideprotectedvirtual |
Sends the given buffer packet on the network.
Implements DtEventManagerTCP.
|
protected |
Referenced by hasNetworkConnection().