Go to the documentation of this file.
9 #ifndef EAGINE_WATCHDOG_HPP
10 #define EAGINE_WATCHDOG_HPP
12 #include "config/basic.hpp"
18 class process_watchdog_impl;
37 std::shared_ptr<process_watchdog_impl> _pimpl;
38 auto _impl() noexcept -> process_watchdog_impl*;
43 #if !EAGINE_LINK_LIBRARY || defined(EAGINE_IMPLEMENTING_LIBRARY)
44 #include <eagine/watchdog.inl>
47 #endif // EAGINE_WATCHDOG_HPP
Helper class used to initialize main context objects.
Definition: main_ctx_object.hpp:45
#define EAGINE_ID(NAME)
Macro for constructing instances of eagine::identifier.
Definition: identifier.hpp:353
Base class for main context objects.
Definition: main_ctx_object.hpp:71
Common code is placed in this namespace.
Definition: eagine.hpp:21
void declare_initialized() noexcept
Tells the system that this process finished initialization.
void notify_alive() noexcept
Tells the system that this process is alive. Should be called repeatedly.
void announce_shutdown() noexcept
Announce to the system that this process is shutting down.
Class implementing process watchdog functionality.
Definition: watchdog.hpp:22