MAK RTIspy API Documentation for HLA 1516
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
DtQueryInterTransportMsg Class Reference
+ Inheritance diagram for DtQueryInterTransportMsg:
+ Collaboration diagram for DtQueryInterTransportMsg:

List of all members.

Public Member Functions

 DtQueryInterTransportMsg (DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
 Constructor.
 DtQueryInterTransportMsg (DtFederateHandle targetFed, DtInteractionClassHandle handle, DtFederateHandle sendingFed, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
 Constructor.
 DtQueryInterTransportMsg (const DtNetQueryInterTransportMsg *netRepMsg, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
 Constructor.
virtual ~DtQueryInterTransportMsg ()
 Destructor.
virtual DtRtiMsgclone (bool copy=true) const
 Return a copy/empty object of the same type as this.
virtual void set (DtFederateHandle targetFed, DtInteractionClassHandle handle, DtFederateHandle sendingFed)
 Set all fields simultaneously.
virtual void setClassHandle (DtObjectClassHandle handle)
 Set/Get class handle.
virtual DtObjectClassHandle classHandle () const
virtual void setRecipientFederate (DtFederateHandle hand)
 Set/Get recipient federate handle.
virtual DtFederateHandle recipientFederate () const
virtual void setSendingFederate (DtFederateHandle hand)
 Set/Get sending federate handle.
virtual DtFederateHandle sendingFederate () const
virtual void setHandle (const DtInteractionClassHandle &handle)
 Set/Get attribute handles.
virtual const
DtInteractionClassHandle
handle () const
virtual void printData (DtLogicalTimeFactory *logicalTimeFactory) const
 Print the data section.

Static Public Member Functions

static DtRtiMsgcreate (const DtNetMsgHeader *initial, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
 Creator.
static DtRtiMsgcreate (DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
 Creator.
static void addCallback (DtConnectionMgr *conn, DtQueryInterTransportCb cb, void *usr)
 Callback management.
static void removeCallback (DtConnectionMgr *conn, DtQueryInterTransportCb cb, void *usr)

Protected Member Functions

virtual int tagFieldSize () const
 Returns size of tag field.
virtual
DtNetQueryInterTransportMsg
netQueryInterTransportMsg ()
 The network representation.
virtual const
DtNetQueryInterTransportMsg
netQueryInterTransportMsg () const
virtual DtRtiMsgKind internalDtRtiMsgKind ()
 Returns the kind of an Ownership Msg.
virtual int minSize () const
 Returns minimum size of a message, including header.
virtual DtQueryInterTransportMsgself () const
 Casts away const-ness.

Protected Attributes

int myDirty
DtInteractionClassHandlemyHandle

Constructor & Destructor Documentation

DtQueryInterTransportMsg::DtQueryInterTransportMsg ( DtBufferPtr  buffer = DtUSE_INTERNAL_BUFFER)

Constructor.

References DtRtiMsg::initDtRtiMsg(), internalDtRtiMsgKind(), and minSize().

Referenced by clone(), and create().

DtQueryInterTransportMsg::DtQueryInterTransportMsg ( DtFederateHandle  targetFed,
DtInteractionClassHandle  handle,
DtFederateHandle  sendingFed,
DtBufferPtr  buffer = DtUSE_INTERNAL_BUFFER 
)
DtQueryInterTransportMsg::DtQueryInterTransportMsg ( const DtNetQueryInterTransportMsg netRepMsg,
DtBufferPtr  buffer = DtUSE_INTERNAL_BUFFER 
)

Destructor.


Member Function Documentation

void DtQueryInterTransportMsg::addCallback ( DtConnectionMgr conn,
DtQueryInterTransportCb  cb,
void *  usr 
) [static]
DtRtiMsg * DtQueryInterTransportMsg::clone ( bool  copy = true) const [virtual]

Return a copy/empty object of the same type as this.

Implements DtRtiMsg.

References DtQueryInterTransportMsg(), and netQueryInterTransportMsg().

DtRtiMsg * DtQueryInterTransportMsg::create ( const DtNetMsgHeader initial,
DtBufferPtr  buffer = DtUSE_INTERNAL_BUFFER 
) [static]

Creator.

References DtQueryInterTransportMsg().

Referenced by DtObjectMgr::sendOwnershipMsg().

DtRtiMsg * DtQueryInterTransportMsg::create ( DtBufferPtr  buffer = DtUSE_INTERNAL_BUFFER) [static]

Creator.

References DtQueryInterTransportMsg().

Returns the kind of an Ownership Msg.

Implements DtRtiMsg.

References DtQueryInterTransportMsgKind.

Referenced by DtQueryInterTransportMsg().

int DtQueryInterTransportMsg::minSize ( ) const [protected, virtual]

Returns minimum size of a message, including header.

Referenced by DtQueryInterTransportMsg().

void DtQueryInterTransportMsg::printData ( DtLogicalTimeFactory logicalTimeFactory) const [virtual]

Print the data section.

Reimplemented from DtRtiMsg.

References myHandle, recipientFederate(), and sendingFederate().

void DtQueryInterTransportMsg::removeCallback ( DtConnectionMgr conn,
DtQueryInterTransportCb  cb,
void *  usr 
) [static]
DtQueryInterTransportMsg * DtQueryInterTransportMsg::self ( ) const [inline, protected, virtual]

Casts away const-ness.

void DtQueryInterTransportMsg::set ( DtFederateHandle  targetFed,
DtInteractionClassHandle  handle,
DtFederateHandle  sendingFed 
) [virtual]

Set all fields simultaneously.

References setHandle(), setRecipientFederate(), and setSendingFederate().

Set/Get class handle.

References DtNetQueryInterTransportMsg::handle, and netQueryInterTransportMsg().

Set/Get attribute handles.

References DtNetQueryInterTransportMsg::handle, myDirty, and netQueryInterTransportMsg().

Referenced by DtQueryInterTransportMsg(), and set().

Set/Get recipient federate handle.

References netQueryInterTransportMsg(), and DtNetQueryInterTransportMsg::recvFed.

Referenced by DtQueryInterTransportMsg(), and set().

Set/Get sending federate handle.

References netQueryInterTransportMsg(), and DtNetQueryInterTransportMsg::sendFed.

Referenced by DtQueryInterTransportMsg(), and set().

int DtQueryInterTransportMsg::tagFieldSize ( ) const [protected, virtual]

Returns size of tag field.

References netQueryInterTransportMsg(), and DtNetQueryInterTransportMsg::tagSize.


Member Data Documentation

Referenced by handle(), and setHandle().

Referenced by handle(), and printData().


The documentation for this class was generated from the following files:

Document ID: Generated on Thu Jun 14 14:15:04 EDT 2012 from SVN revision 116116
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)