Index

Package: Events.Corrals

Description

package Events.Corrals is

Classes

Corral

type Corral is new Object and Process with private;

Ancestors:

Primitive operations:

Add_Listener
Adjust (overriding Objects.Adjust)
Construct
Delete (overriding Objects.Delete)
Get_Process_Name (overriding Processes.Get_Process_Name)
Objects.Construct (Inherited)
Objects.Object_Read (Inherited)
Objects.Object_Write (Inherited)
Remove_Listener
Tick (overriding Processes.Tick)
To_String (overriding Objects.To_String)
Trigger_Event

References:

events-corrals.ads:12:10 (declaration)
events-corrals.adb:11:41 (reference)
events-corrals.adb:20:47 (reference)
events-corrals.adb:32:37 (reference)
events-corrals.adb:42:40 (reference)
events-corrals.adb:52:37 (reference)
events-corrals.adb:62:38 (reference)
events-corrals.adb:70:46 (reference)
events-corrals.adb:78:42 (reference)
events-corrals.adb:88:50 (reference)
events-corrals.adb:100:35 (reference)
events-corrals.adb:131:39 (reference)
events-corrals.adb:139:48 (reference)
events-corrals.ads:13:33 (reference)
events-corrals.ads:25:47 (reference)
events-corrals.ads:31:38 (reference)
events-corrals.ads:36:42 (reference)
events-corrals.ads:42:50 (reference)
events-corrals.ads:49:48 (reference)
events-corrals.ads:208:10 (full declaration)
events-corrals.ads:216:37 (reference)
events-corrals.ads:218:40 (reference)
events-corrals.ads:220:37 (reference)
events-corrals.ads:222:46 (reference)
events-corrals.ads:224:35 (reference)
events-corrals.ads:226:39 (reference)

Types

A_Corral

type A_Corral is access all Corral'Class;

References:

events-corrals.ads:13:10 (declaration)
audio_players.adb:88:53 (reference)
audio_players.adb:108:72 (reference)
audio_players.ads:20:53 (reference)
audio_players.ads:58:25 (reference)
audio_players.ads:68:72 (reference)
events-corrals.adb:10:52 (reference)
events-corrals.adb:11:25 (reference)
events-corrals.adb:46:30 (reference)
events-corrals.adb:154:37 (reference)
events-corrals.adb:364:72 (reference)
events-corrals.adb:426:42 (reference)
events-corrals.ads:16:52 (reference)
events-corrals.ads:56:37 (reference)
events-corrals.ads:143:25 (reference)
events-corrals.ads:169:45 (reference)
events-corrals.ads:199:42 (reference)
events-corrals.ads:202:20 (reference)
events-manager.adb:79:48 (reference)
events-manager.adb:100:44 (reference)
events-manager.adb:122:70 (reference)
events-manager.adb:140:44 (reference)
events-manager.adb:154:72 (reference)
events-manager.adb:216:52 (reference)
events-manager.adb:267:54 (reference)
events-manager.ads:13:52 (reference)
events-manager.ads:39:54 (reference)
game_views.adb:86:74 (reference)
game_views.ads:36:74 (reference)
game_views.ads:103:27 (reference)
games.adb:101:54 (reference)
games.ads:32:54 (reference)
games.ads:68:27 (reference)
physics-managers.adb:17:48 (reference)
physics-managers.adb:43:44 (reference)
physics-managers.ads:23:48 (reference)
physics-managers.ads:70:22 (reference)
physics-managers.ads:83:44 (reference)
worlds.adb:209:54 (reference)
worlds.ads:62:54 (reference)
worlds.ads:216:24 (reference)

Subprograms & Entries

Create_Corral

function Create_Corral
( name: String )
return A_Corral;

References:

events-corrals.ads:16:14 (declaration)
events-corrals.adb:10:14 (body)
events-corrals.adb:15:9 (label)
events-corrals.ads:18:27 (reference)
game_views.adb:52:24 (reference)
games.adb:54:24 (reference)

Called by:

Game_Views.Construct defined at game_views.ads:110:15
Games.Construct defined at games.ads:79:15

Calls:

Construct defined at events-corrals.ads:218:15
Creates a new corral to receive events from the global event manager.

Add_Listener

procedure Add_Listener
( this: access Corral;
listener: not null A_Event_Listener;
evtName: String );

References:

events-corrals.ads:25:15 (declaration)
audio_players.adb:198:25 (dispatching call)
audio_players.adb:199:25 (dispatching call)
audio_players.adb:200:25 (dispatching call)
events-corrals.adb:20:15 (body)
events-corrals.adb:27:9 (label)
game_views.adb:253:25 (dispatching call)
game_views.adb:254:25 (dispatching call)
game_views.adb:255:25 (dispatching call)
game_views.adb:256:25 (dispatching call)
game_views.adb:257:25 (dispatching call)
game_views.adb:258:25 (dispatching call)
game_views.adb:259:25 (dispatching call)
game_views.adb:260:25 (dispatching call)
game_views.adb:261:25 (dispatching call)
game_views.adb:262:25 (dispatching call)
game_views.adb:263:25 (dispatching call)
game_views.adb:264:25 (dispatching call)
game_views.adb:265:25 (dispatching call)
game_views.adb:266:25 (dispatching call)
games.adb:231:21 (dispatching call)
games.adb:232:21 (dispatching call)
games.adb:233:21 (dispatching call)
physics-managers.adb:47:21 (dispatching call)
physics-managers.adb:48:21 (dispatching call)
physics-managers.adb:49:21 (dispatching call)
physics-managers.adb:50:21 (dispatching call)
physics-managers.adb:51:21 (dispatching call)
physics-managers.adb:52:21 (dispatching call)
physics-managers.adb:53:21 (dispatching call)
physics-managers.adb:54:21 (dispatching call)
physics-managers.adb:55:21 (dispatching call)
widgets-containers-scenes.adb:33:34 (dispatching call)
widgets-containers-scenes.adb:34:34 (dispatching call)
widgets-containers-scenes.adb:35:34 (dispatching call)
widgets-containers-scenes.adb:36:34 (dispatching call)
widgets-containers-scenes.adb:37:34 (dispatching call)
widgets-containers-scenes.adb:38:34 (dispatching call)
widgets-containers-scenes.adb:39:34 (dispatching call)
widgets-containers-scenes.adb:40:34 (dispatching call)
widgets-containers-scenes.adb:41:34 (dispatching call)
widgets-containers-scenes.adb:42:34 (dispatching call)
worlds.adb:605:21 (dispatching call)
worlds.adb:606:21 (dispatching call)
worlds.adb:607:21 (dispatching call)
worlds.adb:608:21 (dispatching call)
worlds.adb:609:21 (dispatching call)
worlds.adb:610:21 (dispatching call)
worlds.adb:611:21 (dispatching call)
worlds.adb:612:21 (dispatching call)
worlds.adb:613:21 (dispatching call)
worlds.adb:614:21 (dispatching call)
game_views-ked.adb:344:25 (dispatching call)
game_views-ked.adb:345:25 (dispatching call)
game_views-ked.adb:346:25 (dispatching call)
game_views-ked.adb:347:25 (dispatching call)
games-ked.adb:27:25 (dispatching call)
games-ked.adb:203:25 (dispatching call)
games-ked.adb:204:25 (dispatching call)
games-ked.adb:205:25 (dispatching call)
games-ked.adb:206:25 (dispatching call)
games-ked.adb:207:25 (dispatching call)
games-ked.adb:208:25 (dispatching call)
games-ked.adb:209:25 (dispatching call)
widgets-containers-panels-dialogs-properties.adb:95:34 (dispatching call)
widgets-containers-panels-dialogs-resize_world.adb:86:34 (dispatching call)
widgets-palettes-enemies.adb:40:34 (dispatching call)
widgets-palettes-items.adb:40:34 (dispatching call)
widgets-palettes-matrices.adb:42:34 (dispatching call)
widgets-palettes-matrices.adb:43:34 (dispatching call)
widgets-palettes-tiles.adb:33:34 (dispatching call)
widgets-palettes-tiles.adb:34:34 (dispatching call)

Called by:

Audio_Players.Start defined at audio_players.ads:25:15
Audio_Players.Start defined at audio_players.ads:25:15
Audio_Players.Start defined at audio_players.ads:25:15
Game_Views.Ked.Start defined at game_views-ked.ads:80:15
Game_Views.Ked.Start defined at game_views-ked.ads:80:15
Game_Views.Ked.Start defined at game_views-ked.ads:80:15
Game_Views.Ked.Start defined at game_views-ked.ads:80:15
Game_Views.Start defined at game_views.ads:61:15
Game_Views.Start defined at game_views.ads:61:15
Game_Views.Start defined at game_views.ads:61:15
Game_Views.Start defined at game_views.ads:61:15
Game_Views.Start defined at game_views.ads:61:15
Game_Views.Start defined at game_views.ads:61:15
Game_Views.Start defined at game_views.ads:61:15
Game_Views.Start defined at game_views.ads:61:15
Game_Views.Start defined at game_views.ads:61:15
Game_Views.Start defined at game_views.ads:61:15
Game_Views.Start defined at game_views.ads:61:15
Game_Views.Start defined at game_views.ads:61:15
Game_Views.Start defined at game_views.ads:61:15
Game_Views.Start defined at game_views.ads:61:15
Games.Ked.Construct defined at games-ked.ads:23:15
Games.Ked.Start defined at games-ked.ads:62:15
Games.Ked.Start defined at games-ked.ads:62:15
Games.Ked.Start defined at games-ked.ads:62:15
Games.Ked.Start defined at games-ked.ads:62:15
Games.Ked.Start defined at games-ked.ads:62:15
Games.Ked.Start defined at games-ked.ads:62:15
Games.Ked.Start defined at games-ked.ads:62:15
Games.Start defined at games.ads:43:15
Games.Start defined at games.ads:43:15
Games.Start defined at games.ads:43:15
Physics.Managers.Construct defined at physics-managers.ads:82:15
Physics.Managers.Construct defined at physics-managers.ads:82:15
Physics.Managers.Construct defined at physics-managers.ads:82:15
Physics.Managers.Construct defined at physics-managers.ads:82:15
Physics.Managers.Construct defined at physics-managers.ads:82:15
Physics.Managers.Construct defined at physics-managers.ads:82:15
Physics.Managers.Construct defined at physics-managers.ads:82:15
Physics.Managers.Construct defined at physics-managers.ads:82:15
Physics.Managers.Construct defined at physics-managers.ads:82:15
Widgets.Containers.Panels.Dialogs.Properties.Construct defined at widgets-containers-panels-dialogs-properties.ads:23:15
Widgets.Containers.Panels.Dialogs.Resize_World.Construct defined at widgets-containers-panels-dialogs-resize_world.ads:27:15
Widgets.Containers.Scenes.Construct defined at widgets-containers-scenes.ads:116:15
Widgets.Containers.Scenes.Construct defined at widgets-containers-scenes.ads:116:15
Widgets.Containers.Scenes.Construct defined at widgets-containers-scenes.ads:116:15
Widgets.Containers.Scenes.Construct defined at widgets-containers-scenes.ads:116:15
Widgets.Containers.Scenes.Construct defined at widgets-containers-scenes.ads:116:15
Widgets.Containers.Scenes.Construct defined at widgets-containers-scenes.ads:116:15
Widgets.Containers.Scenes.Construct defined at widgets-containers-scenes.ads:116:15
Widgets.Containers.Scenes.Construct defined at widgets-containers-scenes.ads:116:15
Widgets.Containers.Scenes.Construct defined at widgets-containers-scenes.ads:116:15
Widgets.Containers.Scenes.Construct defined at widgets-containers-scenes.ads:116:15
Widgets.Palettes.Enemies.Construct defined at widgets-palettes-enemies.ads:25:15
Widgets.Palettes.Items.Construct defined at widgets-palettes-items.ads:25:15
Widgets.Palettes.Matrices.Construct defined at widgets-palettes-matrices.ads:47:15
Widgets.Palettes.Matrices.Construct defined at widgets-palettes-matrices.ads:47:15
Widgets.Palettes.Tiles.Construct defined at widgets-palettes-tiles.ads:27:15
Widgets.Palettes.Tiles.Construct defined at widgets-palettes-tiles.ads:27:15
Worlds.On_Attach defined at worlds.ads:281:15
Worlds.On_Attach defined at worlds.ads:281:15
Worlds.On_Attach defined at worlds.ads:281:15
Worlds.On_Attach defined at worlds.ads:281:15
Worlds.On_Attach defined at worlds.ads:281:15
Worlds.On_Attach defined at worlds.ads:281:15
Worlds.On_Attach defined at worlds.ads:281:15
Worlds.On_Attach defined at worlds.ads:281:15
Worlds.On_Attach defined at worlds.ads:281:15
Worlds.On_Attach defined at worlds.ads:281:15

Calls:

Add defined at events-corrals.ads:151:15
Get_List defined at events-corrals.ads:195:19
Registers an object as a listener for a specific type of event. Listeners will receive all events sent to this corral unless the event has been consumed by an earlier registered handler that wants to prevent an event from propagating. Event listeners are notified in the order in which they register with the corral.

Get_Name

function Get_Name
( this: access Corral )
return String;

References:

events-corrals.ads:31:14 (declaration)
events-corrals.adb:62:14 (body)
events-corrals.adb:65:9 (label)
events-corrals.adb:133:55 (reference)
events-manager.adb:128:52 (dispatching call)
events-manager.adb:163:39 (dispatching call)

Called by:

Events.Manager.Register defined at events-manager.adb:122:15
Events.Manager.Unregister defined at events-manager.adb:154:15
To_String defined at events-corrals.ads:226:14

Calls:

To_String defined at a-strunb.ads:65:13
Returns the name of the corral.

Queue_Event

procedure Queue_Event
( this: access Corral;
evt: in out A_Event );

References:

events-corrals.ads:36:15 (declaration)
events-corrals.adb:78:15 (body)
events-corrals.adb:83:9 (label)
events-manager.adb:105:24 (dispatching call)
events-manager.adb:107:24 (dispatching call)

Called by:

Events.Manager.Queue_Event.Send_To_Corral defined at events-manager.adb:100:19
Events.Manager.Queue_Event.Send_To_Corral defined at events-manager.adb:100:19

Calls:

Add defined at events-corrals.ads:115:19
Queue an event to be dispatched to all the registered listener objects. The event will be consumed.

Remove_Listener

procedure Remove_Listener
( this: access Corral;
listener: not null A_Event_Listener;
evtName: String );

References:

events-corrals.ads:42:15 (declaration)
audio_players.adb:210:25 (dispatching call)
audio_players.adb:211:25 (dispatching call)
audio_players.adb:212:25 (dispatching call)
events-corrals.adb:88:15 (body)
events-corrals.adb:95:9 (label)
game_views.adb:292:25 (dispatching call)
game_views.adb:293:25 (dispatching call)
game_views.adb:294:25 (dispatching call)
game_views.adb:295:25 (dispatching call)
game_views.adb:296:25 (dispatching call)
game_views.adb:297:25 (dispatching call)
game_views.adb:298:25 (dispatching call)
game_views.adb:299:25 (dispatching call)
game_views.adb:300:25 (dispatching call)
game_views.adb:301:25 (dispatching call)
game_views.adb:302:25 (dispatching call)
game_views.adb:303:25 (dispatching call)
game_views.adb:304:25 (dispatching call)
game_views.adb:305:25 (dispatching call)
games.adb:262:21 (dispatching call)
games.adb:263:21 (dispatching call)
games.adb:264:21 (dispatching call)
physics-managers.adb:65:21 (dispatching call)
physics-managers.adb:66:21 (dispatching call)
physics-managers.adb:67:21 (dispatching call)
physics-managers.adb:68:21 (dispatching call)
physics-managers.adb:69:21 (dispatching call)
physics-managers.adb:70:21 (dispatching call)
physics-managers.adb:71:21 (dispatching call)
physics-managers.adb:72:21 (dispatching call)
physics-managers.adb:73:21 (dispatching call)
widgets-containers-scenes.adb:69:34 (dispatching call)
widgets-containers-scenes.adb:70:34 (dispatching call)
widgets-containers-scenes.adb:71:34 (dispatching call)
widgets-containers-scenes.adb:72:34 (dispatching call)
widgets-containers-scenes.adb:73:34 (dispatching call)
widgets-containers-scenes.adb:74:34 (dispatching call)
widgets-containers-scenes.adb:75:34 (dispatching call)
widgets-containers-scenes.adb:76:34 (dispatching call)
widgets-containers-scenes.adb:77:34 (dispatching call)
widgets-containers-scenes.adb:78:34 (dispatching call)
worlds.adb:625:21 (dispatching call)
worlds.adb:626:21 (dispatching call)
worlds.adb:627:21 (dispatching call)
worlds.adb:628:21 (dispatching call)
worlds.adb:629:21 (dispatching call)
worlds.adb:630:21 (dispatching call)
worlds.adb:631:21 (dispatching call)
worlds.adb:632:21 (dispatching call)
worlds.adb:633:21 (dispatching call)
worlds.adb:634:21 (dispatching call)
game_views-ked.adb:357:25 (dispatching call)
game_views-ked.adb:358:25 (dispatching call)
game_views-ked.adb:359:25 (dispatching call)
game_views-ked.adb:360:25 (dispatching call)
games-ked.adb:35:25 (dispatching call)
games-ked.adb:219:25 (dispatching call)
games-ked.adb:220:25 (dispatching call)
games-ked.adb:221:25 (dispatching call)
games-ked.adb:222:25 (dispatching call)
games-ked.adb:223:25 (dispatching call)
games-ked.adb:224:25 (dispatching call)
games-ked.adb:225:25 (dispatching call)
widgets-containers-panels-dialogs-properties.adb:103:34 (dispatching call)
widgets-containers-panels-dialogs-resize_world.adb:94:34 (dispatching call)
widgets-palettes-enemies.adb:48:34 (dispatching call)
widgets-palettes-items.adb:48:34 (dispatching call)
widgets-palettes-matrices.adb:53:34 (dispatching call)
widgets-palettes-matrices.adb:54:34 (dispatching call)
widgets-palettes-tiles.adb:43:34 (dispatching call)
widgets-palettes-tiles.adb:44:34 (dispatching call)

Called by:

Audio_Players.Stop defined at audio_players.ads:29:15
Audio_Players.Stop defined at audio_players.ads:29:15
Audio_Players.Stop defined at audio_players.ads:29:15
Game_Views.Ked.Stop defined at game_views-ked.ads:82:15
Game_Views.Ked.Stop defined at game_views-ked.ads:82:15
Game_Views.Ked.Stop defined at game_views-ked.ads:82:15
Game_Views.Ked.Stop defined at game_views-ked.ads:82:15
Game_Views.Stop defined at game_views.ads:65:15
Game_Views.Stop defined at game_views.ads:65:15
Game_Views.Stop defined at game_views.ads:65:15
Game_Views.Stop defined at game_views.ads:65:15
Game_Views.Stop defined at game_views.ads:65:15
Game_Views.Stop defined at game_views.ads:65:15
Game_Views.Stop defined at game_views.ads:65:15
Game_Views.Stop defined at game_views.ads:65:15
Game_Views.Stop defined at game_views.ads:65:15
Game_Views.Stop defined at game_views.ads:65:15
Game_Views.Stop defined at game_views.ads:65:15
Game_Views.Stop defined at game_views.ads:65:15
Game_Views.Stop defined at game_views.ads:65:15
Game_Views.Stop defined at game_views.ads:65:15
Games.Ked.Delete defined at games-ked.ads:25:15
Games.Ked.Stop defined at games-ked.ads:64:15
Games.Ked.Stop defined at games-ked.ads:64:15
Games.Ked.Stop defined at games-ked.ads:64:15
Games.Ked.Stop defined at games-ked.ads:64:15
Games.Ked.Stop defined at games-ked.ads:64:15
Games.Ked.Stop defined at games-ked.ads:64:15
Games.Ked.Stop defined at games-ked.ads:64:15
Games.Stop defined at games.ads:46:15
Games.Stop defined at games.ads:46:15
Games.Stop defined at games.ads:46:15
Physics.Managers.Delete defined at physics-managers.ads:85:15
Physics.Managers.Delete defined at physics-managers.ads:85:15
Physics.Managers.Delete defined at physics-managers.ads:85:15
Physics.Managers.Delete defined at physics-managers.ads:85:15
Physics.Managers.Delete defined at physics-managers.ads:85:15
Physics.Managers.Delete defined at physics-managers.ads:85:15
Physics.Managers.Delete defined at physics-managers.ads:85:15
Physics.Managers.Delete defined at physics-managers.ads:85:15
Physics.Managers.Delete defined at physics-managers.ads:85:15
Widgets.Containers.Panels.Dialogs.Properties.Delete defined at widgets-containers-panels-dialogs-properties.ads:28:15
Widgets.Containers.Panels.Dialogs.Resize_World.Delete defined at widgets-containers-panels-dialogs-resize_world.ads:32:15
Widgets.Containers.Scenes.Delete defined at widgets-containers-scenes.ads:121:15
Widgets.Containers.Scenes.Delete defined at widgets-containers-scenes.ads:121:15
Widgets.Containers.Scenes.Delete defined at widgets-containers-scenes.ads:121:15
Widgets.Containers.Scenes.Delete defined at widgets-containers-scenes.ads:121:15
Widgets.Containers.Scenes.Delete defined at widgets-containers-scenes.ads:121:15
Widgets.Containers.Scenes.Delete defined at widgets-containers-scenes.ads:121:15
Widgets.Containers.Scenes.Delete defined at widgets-containers-scenes.ads:121:15
Widgets.Containers.Scenes.Delete defined at widgets-containers-scenes.ads:121:15
Widgets.Containers.Scenes.Delete defined at widgets-containers-scenes.ads:121:15
Widgets.Containers.Scenes.Delete defined at widgets-containers-scenes.ads:121:15
Widgets.Palettes.Enemies.Delete defined at widgets-palettes-enemies.ads:30:15
Widgets.Palettes.Items.Delete defined at widgets-palettes-items.ads:30:15
Widgets.Palettes.Matrices.Delete defined at widgets-palettes-matrices.ads:51:15
Widgets.Palettes.Matrices.Delete defined at widgets-palettes-matrices.ads:51:15
Widgets.Palettes.Tiles.Delete defined at widgets-palettes-tiles.ads:31:15
Widgets.Palettes.Tiles.Delete defined at widgets-palettes-tiles.ads:31:15
Worlds.On_Detach defined at worlds.ads:283:15
Worlds.On_Detach defined at worlds.ads:283:15
Worlds.On_Detach defined at worlds.ads:283:15
Worlds.On_Detach defined at worlds.ads:283:15
Worlds.On_Detach defined at worlds.ads:283:15
Worlds.On_Detach defined at worlds.ads:283:15
Worlds.On_Detach defined at worlds.ads:283:15
Worlds.On_Detach defined at worlds.ads:283:15
Worlds.On_Detach defined at worlds.ads:283:15
Worlds.On_Detach defined at worlds.ads:283:15

Calls:

Get_List defined at events-corrals.ads:195:19
Remove defined at events-corrals.ads:174:15
Unregisters an object as a listener for a specific type of event. If the listener was not previously registered, this has no effect.

Trigger_Event

procedure Trigger_Event
( this: access Corral;
evt: in out A_Event;
response: out Response_Type );

References:

events-corrals.ads:49:15 (declaration)
events-corrals.adb:139:15 (body)
events-corrals.adb:150:9 (label)
events-manager.adb:144:20 (dispatching call)

Called by:

Events.Manager.Trigger_Event.Trigger_Corral defined at events-manager.adb:140:19

Calls:

Add defined at events-corrals.ads:113:19
Create_Broker defined at events-corrals.ads:95:15
Delete defined at events-corrals.ads:100:15
Get_Response defined at events-corrals.ads:85:15
Dispatches an event immediately, separate from the queue. The event will be consumed.

Delete

procedure Delete
( this: in out A_Corral );

References:

events-corrals.ads:56:15 (declaration)
events-corrals.adb:154:15 (body)
events-corrals.adb:157:9 (label)
game_views.adb:68:9 (reference)
games.adb:83:9 (reference)

Called by:

Game_Views.Delete defined at game_views.ads:112:15
Games.Delete defined at games.ads:81:15

Calls:

Objects.Delete defined at objects.ads:46:15
Deletes the corral.