VR-Link API Documentation for HLA Evolved
Public Member Functions | Static Public Member Functions | Protected Attributes
DtSetRecordInteraction Class Reference
+ Inheritance diagram for DtSetRecordInteraction:
+ Collaboration diagram for DtSetRecordInteraction:

List of all members.

Public Member Functions

 DtSetRecordInteraction ()
 DtSetRecordInteraction (const DtSetRecordInteraction &other)
 copy Constructor
virtual ~DtSetRecordInteraction ()
 destructor
DtSetRecordInteractionoperator= (const DtSetRecordInteraction &other)
 assignment operator
virtual void printData () const
 Print out interaction's data.
virtual void printDataToStream (std::ostream &stream) const
 Print out the interaction's data to a stream.
virtual void setOriginatingEntityID (const DtEntityIdentifier &entity)
 Set/Get originator ID.
virtual const DtEntityIdentifieroriginatingEntityID () const
virtual void setReceivingEntityID (const DtEntityIdentifier &entity)
 Set/Get receiver ID.
virtual const DtEntityIdentifier receivingEntityID () const
virtual void setRequestID (DtU32 id)
 Set/Get request ID.
virtual DtU32 requestID () const
virtual void setReqRelService (enum DtRequiredReliabilityService service)
 Set/Get required reliability service.
virtual
DtRequiredReliabilityService 
reqRelService () const
virtual void setNumRecordSets (DtU32 number)
 Set/Get the number of record sets in this list.
virtual DtU32 numRecordSets () const
virtual bool setRecordSet (int index, const DtRecordSet &set)
 Set/Get the record set at the specified index.
virtual const DtRecordSetrecordSet (int index, bool *valid=NULL)
virtual bool getRecordSet (int index, DtRecordSet &recSet) const
 a separate Get Function For backwards compatibility
virtual const DtRecordSetListrecordSetList () const
 They exist for the mapper to use for conversion to net data.
virtual DtRecordSetListrecordSetList ()
virtual const char * name () const
 name of the interaction.

Static Public Member Functions

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

Protected Attributes

DtEntityIdentifier myOriginatingEnt
DtEntityIdentifier myReceivingEnt
DtU32 myRequestId
DtRequiredReliabilityService myRequiredReliabilityService
DtRecordSetList myRecordSetList

Constructor & Destructor Documentation

copy Constructor

destructor


Member Function Documentation

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

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

Create a DtSetRecordInteraction.

Caller is responsible for the deletion

virtual bool DtSetRecordInteraction::getRecordSet ( int  index,
DtRecordSet recSet 
) const [virtual]

a separate Get Function For backwards compatibility

const char * DtSetRecordInteraction::name ( ) const [inline, virtual]

name of the interaction.

(Not necessarily the ClassName from the FOM)

Implements DtInteraction.

virtual DtU32 DtSetRecordInteraction::numRecordSets ( ) const [virtual]
DtSetRecordInteraction& DtSetRecordInteraction::operator= ( const DtSetRecordInteraction other)

assignment operator

References myOriginatingEnt.

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

Print out interaction's data.

Reimplemented from DtInteraction.

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

Print out the interaction's data to a stream.

Reimplemented from DtInteraction.

References myReceivingEnt.

virtual const DtRecordSet& DtSetRecordInteraction::recordSet ( int  index,
bool *  valid = NULL 
) [virtual]
const DtRecordSetList & DtSetRecordInteraction::recordSetList ( ) const [inline, virtual]

They exist for the mapper to use for conversion to net data.

References myRecordSetList.

References myRecordSetList.

static void DtSetRecordInteraction::removeCallback ( DtExerciseConn conn,
DtSetRecordInteractionCb  cb,
void *  usr,
DtDDMRegionSP  region = DtDDMRegionSP() 
) [static]
DtU32 DtSetRecordInteraction::requestID ( ) const [inline, virtual]

References myRequestId.

virtual void DtSetRecordInteraction::setNumRecordSets ( DtU32  number) [virtual]

Set/Get the number of record sets in this list.

When the number of record sets are changed, old records are not preserved.

void DtSetRecordInteraction::setOriginatingEntityID ( const DtEntityIdentifier entity) [inline, virtual]

Set/Get originator ID.

void DtSetRecordInteraction::setReceivingEntityID ( const DtEntityIdentifier entity) [inline, virtual]

Set/Get receiver ID.

References myReceivingEnt.

virtual bool DtSetRecordInteraction::setRecordSet ( int  index,
const DtRecordSet set 
) [virtual]

Set/Get the record set at the specified index.

RecordSetPDU used getRecordSet, here we use recordSet

Set/Get required reliability service.

References myRequiredReliabilityService.

void DtSetRecordInteraction::setRequestID ( DtU32  id) [inline, virtual]

Set/Get request ID.

References myRequestId.


Member Data Documentation

Referenced by originatingEntityID().

Referenced by recordSetList().

Referenced by requestID(), and setRequestID().

Referenced by reqRelService(), and setReqRelService().


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)