DtBaseExerciseConn is an abstract base class.
More...
DtBaseExerciseConn is an abstract base class.
It provides an application's interface or connection to a network.
| virtual DtBaseExerciseConn::~DtBaseExerciseConn |
( |
| ) |
|
|
virtual |
| DtBaseExerciseConn::DtBaseExerciseConn |
( |
| ) |
|
|
protected |
Constructors are protected since this is an abstract base class.
default constructor
copy constructor – Not implemented
| virtual void DtBaseExerciseConn::addPostDrainCallback |
( |
DtPostDrainCb |
cb, |
|
|
void * |
usr |
|
) |
| |
|
virtual |
Add/remove callbacks to be executed from within drainInput right before it returns.
| virtual DtClock* DtBaseExerciseConn::clock |
( |
| ) |
|
|
virtual |
Get reference to exercise connection's clock.
| virtual void DtBaseExerciseConn::executePostDrainCbs |
( |
| ) |
|
|
protectedvirtual |
Should be called by derived class's drainInputs.
| virtual void DtBaseExerciseConn::incrementNumberOfMessagesProcessed |
( |
| ) |
|
|
virtual |
Increments myNumberOfMessagesProcessed.
This is called by the federate ambassador each time it receives an object update.
| virtual bool DtBaseExerciseConn::isUpdateRateWarningEnabled |
( |
| ) |
const |
|
virtual |
| virtual int DtBaseExerciseConn::lastDrainInputReceiveCount |
( |
| ) |
const |
|
virtual |
Returns an entity ID consisting of the DtExerciseConn's site and host numbers, and entityNum as the entity number.
Returns the next valid entity ID formed by calling makeEntityId with the current value of a entity number counter.
Assignment Operator – Not Implemented.
| virtual void DtBaseExerciseConn::removeAllPostDrainCallbacks |
( |
| ) |
|
|
virtual |
| virtual void DtBaseExerciseConn::removePostDrainCallback |
( |
DtPostDrainCb |
cb, |
|
|
void * |
usr |
|
) |
| |
|
virtual |
| virtual void DtBaseExerciseConn::send |
( |
const DtStateMsg & |
msg | ) |
|
|
pure virtual |
| virtual void DtBaseExerciseConn::send |
( |
const DtInteraction & |
msg | ) |
|
|
pure virtual |
| virtual void DtBaseExerciseConn::sendStamped |
( |
const DtStateMsg & |
msg | ) |
|
|
pure virtual |
Send a state message to the network which has been time stamped with the current time.
Implemented in DtExerciseConn.
| virtual void DtBaseExerciseConn::sendStamped |
( |
const DtInteraction & |
msg | ) |
|
|
pure virtual |
Send an interaction to the network which has been time stamped with the current time.
Implemented in DtExerciseConn.
| virtual void DtBaseExerciseConn::setApplicationId |
( |
int |
siteId, |
|
|
int |
applNum |
|
) |
| |
|
virtual |
----------------—— ID MANAGEMENT ----------------——
Set/get the current application ID (DIS/RPR FOM site Id & host Id (application Id)).
| virtual void DtBaseExerciseConn::setClock |
( |
DtClock * |
clock | ) |
|
|
virtual |
This function allows one to set the exercise connection's clock – overriding the default clock and setting the simulation time to zero.
| virtual void DtBaseExerciseConn::setIsUpdateRateWarningEnabled |
( |
bool |
value | ) |
|
|
virtual |
Setter/getter methods for updateRateWArning toggle.
| DtClock* DtBaseExerciseConn::myClock |
|
protected |
| bool DtBaseExerciseConn::myIsUpdateRateWarningEnabled |
|
protected |
| int DtBaseExerciseConn::myNumberOfMessagesProcessed |
|
protected |
| DtList DtBaseExerciseConn::myPostDrainCbs |
|
protected |
The documentation for this class was generated from the following file: