![]() |
VR-Forces 5.0.1 Developer's Guide
|
class DtIfPing:
Instances of DtIfPing will be used to measure round trip time from sender to receiver. The sender will send the time the message is sent, and the receiver will send back the time the message was received.
Content-Type: DtIfPlanMessageType

Public Member Functions | |
| DtIfPing () | |
| virtual | ~DtIfPing () |
| DtIfPing (const DtIfPing &orig) | |
| DtIfPing & | operator= (const DtIfPing &orig) |
| virtual int | type () const |
| virtual DtSimInterfaceContent * | clone () const |
| virtual void | setTimeSent (double) |
| virtual double | timeSent () const |
| virtual void | setDeliveryTime (double) |
| virtual double | deliveryTime () const |
| virtual void | setAck (bool) |
| virtual bool | ack () const |
| virtual int | netRepSize () const |
| virtual bool | setFromNet (const char *contentBuffer, unsigned contentSize) |
| virtual bool | setToNet () |
| virtual void | printDataToString (DtString &str) |
Public Member Functions inherited from DtSimInterfaceContent | |
| virtual | ~DtSimInterfaceContent () |
| virtual bool | update (const DtSimInterfaceContent *data) |
| virtual char * | netRep () |
| virtual void | printContentType (DtString &str) |
| virtual void | setUseSessionId (bool yesNo) |
| virtual bool | useSessionId () const |
Static Public Member Functions | |
| static DtSimInterfaceContent * | creator () |
Static Public Member Functions inherited from DtSimInterfaceContent | |
| static DtSimInterfaceContent * | createInterfaceContent (int type) |
| static void | addInterfaceContentCreatorFcn (int type, DtInterfaceContentCreatorFcn fcn) |
| static void | setFactory (DtInterfaceContentFactory *factory) |
| static DtInterfaceContentFactory * | factory () |
| static void | registerContentTypePrinter (DtSimInterfaceContentTypePrinterFcn printFcn) |
Protected Attributes | |
| double | myTimeSent |
| double | myDeliveryTime |
| bool | myAck |
Protected Attributes inherited from DtSimInterfaceContent | |
| char * | myNetRep |
| bool | myUseSessionId |
Additional Inherited Members | |
Protected Member Functions inherited from DtSimInterfaceContent | |
| DtSimInterfaceContent () | |
| DtSimInterfaceContent (const DtSimInterfaceContent &orig) | |
| const DtSimInterfaceContent & | operator= (const DtSimInterfaceContent &orig) |
| virtual char * | createNetworkBuffer () |
Static Protected Attributes inherited from DtSimInterfaceContent | |
| static DtInterfaceContentFactory * | myFactory |
| static DtSimInterfaceContentTypePrinterFcn | theContentTypePrinterFcn |
| DtIfPing::DtIfPing | ( | ) |
default constructor
|
virtual |
destructor
| DtIfPing::DtIfPing | ( | const DtIfPing & | orig | ) |
copy constructor
|
virtual |
Returns the type of Interface Content.
Implements DtSimInterfaceContent.
|
virtual |
Implements DtSimInterfaceContent.
|
virtual |
Set/get the plan to abandon.
|
virtual |
|
virtual |
Time difference between when sent and when received.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Reimplemented from DtSimInterfaceContent.
Reimplemented from DtSimInterfaceContent.
|
virtual |
Reimplemented from DtSimInterfaceContent.
|
virtual |
Reimplemented from DtSimInterfaceContent.
|
static |
|
protected |
|
protected |
|
protected |