![]() |
MODFLOW 6
version 6.8.0.dev0
USGS Modular Hydrologic Model
|
Go to the source code of this file.
Data Types | |
| type | particleeventsmodule::particleeventsubscriptiontype |
| Subscription to particle events: a procedure to handle the event with an unlimited pointer for storing arbitrary context the handling procedure may reference. More... | |
| type | particleeventsmodule::particleeventdispatchertype |
| Dispatcher for particle events. Consumers subscribe handlers to the dispatcher. Events may be dispatched, with the first handler to handle the event stopping propagation, or broadcast, with all handlers receiving the event. More... | |
| interface | particleeventsmodule::handle_event |
| Event handler interface. Handlers may signal to the dispatching caller whether they have handled the event, but the signal is ignored for broadcasts. More... | |
Modules | |
| module | particleeventsmodule |
Functions/Subroutines | |
| subroutine | particleeventsmodule::subscribe (this, handler, context) |
| Add a subscription to the dispatcher. More... | |
| subroutine | particleeventsmodule::prep_event (this, particle, event) |
| Prepare an event for dispatching, loading it with the current state of the particle. For internal use only. More... | |
| subroutine | particleeventsmodule::dispatch (this, particle, event) |
| Dispatch an event for handling. The first subscriber to handle the event stops propagation. More... | |
| subroutine | particleeventsmodule::broadcast (this, particle, event) |
| Broadcast an event to all subscribers so all receive the event and a chance to handle it. More... | |
| subroutine | particleeventsmodule::destroy (this) |
| Destroy the dispatcher. More... | |