![]() |
MAK RTIspy API Documentation for HLA Evolved
|
The Interface IMakShooterRTI. More...
Inheritance diagram for federate.IMakShooterRTI:Public Member Functions | |
| void | connect () throws Exception |
| Connect. | |
| boolean | createFedEx (String federationName, URL url) throws Exception |
| Perform Create Federation Execution based on Federation Name and FDD File. | |
| void | joinFedEx (String federateName, String federationName) throws Exception |
| Perform Join Federation Execution based on Federation Name and FDD File. | |
| void | publishShip () throws Exception |
| Publish ship. | |
| void | publishShot () throws Exception |
| Publish shot. | |
| void | registerShip () throws Exception |
| Register ship. | |
| void | registerShots (Queue< Shot > shotsToRegister) throws Exception |
| Register shots. | |
| void | subscribeShip () throws Exception |
| Subscribe to ships. | |
| void | subscribeShot () throws Exception |
| Subscribe to shots. | |
| void | unPublishShip () throws Exception |
| Un publish ship. | |
| void | unPublishShot () throws Exception |
| Un publish shot. | |
| void | unRegisterShip () throws Exception |
| Un register ship. | |
| void | unRegisterShots () throws Exception |
| Un register shots. | |
| void | evokeCallbacks (double d, double e) throws Exception |
| Evoke callbacks. | |
| void | updateShipAttributes (Ship ship) throws Exception |
| Update ship attributes. | |
| void | updateShotAttributes (Shot shot) throws Exception |
| Update shot attributes. | |
| E_PlayerIdentity | determineMyIdentity () throws Exception |
| Determine player identity. | |
| boolean | arePlayersAssembled () |
| E_PlayerIdentity | getMyIdentity () |
| void | setMyship (Ship ship) |
| void | setEnemyShip (Ship ship) |
| void | sendDetonationInteraction (Ship ship, Shot shot) throws Exception |
| void | setBoard (Board board) |
| void | subscribeDetonation () throws Exception |
| void | publishDetonation () throws Exception |
| String | getDefaultFedFile () |
| boolean | isConnected () |
| void | disconnect () throws Exception |
| void | resignFedEx () throws Exception |
| void | destroyFederationEx () throws Exception |
| void | initialize () throws Exception |
| void | requestListFedEx () throws Exception |
| void | registerDialogForListFederation (StartJoinGameDialog configureGameDialog) |
| void | setIdentityObserver () |
The Interface IMakShooterRTI.
| boolean federate.IMakShooterRTI.arePlayersAssembled | ( | ) |
Implemented in federate.NullMakShooterRTI, and federate.RTI1516e.MakShooterRTI1516e.
Referenced by federate.RTI1516e.Test.main().
| void federate.IMakShooterRTI.connect | ( | ) | throws Exception |
Connect.
| Exception | the exception |
Implemented in federate.RTI1516e.MakShooterRTI1516e, and federate.NullMakShooterRTI.
Referenced by ui.Board.addStartNewGameButton(), and federate.RTI1516e.Test.main().
| boolean federate.IMakShooterRTI.createFedEx | ( | String | federationName, |
| URL | url | ||
| ) | throws Exception |
Perform Create Federation Execution based on Federation Name and FDD File.
| Exception | the exception |
Implemented in federate.RTI1516e.MakShooterRTI1516e, and federate.NullMakShooterRTI.
Referenced by federate.RTI1516e.Test.main().
| void federate.IMakShooterRTI.destroyFederationEx | ( | ) | throws Exception |
Implemented in federate.RTI1516e.MakShooterRTI1516e, and federate.NullMakShooterRTI.
Determine player identity.
| Exception | the exception |
Implemented in federate.RTI1516e.MakShooterRTI1516e, and federate.NullMakShooterRTI.
Referenced by federate.RTI1516e.Test.main().
| void federate.IMakShooterRTI.disconnect | ( | ) | throws Exception |
Implemented in federate.RTI1516e.MakShooterRTI1516e, and federate.NullMakShooterRTI.
Referenced by ui.Board.addStartNewGameButton().
| void federate.IMakShooterRTI.evokeCallbacks | ( | double | d, |
| double | e | ||
| ) | throws Exception |
Evoke callbacks.
| d | the d |
| e | the e |
| Exception | the exception |
Implemented in federate.RTI1516e.MakShooterRTI1516e, and federate.NullMakShooterRTI.
Referenced by federate.RTI1516e.Test.main(), and ui.StartJoinGameDialog.StartJoinGameDialog().
| String federate.IMakShooterRTI.getDefaultFedFile | ( | ) |
Implemented in federate.RTI1516e.MakShooterRTI1516e, and federate.NullMakShooterRTI.
Referenced by federate.RTI1516e.Test.main(), and ui.Board.performStartupStuff().
Implemented in federate.RTI1516e.MakShooterRTI1516e, and federate.NullMakShooterRTI.
Referenced by federate.RTI1516e.Test.main().
| void federate.IMakShooterRTI.initialize | ( | ) | throws Exception |
Implemented in federate.NullMakShooterRTI, and federate.RTI1516e.MakShooterRTI1516e.
| boolean federate.IMakShooterRTI.isConnected | ( | ) |
Implemented in federate.RTI1516e.MakShooterRTI1516e, and federate.NullMakShooterRTI.
Referenced by ui.Board.addDisconnectFromGameButton(), ui.Board.addStartNewGameButton(), and ui.StartJoinGameDialog.StartJoinGameDialog().
| void federate.IMakShooterRTI.joinFedEx | ( | String | federateName, |
| String | federationName | ||
| ) | throws Exception |
Perform Join Federation Execution based on Federation Name and FDD File.
| federateName | the federate name |
| Exception | the exception |
Implemented in federate.RTI1516e.MakShooterRTI1516e, and federate.NullMakShooterRTI.
Referenced by federate.RTI1516e.Test.main().
| void federate.IMakShooterRTI.publishDetonation | ( | ) | throws Exception |
Implemented in federate.RTI1516e.MakShooterRTI1516e, and federate.NullMakShooterRTI.
Referenced by federate.RTI1516e.Test.main().
| void federate.IMakShooterRTI.publishShip | ( | ) | throws Exception |
Publish ship.
| Exception | the exception |
Implemented in federate.RTI1516e.MakShooterRTI1516e, and federate.NullMakShooterRTI.
Referenced by federate.RTI1516e.Test.main().
| void federate.IMakShooterRTI.publishShot | ( | ) | throws Exception |
Publish shot.
| Exception | the exception |
Implemented in federate.RTI1516e.MakShooterRTI1516e, and federate.NullMakShooterRTI.
Referenced by federate.RTI1516e.Test.main().
| void federate.IMakShooterRTI.registerDialogForListFederation | ( | StartJoinGameDialog | configureGameDialog | ) |
Implemented in federate.RTI1516e.MakShooterRTI1516e, and federate.NullMakShooterRTI.
Referenced by ui.Board.addStartNewGameButton().
| void federate.IMakShooterRTI.registerShip | ( | ) | throws Exception |
Register ship.
| Exception | the exception |
Implemented in federate.RTI1516e.MakShooterRTI1516e, and federate.NullMakShooterRTI.
Referenced by federate.RTI1516e.Test.main().
| void federate.IMakShooterRTI.registerShots | ( | Queue< Shot > | shotsToRegister | ) | throws Exception |
Register shots.
| shotsToRegister | the shots to register |
| Exception | the exception |
Implemented in federate.RTI1516e.MakShooterRTI1516e, and federate.NullMakShooterRTI.
Referenced by federate.RTI1516e.Test.main().
| void federate.IMakShooterRTI.requestListFedEx | ( | ) | throws Exception |
Implemented in federate.RTI1516e.MakShooterRTI1516e, and federate.NullMakShooterRTI.
Referenced by ui.StartJoinGameDialog.StartJoinGameDialog().
| void federate.IMakShooterRTI.resignFedEx | ( | ) | throws Exception |
Implemented in federate.RTI1516e.MakShooterRTI1516e, and federate.NullMakShooterRTI.
| void federate.IMakShooterRTI.sendDetonationInteraction | ( | Ship | ship, |
| Shot | shot | ||
| ) | throws Exception |
Implemented in federate.RTI1516e.MakShooterRTI1516e, and federate.NullMakShooterRTI.
Referenced by controllers.ShotManager.performIntenseDetonationCheck().
| void federate.IMakShooterRTI.setBoard | ( | Board | board | ) |
Implemented in federate.RTI1516e.MakShooterRTI1516e, and federate.NullMakShooterRTI.
Referenced by federate.RTI1516e.Test.main().
| void federate.IMakShooterRTI.setEnemyShip | ( | Ship | ship | ) |
Implemented in federate.RTI1516e.MakShooterRTI1516e, and federate.NullMakShooterRTI.
Referenced by federate.RTI1516e.Test.main().
Implemented in federate.RTI1516e.MakShooterRTI1516e, and federate.NullMakShooterRTI.
| void federate.IMakShooterRTI.setMyship | ( | Ship | ship | ) |
Implemented in federate.RTI1516e.MakShooterRTI1516e, and federate.NullMakShooterRTI.
Referenced by federate.RTI1516e.Test.main().
| void federate.IMakShooterRTI.subscribeDetonation | ( | ) | throws Exception |
Implemented in federate.RTI1516e.MakShooterRTI1516e, and federate.NullMakShooterRTI.
Referenced by federate.RTI1516e.Test.main().
| void federate.IMakShooterRTI.subscribeShip | ( | ) | throws Exception |
Subscribe to ships.
| Exception | the exception |
Implemented in federate.RTI1516e.MakShooterRTI1516e, and federate.NullMakShooterRTI.
Referenced by federate.RTI1516e.Test.main().
| void federate.IMakShooterRTI.subscribeShot | ( | ) | throws Exception |
Subscribe to shots.
| Exception | the exception |
Implemented in federate.RTI1516e.MakShooterRTI1516e, and federate.NullMakShooterRTI.
Referenced by federate.RTI1516e.Test.main().
| void federate.IMakShooterRTI.unPublishShip | ( | ) | throws Exception |
Un publish ship.
| Exception | the exception |
Implemented in federate.RTI1516e.MakShooterRTI1516e, and federate.NullMakShooterRTI.
Referenced by federate.RTI1516e.Test.main().
| void federate.IMakShooterRTI.unPublishShot | ( | ) | throws Exception |
Un publish shot.
| Exception | the exception |
Implemented in federate.RTI1516e.MakShooterRTI1516e, and federate.NullMakShooterRTI.
| void federate.IMakShooterRTI.unRegisterShip | ( | ) | throws Exception |
Un register ship.
| Exception | the exception |
Implemented in federate.RTI1516e.MakShooterRTI1516e, and federate.NullMakShooterRTI.
Referenced by federate.RTI1516e.Test.main().
| void federate.IMakShooterRTI.unRegisterShots | ( | ) | throws Exception |
Un register shots.
| Exception | the exception |
Implemented in federate.RTI1516e.MakShooterRTI1516e, and federate.NullMakShooterRTI.
| void federate.IMakShooterRTI.updateShipAttributes | ( | Ship | ship | ) | throws Exception |
Update ship attributes.
| ship | the ship |
| Exception | the exception |
Implemented in federate.RTI1516e.MakShooterRTI1516e, and federate.NullMakShooterRTI.
Referenced by controllers.KeyboardShipController.moveShip().
| void federate.IMakShooterRTI.updateShotAttributes | ( | Shot | shot | ) | throws Exception |
Update shot attributes.
| shot | the shot |
| Exception | the exception |
Implemented in federate.RTI1516e.MakShooterRTI1516e, and federate.NullMakShooterRTI.
Referenced by controllers.ShotManager.incrementShot(), and controllers.ShotManager.removeShotFromUI().