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

class DtEventReportInteraction: More...

+ Inheritance diagram for DtEventReportInteraction:
+ Collaboration diagram for DtEventReportInteraction:

List of all members.

Public Member Functions

 DtEventReportInteraction ()
 default constructor
virtual ~DtEventReportInteraction ()
 destructor
 DtEventReportInteraction (const DtEventReportInteraction &orig)
 copy constructor
DtEventReportInteractionoperator= (const DtEventReportInteraction &orig)
 assignment operator
virtual void printData () const
 Print the interaction's data to DtInfo.
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 setEventType (DtEventType type)
 Set/Get event Type.
virtual DtEventType eventType () 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 DtEventReportInteraction.
static void addCallback (DtExerciseConn *conn, DtEventReportInteractionCb cb, void *usr, DtDDMRegionSP region=DtDDMRegionSP())
 Add (register)/Remove (deregister) function to be called when interaction occurs.
static void removeCallback (DtExerciseConn *conn, DtEventReportInteractionCb cb, void *usr, DtDDMRegionSP region=DtDDMRegionSP())

Protected Attributes

DtEntityIdentifier myOrigEnt
DtEntityIdentifier myReceiveEnt
DtEventType myEventType

Detailed Description

class DtEventReportInteraction:

Instances of DtEventReportInteraction are used to represent EventReport Interactions in the RPR FOM. The variable and fixed datum records are accessed through DtInteractionWithData member functions.


Constructor & Destructor Documentation

default constructor

destructor

copy constructor


Member Function Documentation

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

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

Create a DtEventReportInteraction.

Caller is responsible for deletion.

virtual DtEventType DtEventReportInteraction::eventType ( ) const [virtual]
virtual const char* DtEventReportInteraction::name ( ) const [virtual]

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

Implements DtInteraction.

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

assignment operator

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

Print the interaction's data to DtInfo.

Reimplemented from DtInteractionWithData.

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

Print the interaction's data to the specified stream.

Reimplemented from DtInteractionWithData.

virtual const DtEntityIdentifier& DtEventReportInteraction::receiverId ( ) const [virtual]
static void DtEventReportInteraction::removeCallback ( DtExerciseConn conn,
DtEventReportInteractionCb  cb,
void *  usr,
DtDDMRegionSP  region = DtDDMRegionSP() 
) [static]
virtual const DtEntityIdentifier& DtEventReportInteraction::senderId ( ) const [virtual]
virtual void DtEventReportInteraction::setEventType ( DtEventType  type) [virtual]

Set/Get event Type.

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

Set/Get receiver ID.

virtual void DtEventReportInteraction::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)