|
Thread System 0.3.1
High-performance C++20 thread pool with work stealing and DAG scheduling
|
System shutdown event. More...
#include <event_bus.h>


Public Member Functions | |
| system_shutdown_event (std::string name, std::string reason_msg="") | |
| std::string | type_name () const override |
| Get event type name. | |
Public Member Functions inherited from kcenon::thread::event_base | |
| virtual | ~event_base ()=default |
| std::chrono::steady_clock::time_point | timestamp () const |
| Get event timestamp. | |
Public Attributes | |
| std::string | system_name |
| std::string | reason |
Additional Inherited Members | |
Protected Attributes inherited from kcenon::thread::event_base | |
| std::chrono::steady_clock::time_point | timestamp_ {std::chrono::steady_clock::now()} |
System shutdown event.
Definition at line 299 of file event_bus.h.
|
inline |
Definition at line 303 of file event_bus.h.
|
inlineoverridevirtual |
Get event type name.
Implements kcenon::thread::event_base.
Definition at line 306 of file event_bus.h.
| std::string kcenon::thread::system_shutdown_event::reason |
Definition at line 301 of file event_bus.h.
| std::string kcenon::thread::system_shutdown_event::system_name |
Definition at line 300 of file event_bus.h.