MAK RTIspy API Documentation for HLA 1.3
Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes
DtRtiFederationWidget Class Reference
+ Inheritance diagram for DtRtiFederationWidget:
+ Collaboration diagram for DtRtiFederationWidget:

List of all members.

Public Member Functions

 DtRtiFederationWidget (QWidget *parent, const char *name=0)
virtual ~DtRtiFederationWidget ()
virtual QString federationName ()
 Returns the text of the currently selected federation.
virtual void updateNetworkTesting (bool isTestingEnabled)
 Updates the "Network Testing" Enabled or Disabled widget.
virtual void update (const DtAssistantFederationInfo &federationState)
 Updates the current federation information.
virtual void addFederate ()
 Increases the number of federates by 1.
virtual void removeFederate ()
 Decreases the number of federates by 1.
virtual void updateSyncPoint (const QString &syncPtName, const DtPendingAchievedPair &pendAchvFeds, const DtFederateInfoByHandleMap &federates)
 Updates the given synchronization point.
virtual void removeSyncPoint (const QString &syncPtName)
 Removes the given synchronization point.

Protected Types

enum  DtSyncPointTreeCol { SyncPointName = 0, FederateName, FederateHandle }

Protected Member Functions

virtual void addFederatesToSyncPoint (QTreeWidgetItem *syncPt, const DtPendingAchievedPair &pendAchvFeds, const DtFederateInfoByHandleMap &federates)
 Adds the federates to the sync point item.
virtual void updateSyncPointFederates (QTreeWidgetItem *syncPt, const DtPendingAchievedPair &pendAchvFeds)
 Updates the federates of the sync point item.

Protected Attributes

Ui::RtiFederationWidget myUiImpl
QIcon myCheckIcon
 Icon that indicates sync point was achieved.

Member Enumeration Documentation

Enumerator:
SyncPointName 
FederateName 
FederateHandle 

Constructor & Destructor Documentation

DtRtiFederationWidget::DtRtiFederationWidget ( QWidget parent,
const char *  name = 0 
)

References DtRtiLibPath(), myCheckIcon, and myUiImpl.


Member Function Documentation

Increases the number of federates by 1.

References myUiImpl.

void DtRtiFederationWidget::addFederatesToSyncPoint ( QTreeWidgetItem *  syncPt,
const DtPendingAchievedPair pendAchvFeds,
const DtFederateInfoByHandleMap federates 
) [protected, virtual]

Adds the federates to the sync point item.

References FederateName, and myCheckIcon.

Referenced by updateSyncPoint().

Returns the text of the currently selected federation.

References myUiImpl.

Referenced by update().

Decreases the number of federates by 1.

References myUiImpl.

void DtRtiFederationWidget::removeSyncPoint ( const QString &  syncPtName) [virtual]

Removes the given synchronization point.

References myUiImpl.

Referenced by update().

void DtRtiFederationWidget::update ( const DtAssistantFederationInfo federationState) [virtual]
void DtRtiFederationWidget::updateNetworkTesting ( bool  isTestingEnabled) [virtual]

Updates the "Network Testing" Enabled or Disabled widget.

References myUiImpl.

void DtRtiFederationWidget::updateSyncPoint ( const QString &  syncPtName,
const DtPendingAchievedPair pendAchvFeds,
const DtFederateInfoByHandleMap federates 
) [virtual]

Updates the given synchronization point.

References addFederatesToSyncPoint(), myUiImpl, SyncPointName, and updateSyncPointFederates().

Referenced by update().

void DtRtiFederationWidget::updateSyncPointFederates ( QTreeWidgetItem *  syncPt,
const DtPendingAchievedPair pendAchvFeds 
) [protected, virtual]

Updates the federates of the sync point item.

References FederateName, and myCheckIcon.

Referenced by updateSyncPoint().


Member Data Documentation

Icon that indicates sync point was achieved.

Referenced by addFederatesToSyncPoint(), DtRtiFederationWidget(), and updateSyncPointFederates().

Ui::RtiFederationWidget DtRtiFederationWidget::myUiImpl [protected]

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)