xtd - Reference Guide
0.1.0
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
|
#include <process.h>
Represents a process exit event.
Inherits xtd::event_handler.
Public Member Functions | |
bool | is_empty () const noexcept |
Gets a value indicate if the event is empty. | |
xtd::event_handler & | operator+= (const typename xtd::event_handler::function_t &function) noexcept |
Adds a function to the event. | |
xtd::event_handler & | operator+= (const xtd::event_handler &handler) noexcept |
Adds an handler to the event. | |
template<typename fn_t > | |
xtd::event_handler & | operator+= (fn_t function) noexcept |
Adds a function to the event. | |
xtd::event_handler & | operator-= (const typename xtd::event_handler::function_t &function) noexcept |
Removes a function to the event. | |
xtd::event_handler & | operator-= (const xtd::event_handler &handler) noexcept |
Removes an handler to the event. | |
template<typename fn_t > | |
xtd::event_handler & | operator-= (fn_t function) noexcept |
Removes a function to the event. | |
|
noexcept |
Gets a value indicate if the event is empty.
|
noexcept |
Adds a function to the event.
function | Function to add. |
|
noexcept |
Adds an handler to the event.
handler | Handler to add. |
|
inlinenoexcept |
Adds a function to the event.
function | Function to add. |
|
noexcept |
Removes a function to the event.
function | Function to remove. |
|
noexcept |
Removes an handler to the event.
handler | Handler to remove. |
|
inlinenoexcept |
Removes a function to the event.
function | Function to remove. |