VR-Link API Documentation for HLA 1.3
Public Member Functions | Static Public Member Functions | Protected Attributes
DtAcknowledgeInteraction Class Reference

Instances of DtAcknowledgeInteraction are used to represent Acknowledge Interactions in the RPR ROM. More...

+ Inheritance diagram for DtAcknowledgeInteraction:
+ Collaboration diagram for DtAcknowledgeInteraction:

List of all members.

Public Member Functions

 DtAcknowledgeInteraction ()
 default constructor
virtual ~DtAcknowledgeInteraction ()
 destructor
 DtAcknowledgeInteraction (const DtAcknowledgeInteraction &orig)
 copy constructor
DtAcknowledgeInteractionoperator= (const DtAcknowledgeInteraction &orig)
 assignment operator
virtual void printData () const
 Print the interaction's data.
virtual void printDataToStream (std::ostream &stream) const
 Print the interaction's data to the specified stream.
virtual void setSenderId (const DtEntityIdentifier &id)
 Set/Get sender ID.
virtual const DtEntityIdentifiersenderId () const
virtual void setReceiverId (const DtEntityIdentifier &id)
 Set/Get receiver ID.
virtual const DtEntityIdentifierreceiverId () const
virtual void setAcknowledgeFlag (DtAcknowledgeFlag flag)
 Set/Get acknowledge flag.
virtual DtAcknowledgeFlag acknowledgeFlag () const
virtual void setResponseFlag (DtResponseFlag flag)
 Set/Get response flag.
virtual DtResponseFlag responseFlag () const
virtual void setRequestId (int id)
 Set/Get request ID.
virtual int requestId () const
virtual const char * name () const
 Name of the interaction (Not necessarily the ClassName from the FOM).

Static Public Member Functions

static DtInteractioncreate ()
 Create a DtAcknowledgeInteraction.
static void addCallback (DtExerciseConn *conn, DtAcknowledgeInteractionCb cb, void *usr, DtDDMRegionSP region=DtDDMRegionSP())
 Add (register)/Remove (deregister) function to be called when interaction occurs.
static void removeCallback (DtExerciseConn *conn, DtAcknowledgeInteractionCb cb, void *usr, DtDDMRegionSP region=DtDDMRegionSP())

Protected Attributes

DtEntityIdentifier myOrigEnt
DtEntityIdentifier myReceiveEnt
int myRequestId
DtAcknowledgeFlag myAckFlag
DtResponseFlag myRespFlag

Detailed Description

Instances of DtAcknowledgeInteraction are used to represent Acknowledge Interactions in the RPR ROM.


Constructor & Destructor Documentation

default constructor

destructor

copy constructor


Member Function Documentation

static void DtAcknowledgeInteraction::addCallback ( DtExerciseConn conn,
DtAcknowledgeInteractionCb  cb,
void *  usr,
DtDDMRegionSP  region = DtDDMRegionSP() 
) [static]

Add (register)/Remove (deregister) function to be called when interaction occurs.

Create a DtAcknowledgeInteraction.

Caller is responsible for deletion.

virtual const char* DtAcknowledgeInteraction::name ( ) const [virtual]

Name of the interaction (Not necessarily the ClassName from the FOM).

Implements DtInteraction.

DtAcknowledgeInteraction& DtAcknowledgeInteraction::operator= ( const DtAcknowledgeInteraction orig)

assignment operator

virtual void DtAcknowledgeInteraction::printData ( ) const [virtual]

Print the interaction's data.

Reimplemented from DtInteraction.

virtual void DtAcknowledgeInteraction::printDataToStream ( std::ostream &  stream) const [virtual]

Print the interaction's data to the specified stream.

Reimplemented from DtInteraction.

virtual const DtEntityIdentifier& DtAcknowledgeInteraction::receiverId ( ) const [virtual]
static void DtAcknowledgeInteraction::removeCallback ( DtExerciseConn conn,
DtAcknowledgeInteractionCb  cb,
void *  usr,
DtDDMRegionSP  region = DtDDMRegionSP() 
) [static]
virtual int DtAcknowledgeInteraction::requestId ( ) const [virtual]
virtual const DtEntityIdentifier& DtAcknowledgeInteraction::senderId ( ) const [virtual]

Set/Get acknowledge flag.

virtual void DtAcknowledgeInteraction::setReceiverId ( const DtEntityIdentifier id) [virtual]

Set/Get receiver ID.

virtual void DtAcknowledgeInteraction::setRequestId ( int  id) [virtual]

Set/Get request ID.

Set/Get response flag.

virtual void DtAcknowledgeInteraction::setSenderId ( const DtEntityIdentifier id) [virtual]

Set/Get sender ID.


Member Data Documentation


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

Document ID: Generated on Mon May 14 08:06:18 EDT 2012 from SVN revision 114750
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)