Constructor & Destructor Documentation
References connect(), displayConnErrorAndExit(), displayTextEvents(), enableOrDisableWidgets(), BallController::isConnected(), layoutWindow(), msecBetweenUpdates, myTimer, setupBallLists(), setupGraphics(), setupMenus(), setupToolBar(), theIconDirectory, and updateBalls().
| HlaBounceMainWindow::~HlaBounceMainWindow |
( |
| ) |
|
|
virtual |
| HlaBounceMainWindow::HlaBounceMainWindow |
( |
| ) |
|
|
private |
Member Function Documentation
| void HlaBounceMainWindow::acquireBall |
( |
| ) |
|
|
slot |
| void HlaBounceMainWindow::addBall |
( |
| ) |
|
|
slot |
| void HlaBounceMainWindow::addBallToList |
( |
Ball * |
ball | ) |
|
|
protected |
| 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 |
| void HlaBounceMainWindow::ballSelectedFromList |
( |
QWidget * |
list | ) |
|
|
slot |
| void HlaBounceMainWindow::changeBallColor |
( |
int |
newColor | ) |
|
|
slot |
| std::string HlaBounceMainWindow::convertFromWString |
( |
const std::wstring & |
inString | ) |
const |
|
inlineprotected |
| std::wstring HlaBounceMainWindow::convertToWString |
( |
const std::string & |
inString | ) |
const |
|
inlineprotected |
| void HlaBounceMainWindow::createAndJoinFederation |
( |
| ) |
|
|
slot |
| void HlaBounceMainWindow::displayConnErrorAndExit |
( |
| ) |
|
|
slot |
| void HlaBounceMainWindow::displayOptions |
( |
| ) |
|
|
slot |
| void HlaBounceMainWindow::displayTextEvents |
( |
| ) |
|
|
slot |
| void HlaBounceMainWindow::divestBall |
( |
| ) |
|
|
slot |
| 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 |
| void HlaBounceMainWindow::exitAddDdmRegionMode |
( |
| ) |
|
|
slot |
| void HlaBounceMainWindow::layoutWindow |
( |
const QString & |
protocolName | ) |
|
|
protected |
| void HlaBounceMainWindow::removeBall |
( |
| ) |
|
|
slot |
| void HlaBounceMainWindow::removeBallFromList |
( |
Ball * |
ball | ) |
|
|
protected |
| void HlaBounceMainWindow::removeDdmRegions |
( |
| ) |
|
|
slot |
| void HlaBounceMainWindow::resignFromFederation |
( |
| ) |
|
|
slot |
| void HlaBounceMainWindow::resizeEvent |
( |
QResizeEvent * |
event | ) |
|
|
protectedvirtual |
| void HlaBounceMainWindow::setupBallLists |
( |
| ) |
|
|
protected |
| 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 |
| void HlaBounceMainWindow::unsubscribeToBallUpdates |
( |
| ) |
|
|
slot |
| void HlaBounceMainWindow::updateBalls |
( |
| ) |
|
|
slot |
Member Data Documentation
| QAction* HlaBounceMainWindow::myAcquireBallAction |
|
protected |
| QAction* HlaBounceMainWindow::myAddBallAction |
|
protected |
| QAction* HlaBounceMainWindow::myAddDdmRegionAction |
|
protected |
| bool HlaBounceMainWindow::myAddDdmRegionMode |
|
protected |
Referenced by acquireBall(), addBall(), addDdmRegion(), changeBallColor(), createAndJoinFederation(), displayTextEvents(), divestBall(), enableOrDisableWidgets(), removeBall(), removeDdmRegions(), resignFromFederation(), setupGraphics(), setupToolBar(), subscribeToBallUpdates(), unsubscribeToBallUpdates(), and updateBalls().
| BallMap* HlaBounceMainWindow::myBallData |
|
protected |
| std::map<std::wstring, QListWidgetItem*> HlaBounceMainWindow::myBallListItemMap |
|
protected |
| QHBoxLayout* HlaBounceMainWindow::myCentralLayout |
|
protected |
| QWidget* HlaBounceMainWindow::myCentralWidget |
|
protected |
| QComboBox* HlaBounceMainWindow::myColorComboBox |
|
protected |
| std::map<BallColor, QString> HlaBounceMainWindow::myColorImageMapping |
|
protected |
| QLabel* HlaBounceMainWindow::myColorLabel |
|
protected |
| std::map<BallColor, QString> HlaBounceMainWindow::myColorTextMapping |
|
protected |
| QAction* HlaBounceMainWindow::myCreateAndJoinAction |
|
protected |
| QAction* HlaBounceMainWindow::myDivestBallAction |
|
protected |
| QAction* HlaBounceMainWindow::myExitAction |
|
protected |
| QVBoxLayout* HlaBounceMainWindow::myGraphicsLayout |
|
protected |
| QWidget* HlaBounceMainWindow::myGraphicsLayoutWidget |
|
protected |
| QGraphicsView* HlaBounceMainWindow::myGraphicsView |
|
protected |
| QSignalMapper* HlaBounceMainWindow::myListSelectionSignalMapper |
|
protected |
| QSplitter* HlaBounceMainWindow::myListsGraphicsSplitter |
|
protected |
| QVBoxLayout* HlaBounceMainWindow::myListsLayout |
|
protected |
| QWidget* HlaBounceMainWindow::myListsLayoutWidget |
|
protected |
| QAction* HlaBounceMainWindow::myLogAction |
|
protected |
| QDialog* HlaBounceMainWindow::myLogDialog |
|
protected |
| QPlainTextEdit* HlaBounceMainWindow::myLogTextEdit |
|
protected |
| QMenu* HlaBounceMainWindow::myMenuFederation |
|
protected |
| QMenu* HlaBounceMainWindow::myMenuFile |
|
protected |
| QMenu* HlaBounceMainWindow::myMenuObjects |
|
protected |
| QMenu* HlaBounceMainWindow::myMenuSubscription |
|
protected |
| QAction* HlaBounceMainWindow::myOptionsAction |
|
protected |
| QLabel* HlaBounceMainWindow::myOtherBallsLabel |
|
protected |
| QListWidget* HlaBounceMainWindow::myOtherBallsList |
|
protected |
| QLabel* HlaBounceMainWindow::myOwnedBallsLabel |
|
protected |
| QListWidget* HlaBounceMainWindow::myOwnedBallsList |
|
protected |
| QAction* HlaBounceMainWindow::myRemoveBallAction |
|
protected |
| QAction* HlaBounceMainWindow::myRemoveDdmRegionsAction |
|
protected |
| QAction* HlaBounceMainWindow::myResignAndDestroyAction |
|
protected |
Referenced by addDdmRegion(), ballSelected(), ballSelectedFromList(), displayTextEvents(), drawBalls(), drawRegions(), enterAddDdmRegionMode(), exitAddDdmRegionMode(), resizeEvent(), setupGraphics(), and updateBalls().
| QAction* HlaBounceMainWindow::mySubscribeAction |
|
protected |
| std::map<QTime, QGraphicsTextItem*> HlaBounceMainWindow::myTextEventsByExpirationTime |
|
protected |
| QTimer* HlaBounceMainWindow::myTimer |
|
protected |
| QToolBar* HlaBounceMainWindow::myToolBar |
|
protected |
| QAction* HlaBounceMainWindow::myUnsubscribeAction |
|
protected |
| const int HlaBounceMainWindow::theColorKey = 1 |
|
staticprotected |
| const QString HlaBounceMainWindow::theIconDirectory |
|
staticprotected |
| const int HlaBounceMainWindow::theIdKey = 0 |
|
staticprotected |
| const int HlaBounceMainWindow::theMaxX = 250 |
|
staticprotected |
| const int HlaBounceMainWindow::theMaxY = 250 |
|
staticprotected |
| const int HlaBounceMainWindow::theMinX = -250 |
|
staticprotected |
| const int HlaBounceMainWindow::theMinY = -250 |
|
staticprotected |
The documentation for this class was generated from the following files: