|
Open Model Railroad Network (OpenMRN)
|
Abstract class for representing iteration through a container for event handlers. More...
#include <EventHandlerContainer.hxx>
Public Member Functions | |
| virtual EventRegistryEntry * | next_entry ()=0 |
| Steps the iteration. | |
| virtual void | init_iteration (EventReport *event)=0 |
| Starts the iteration. | |
| virtual void | clear_iteration ()=0 |
| Stops iteration and resets iteration variables. | |
Protected Member Functions | |
| EventIterator () | |
| Creates an EventIterator. | |
Abstract class for representing iteration through a container for event handlers.
Definition at line 61 of file EventHandlerContainer.hxx.
|
inlineprotected |
Creates an EventIterator.
Definition at line 64 of file EventHandlerContainer.hxx.
|
inlinevirtual |
Definition at line 67 of file EventHandlerContainer.hxx.
|
pure virtual |
Stops iteration and resets iteration variables.
Implemented in openlcb::TreeEventHandlers::Iterator, and openlcb::FullContainerIterator< C >.
|
pure virtual |
Starts the iteration.
If the iteration is not done yet, call clear_iteration first.
| event | is the event report to reset the iteration for. |
Implemented in openlcb::FullContainerIterator< C >, and openlcb::TreeEventHandlers::Iterator.
|
pure virtual |
Steps the iteration.
Implemented in openlcb::TreeEventHandlers::Iterator, and openlcb::FullContainerIterator< C >.