|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Specialization of Event_Table for legacy void*(void*) signature. More...
#include <driven_table.H>
Public Types | |
| using | Event_Handler = std::function< void *(void *)> |
Public Member Functions | |
| virtual size_t | size () const =0 |
| virtual | ~Event_Table ()=default |
| template<typename Callable > | |
| void | register_event (const size_t index, Callable &&fct) |
| template<typename Callable > | |
| size_t | register_event (Callable &&fct) |
| void | unregister_event (const size_t index) |
| bool | is_registered (const size_t index) const |
| bool | check (const size_t index, void *(*fct)(void *)) const |
| void * | execute_event (const size_t index, void *input=nullptr) const |
Protected Member Functions | |
| virtual const Event_Handler * | read_table (size_t i) const =0 |
| virtual void | write_table (size_t i, Event_Handler &&event_fct)=0 |
| virtual void | clear_slot (size_t i)=0 |
Private Member Functions | |
| void | append_event_to_table (Event_Handler &&fct) |
Specialization of Event_Table for legacy void*(void*) signature.
Provides backward compatibility with the old Event_Table interface.
Definition at line 270 of file driven_table.H.
Definition at line 273 of file driven_table.H.
|
virtualdefault |
|
inlineprivate |
Definition at line 288 of file driven_table.H.
References Aleph::blossom_maximum_cardinality_matching(), Aleph::size(), and Event_Table< Signature >::write_table().
Definition at line 324 of file driven_table.H.
References Aleph::blossom_maximum_cardinality_matching(), Event_Table< Signature >::is_registered(), Event_Table< Signature >::read_table(), and Aleph::size().
|
protectedpure virtual |
|
inline |
Definition at line 339 of file driven_table.H.
References ah_range_error_if, Aleph::blossom_maximum_cardinality_matching(), Event_Table< Signature >::read_table(), and Aleph::size().
|
inline |
Definition at line 318 of file driven_table.H.
References Aleph::and, Event_Table< Signature >::read_table(), and Aleph::size().
|
protectedpure virtual |
|
inline |
Definition at line 304 of file driven_table.H.
References Event_Table< Signature >::append_event_to_table(), Aleph::blossom_maximum_cardinality_matching(), and Aleph::size().
Definition at line 295 of file driven_table.H.
References ah_range_error_if, Aleph::blossom_maximum_cardinality_matching(), Event_Table< Signature >::read_table(), Aleph::size(), and Event_Table< Signature >::write_table().
|
pure virtual |
|
inline |
Definition at line 310 of file driven_table.H.
References ah_range_error_if, Event_Table< Signature >::clear_slot(), Event_Table< Signature >::read_table(), and Aleph::size().
|
protectedpure virtual |