Represents a process output data received event.
Public Methods | |
bool | is_empty () const noexcept |
Gets a value indicate if the event is empty. | |
Operators | |
xtd::diagnostics::data_received_event_handler & | operator+= (const xtd::diagnostics::data_received_event_handler &handler) noexcept |
Adds an handler to the event. | |
xtd::diagnostics::data_received_event_handler & | operator+= (const typename xtd::diagnostics::data_received_event_handler::function_t &function) noexcept |
Adds a function to the event. | |
template<typename fn_t > | |
xtd::diagnostics::data_received_event_handler & | operator+= (fn_t function) noexcept |
Adds a function to the event. | |
xtd::diagnostics::data_received_event_handler & | operator-= (const xtd::diagnostics::data_received_event_handler &handler) noexcept |
Removes an handler to the event. | |
xtd::diagnostics::data_received_event_handler & | operator-= (const typename xtd::diagnostics::data_received_event_handler::function_t &function) noexcept |
Removes a function to the event. | |
template<typename fn_t > | |
xtd::diagnostics::data_received_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 an handler to the event.
handler | Handler to add. |
|
noexcept |
Adds a function to the event.
function | Function to add. |
|
inlinenoexcept |
Adds a function to the event.
function | Function to add. |
|
noexcept |
Removes an handler to the event.
handler | Handler to remove. |
|
noexcept |
Removes a function to the event.
function | Function to remove. |
|
inlinenoexcept |
Removes a function to the event.
function | Function to remove. |