9 #include <boost/signals2.hpp>
11 #include <tbb/spin_rw_mutex.h>
58 return myExerciseConnection;
62 virtual void setExerciseConnection(DtExerciseConn*);
66 virtual const DtSimulationAddress& messageAddress()
const;
69 virtual void setTransportTypeReliable(
int contentType);
76 virtual void setTransportTypeBestEffort(
int contentType);
85 virtual void setProcessNetworkEventsLocally(
bool);
88 return myProcessNetworkEventsLocally;
101 virtual void removeExerciseConnectionCallbacks();
102 virtual void installExerciseConnectionCallbacks();
108 static char* dataInteractionChooser(
111 static void commentInteractionCallback(DtCommentInteraction *inter,
void* usr);
112 virtual void processCommentInteraction(DtCommentInteraction* ctrlInter);
114 static void fireCallback(DtFireInteraction*,
void*);
115 virtual void processFireCallback(DtFireInteraction*);
123 static void startResumeInterationCallback(DtStartResumeInteraction* d,
void* u);
124 virtual void processStartResumeInteractionCallback(DtStartResumeInteraction* d);
126 static void stopFreezeInterationCallback(DtStopFreezeInteraction* d,
void* u);
127 virtual void processStopFreezeInteractionCallback(DtStopFreezeInteraction* d);
130 virtual bool isNetworkEvent(
const DtEvent&)
const;
133 virtual bool sendNetworkEvent(
const DtEvent&);
138 static void signalInteractionCallback(DtSignalInteraction* dataInter,
void * usr);
139 virtual void processSignalInteraction(DtSignalInteraction* dataInter);
141 static void serviceRequestCallback(DtServiceRequestInteraction*,
void*);
142 virtual void processServiceRequestCallback(DtServiceRequestInteraction*);
144 static void resupplyOfferCallback(DtResupplyOfferInteraction*,
void*);
145 virtual void processResupplyOfferCallback(DtResupplyOfferInteraction*);
147 static void resupplyReceivedCallback(DtResupplyRecInteraction*,
void*);
148 virtual void processResupplyReceivedCallback(DtResupplyRecInteraction*);
150 static void resupplyCancelCallback(DtResupplyCancelInteraction*,
void*);
151 virtual void processResupplyCancelCallback(DtResupplyCancelInteraction*);
153 virtual void initializeProtocolSpecific();
virtual bool selfReflecting() const
Wether or not an event added will be processed locally. Default is true.
boost::signals2::signal< void(const DtEvent &)> signal_sendingEventOnNetwork
Definition: networkEventManager.h:92
virtual void addEvent(const DtEvent &)
Connect to the individual event signal to only get notified for a particular event.
DtExerciseConn * myExerciseConnection
Definition: networkEventManager.h:156
DtSimInterfaceMessage is used to send a message to the front end or the back end. ...
Definition: simInterfaceMessage.h:32
std::set< int > myContentTypesToSendReliable
Set of content types to be sent via reliable transport.
Definition: networkEventManager.h:167
tbb::spin_rw_mutex myFedTimeMutex
Definition: networkEventManager.h:168
bool myProcessNetworkEventsLocally
Definition: networkEventManager.h:159
bool myCallbacksInstalled
Definition: networkEventManager.h:157
Definition: networkEventManager.h:40
Definition: eventManager.h:23
bool myAllowReliableDataInteractions
Whether reliable data interactions are supported.
Definition: networkEventManager.h:164
Definition: vrfTDLMessage.h:52
DtDetonationPdu DtDetonationInteraction
Definition: DistributedSimulationDriver3A.h:14
DtEventManager & operator=(const DtEventManager &)
Not implemented.
Contains the DtInterfaceMessageExecutive class declaration.
Definition: interfaceMessageExecutive.h:22
Instances of DtSensorFieldOfViewControlInter are used to store state data for SensorFieldOfViewContro...
Definition: sensorFieldOfViewControlInterDIS.h:51
Instances of DtInfluenceInter are used to store state data for Influence interactions.
Definition: influenceInteractionHLA.h:27
#define DT_DLL_vrfMsgTransport
This file is used to determine how to build.
Definition: vrfMsgTransportDefines.h:28
bool processNetworkEventsLocally() const
Definition: networkEventManager.h:86
bool myDataCallbackInstalled
Definition: networkEventManager.h:158
DtExerciseConn * exerciseConnection() const
Definition: networkEventManager.h:56