![]() |
MAK RTIspy API Documentation for HLA 1.3
|
Inheritance diagram for HlaBounceMainWindow:
Collaboration diagram for HlaBounceMainWindow:| HlaBounceMainWindow::HlaBounceMainWindow | ( | BallController * | ballController, |
| BallMap * | ballData, | ||
| DdmRegionMap * | regionData, | ||
| const char * | protocolName | ||
| ) |
| HlaBounceMainWindow::~HlaBounceMainWindow | ( | ) | [virtual] |
| HlaBounceMainWindow::HlaBounceMainWindow | ( | ) | [private] |
| void HlaBounceMainWindow::acquireBall | ( | ) | [slot] |
References BallController::acquireBall(), convertToWString(), myBallController, myBallData, myOtherBallsList, and theIdKey.
Referenced by setupToolBar().
| void HlaBounceMainWindow::addBall | ( | ) | [slot] |
References BallController::addBall(), myBallController, theMaxX, theMaxY, theMinX, and theMinY.
Referenced by setupToolBar().
| void HlaBounceMainWindow::addBallToList | ( | Ball * | ball | ) | [protected] |
References convertFromWString(), Ball::id(), Ball::isMine(), myBallListItemMap, myOtherBallsList, and myOwnedBallsList.
Referenced by drawBalls().
| void HlaBounceMainWindow::addDdmRegion | ( | const QPointF & | loc | ) | [slot] |
References enableOrDisableWidgets(), exitAddDdmRegionMode(), HlaBounceGraphicsScene::getLastRectangle(), myBallController, myScene, BallController::subscribeWithRegion(), theMaxX, theMaxY, theMinX, and theMinY.
Referenced by enterAddDdmRegionMode(), and exitAddDdmRegionMode().
| void HlaBounceMainWindow::ballSelected | ( | ) | [slot] |
References convertToWString(), myBallListItemMap, myOtherBallsList, myOwnedBallsList, myScene, and theIdKey.
Referenced by setupGraphics().
| void HlaBounceMainWindow::ballSelectedFromList | ( | QWidget * | list | ) | [slot] |
References convertToWString(), enableOrDisableWidgets(), myBallData, myOtherBallsList, myOwnedBallsList, and myScene.
Referenced by setupBallLists().
| void HlaBounceMainWindow::changeBallColor | ( | int | newColor | ) | [slot] |
References drawBalls(), myBallController, myColorComboBox, and BallController::setBallColor().
Referenced by setupToolBar().
| std::string HlaBounceMainWindow::convertFromWString | ( | const std::wstring & | inString | ) | const [inline, protected] |
Referenced by addBallToList(), drawBalls(), drawRegions(), and updateBalls().
| std::wstring HlaBounceMainWindow::convertToWString | ( | const std::string & | inString | ) | const [inline, protected] |
Referenced by acquireBall(), ballSelected(), ballSelectedFromList(), createAndJoinFederation(), divestBall(), and removeBall().
| void HlaBounceMainWindow::createAndJoinFederation | ( | ) | [slot] |
References convertToWString(), BallController::createAndJoinFederation(), enableOrDisableWidgets(), HlaBounceOptionsDialog::federateName(), HlaBounceOptionsDialog::federateType(), HlaBounceOptionsDialog::federationName(), HlaBounceOptionsDialog::includeInteractionExtension(), myBallController, and myOptionsDialog.
Referenced by setupToolBar().
| void HlaBounceMainWindow::displayConnErrorAndExit | ( | ) | [slot] |
Referenced by HlaBounceMainWindow().
| void HlaBounceMainWindow::displayOptions | ( | ) | [slot] |
References myOptionsDialog.
| void HlaBounceMainWindow::displayTextEvents | ( | ) | [slot] |
References BallController::getPendingTextEvents(), myBallController, myScene, and myTextEventsByExpirationTime.
Referenced by HlaBounceMainWindow().
| void HlaBounceMainWindow::divestBall | ( | ) | [slot] |
References convertToWString(), BallController::divestBall(), myBallController, myBallData, myOwnedBallsList, and theIdKey.
Referenced by setupToolBar().
| void HlaBounceMainWindow::drawBalls | ( | ) | [protected] |
References addBallToList(), Ball::color(), convertFromWString(), Ball::graphicsItem(), Ball::id(), Ball::isMarkedForDeletion(), Ball::isMine(), Ball::isVisible(), myBallData, myBallListItemMap, myColorImageMapping, myOtherBallsList, myOwnedBallsList, myScene, removeBallFromList(), Ball::setGraphicsItem(), Ball::size(), theColorKey, theIdKey, Ball::x(), and Ball::y().
Referenced by changeBallColor(), and updateBalls().
| void HlaBounceMainWindow::drawRegions | ( | ) | [protected] |
References convertFromWString(), enableOrDisableWidgets(), DdmRegion::graphicsItem(), DdmRegion::id(), DdmRegion::isMarkedForDeletion(), myRegionData, myScene, DdmRegion::setGraphicsItem(), theIdKey, DdmRegion::xLowerBound(), DdmRegion::xUpperBound(), DdmRegion::yLowerBound(), and DdmRegion::yUpperBound().
Referenced by updateBalls().
| void HlaBounceMainWindow::enableOrDisableWidgets | ( | ) | [protected] |
References BallController::isDdmEnabled(), BallController::isJoined(), BallController::isOwnershipTransferEnabled(), BallController::isSubscribed(), myAcquireBallAction, myAddBallAction, myAddDdmRegionAction, myBallController, myCreateAndJoinAction, myDivestBallAction, myGraphicsView, myOptionsAction, myOtherBallsList, myOwnedBallsList, myRegionData, myRemoveBallAction, myRemoveDdmRegionsAction, myResignAndDestroyAction, mySubscribeAction, and myUnsubscribeAction.
Referenced by addDdmRegion(), ballSelectedFromList(), createAndJoinFederation(), drawRegions(), HlaBounceMainWindow(), removeDdmRegions(), resignFromFederation(), subscribeToBallUpdates(), and unsubscribeToBallUpdates().
| void HlaBounceMainWindow::enterAddDdmRegionMode | ( | ) | [slot] |
References addDdmRegion(), connect(), myAddDdmRegionMode, myScene, and HlaBounceGraphicsScene::setDrawRectangleMode().
Referenced by setupToolBar().
| void HlaBounceMainWindow::exitAddDdmRegionMode | ( | ) | [slot] |
References addDdmRegion(), myAddDdmRegionMode, myScene, and HlaBounceGraphicsScene::setDrawRectangleMode().
Referenced by addDdmRegion().
| void HlaBounceMainWindow::layoutWindow | ( | const QString & | protocolName | ) | [protected] |
References myCentralLayout, myCentralWidget, myGraphicsLayoutWidget, myListsGraphicsSplitter, and myListsLayoutWidget.
Referenced by HlaBounceMainWindow().
| void HlaBounceMainWindow::removeBall | ( | ) | [slot] |
References convertToWString(), BallController::deleteBall(), myBallController, myBallData, myOwnedBallsList, and theIdKey.
Referenced by setupToolBar().
| void HlaBounceMainWindow::removeBallFromList | ( | Ball * | ball | ) | [protected] |
References Ball::id(), and myBallListItemMap.
Referenced by drawBalls().
| void HlaBounceMainWindow::removeDdmRegions | ( | ) | [slot] |
References enableOrDisableWidgets(), myBallController, and BallController::unsubscribeWithRegions().
Referenced by resignFromFederation(), and setupToolBar().
| void HlaBounceMainWindow::resignFromFederation | ( | ) | [slot] |
References enableOrDisableWidgets(), myBallController, removeDdmRegions(), and BallController::resignAndDestroyFederation().
Referenced by setupToolBar().
| void HlaBounceMainWindow::resizeEvent | ( | QResizeEvent * | event | ) | [protected, virtual] |
References myGraphicsView, and myScene.
| void HlaBounceMainWindow::setupBallLists | ( | ) | [protected] |
References ballSelectedFromList(), connect(), myListSelectionSignalMapper, myListsLayout, myListsLayoutWidget, myOtherBallsLabel, myOtherBallsList, myOwnedBallsLabel, and myOwnedBallsList.
Referenced by HlaBounceMainWindow().
| void HlaBounceMainWindow::setupGraphics | ( | ) | [protected] |
References ballSelected(), connect(), myBallController, myGraphicsLayout, myGraphicsLayoutWidget, myGraphicsView, myScene, myToolBar, BallController::setDimensions(), theMaxX, theMaxY, theMinX, and theMinY.
Referenced by HlaBounceMainWindow().
| void HlaBounceMainWindow::setupMenus | ( | ) | [protected] |
References connect(), myAcquireBallAction, myAddBallAction, myAddDdmRegionAction, myCreateAndJoinAction, myDivestBallAction, myExitAction, myMenuFederation, myMenuFile, myMenuObjects, myMenuSubscription, myOptionsAction, myRemoveBallAction, myRemoveDdmRegionsAction, myResignAndDestroyAction, mySubscribeAction, myUnsubscribeAction, and theIconDirectory.
Referenced by HlaBounceMainWindow().
| void HlaBounceMainWindow::setupToolBar | ( | ) | [protected] |
References acquireBall(), addBall(), AquaBall(), BlueBall(), changeBallColor(), connect(), createAndJoinFederation(), divestBall(), enterAddDdmRegionMode(), GreenBall(), BallController::isFederateNameSupported(), BallController::isInteractionExtensionSupported(), myAcquireBallAction, myAddBallAction, myAddDdmRegionAction, myBallController, myColorComboBox, myColorImageMapping, myColorLabel, myColorTextMapping, myCreateAndJoinAction, myDivestBallAction, myLogAction, myLogDialog, myLogTextEdit, myOptionsAction, myOptionsDialog, myRemoveBallAction, myRemoveDdmRegionsAction, myResignAndDestroyAction, mySubscribeAction, myToolBar, myUnsubscribeAction, RedBall(), removeBall(), removeDdmRegions(), resignFromFederation(), subscribeToBallUpdates(), theIconDirectory, unsubscribeToBallUpdates(), VioletBall(), and YellowBall().
Referenced by HlaBounceMainWindow().
| void HlaBounceMainWindow::subscribeToBallUpdates | ( | ) | [slot] |
References enableOrDisableWidgets(), myBallController, and BallController::subscribe().
Referenced by setupToolBar().
| void HlaBounceMainWindow::unsubscribeToBallUpdates | ( | ) | [slot] |
References enableOrDisableWidgets(), myBallController, and BallController::unsubscribe().
Referenced by setupToolBar().
| void HlaBounceMainWindow::updateBalls | ( | ) | [slot] |
References BallController::clearLog(), convertFromWString(), drawBalls(), drawRegions(), BallController::getLog(), myBallController, myGraphicsView, myLogTextEdit, myScene, and BallController::update().
Referenced by HlaBounceMainWindow().
QAction* HlaBounceMainWindow::myAcquireBallAction [protected] |
Referenced by enableOrDisableWidgets(), setupMenus(), and setupToolBar().
QAction* HlaBounceMainWindow::myAddBallAction [protected] |
Referenced by enableOrDisableWidgets(), setupMenus(), and setupToolBar().
QAction* HlaBounceMainWindow::myAddDdmRegionAction [protected] |
Referenced by enableOrDisableWidgets(), setupMenus(), and setupToolBar().
bool HlaBounceMainWindow::myAddDdmRegionMode [protected] |
Referenced by enterAddDdmRegionMode(), and exitAddDdmRegionMode().
BallController* HlaBounceMainWindow::myBallController [protected] |
Referenced by acquireBall(), addBall(), addDdmRegion(), changeBallColor(), createAndJoinFederation(), displayTextEvents(), divestBall(), enableOrDisableWidgets(), removeBall(), removeDdmRegions(), resignFromFederation(), setupGraphics(), setupToolBar(), subscribeToBallUpdates(), unsubscribeToBallUpdates(), and updateBalls().
BallMap* HlaBounceMainWindow::myBallData [protected] |
Referenced by acquireBall(), ballSelectedFromList(), divestBall(), drawBalls(), and removeBall().
std::map<std::wstring, QListWidgetItem*> HlaBounceMainWindow::myBallListItemMap [protected] |
Referenced by addBallToList(), ballSelected(), drawBalls(), and removeBallFromList().
QHBoxLayout* HlaBounceMainWindow::myCentralLayout [protected] |
Referenced by layoutWindow().
QWidget* HlaBounceMainWindow::myCentralWidget [protected] |
Referenced by layoutWindow().
QComboBox* HlaBounceMainWindow::myColorComboBox [protected] |
Referenced by changeBallColor(), and setupToolBar().
std::map<BallColor, QString> HlaBounceMainWindow::myColorImageMapping [protected] |
Referenced by drawBalls(), and setupToolBar().
QLabel* HlaBounceMainWindow::myColorLabel [protected] |
Referenced by setupToolBar().
std::map<BallColor, QString> HlaBounceMainWindow::myColorTextMapping [protected] |
Referenced by setupToolBar().
QAction* HlaBounceMainWindow::myCreateAndJoinAction [protected] |
Referenced by enableOrDisableWidgets(), setupMenus(), and setupToolBar().
QAction* HlaBounceMainWindow::myDivestBallAction [protected] |
Referenced by enableOrDisableWidgets(), setupMenus(), and setupToolBar().
QAction* HlaBounceMainWindow::myExitAction [protected] |
Referenced by setupMenus().
QVBoxLayout* HlaBounceMainWindow::myGraphicsLayout [protected] |
Referenced by setupGraphics().
QWidget* HlaBounceMainWindow::myGraphicsLayoutWidget [protected] |
Referenced by layoutWindow(), and setupGraphics().
QGraphicsView* HlaBounceMainWindow::myGraphicsView [protected] |
Referenced by enableOrDisableWidgets(), resizeEvent(), setupGraphics(), and updateBalls().
QSignalMapper* HlaBounceMainWindow::myListSelectionSignalMapper [protected] |
Referenced by setupBallLists().
QSplitter* HlaBounceMainWindow::myListsGraphicsSplitter [protected] |
Referenced by layoutWindow().
QVBoxLayout* HlaBounceMainWindow::myListsLayout [protected] |
Referenced by setupBallLists().
QWidget* HlaBounceMainWindow::myListsLayoutWidget [protected] |
Referenced by layoutWindow(), and setupBallLists().
QAction* HlaBounceMainWindow::myLogAction [protected] |
Referenced by setupToolBar().
QDialog* HlaBounceMainWindow::myLogDialog [protected] |
Referenced by setupToolBar().
QPlainTextEdit* HlaBounceMainWindow::myLogTextEdit [protected] |
Referenced by setupToolBar(), and updateBalls().
QMenu* HlaBounceMainWindow::myMenuFederation [protected] |
Referenced by setupMenus().
QMenu* HlaBounceMainWindow::myMenuFile [protected] |
Referenced by setupMenus().
QMenu* HlaBounceMainWindow::myMenuObjects [protected] |
Referenced by setupMenus().
QMenu* HlaBounceMainWindow::myMenuSubscription [protected] |
Referenced by setupMenus().
QAction* HlaBounceMainWindow::myOptionsAction [protected] |
Referenced by enableOrDisableWidgets(), setupMenus(), and setupToolBar().
Referenced by createAndJoinFederation(), displayOptions(), and setupToolBar().
QLabel* HlaBounceMainWindow::myOtherBallsLabel [protected] |
Referenced by setupBallLists().
QListWidget* HlaBounceMainWindow::myOtherBallsList [protected] |
Referenced by acquireBall(), addBallToList(), ballSelected(), ballSelectedFromList(), drawBalls(), enableOrDisableWidgets(), and setupBallLists().
QLabel* HlaBounceMainWindow::myOwnedBallsLabel [protected] |
Referenced by setupBallLists().
QListWidget* HlaBounceMainWindow::myOwnedBallsList [protected] |
Referenced by addBallToList(), ballSelected(), ballSelectedFromList(), divestBall(), drawBalls(), enableOrDisableWidgets(), removeBall(), and setupBallLists().
DdmRegionMap* HlaBounceMainWindow::myRegionData [protected] |
Referenced by drawRegions(), and enableOrDisableWidgets().
QAction* HlaBounceMainWindow::myRemoveBallAction [protected] |
Referenced by enableOrDisableWidgets(), setupMenus(), and setupToolBar().
QAction* HlaBounceMainWindow::myRemoveDdmRegionsAction [protected] |
Referenced by enableOrDisableWidgets(), setupMenus(), and setupToolBar().
QAction* HlaBounceMainWindow::myResignAndDestroyAction [protected] |
Referenced by enableOrDisableWidgets(), setupMenus(), and setupToolBar().
HlaBounceGraphicsScene* HlaBounceMainWindow::myScene [protected] |
QAction* HlaBounceMainWindow::mySubscribeAction [protected] |
Referenced by enableOrDisableWidgets(), setupMenus(), and setupToolBar().
std::map<QTime, QGraphicsTextItem*> HlaBounceMainWindow::myTextEventsByExpirationTime [protected] |
Referenced by displayTextEvents().
QTimer* HlaBounceMainWindow::myTimer [protected] |
Referenced by HlaBounceMainWindow().
QToolBar* HlaBounceMainWindow::myToolBar [protected] |
Referenced by setupGraphics(), and setupToolBar().
QAction* HlaBounceMainWindow::myUnsubscribeAction [protected] |
Referenced by enableOrDisableWidgets(), setupMenus(), and setupToolBar().
const int HlaBounceMainWindow::theColorKey = 1 [static, protected] |
Referenced by drawBalls().
const QString HlaBounceMainWindow::theIconDirectory [static, protected] |
Referenced by HlaBounceMainWindow(), setupMenus(), and setupToolBar().
const int HlaBounceMainWindow::theIdKey = 0 [static, protected] |
Referenced by acquireBall(), ballSelected(), divestBall(), drawBalls(), drawRegions(), and removeBall().
const int HlaBounceMainWindow::theMaxX = 250 [static, protected] |
Referenced by addBall(), addDdmRegion(), and setupGraphics().
const int HlaBounceMainWindow::theMaxY = 250 [static, protected] |
Referenced by addBall(), addDdmRegion(), and setupGraphics().
const int HlaBounceMainWindow::theMinX = -250 [static, protected] |
Referenced by addBall(), addDdmRegion(), and setupGraphics().
const int HlaBounceMainWindow::theMinY = -250 [static, protected] |
Referenced by addBall(), addDdmRegion(), and setupGraphics().