xtd
1.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
xtd.core
include
xtd
timers
elapsed_event_args.hpp
Go to the documentation of this file.
1
4
#pragma once
5
#include "
../date_time.hpp
"
6
#include "
../event_args.hpp
"
7
9
namespace
xtd
{
11
namespace
timers
{
18
class
elapsed_event_args
:
public
xtd::event_args
{
19
public
:
21
24
elapsed_event_args
() =
default
;
25
28
explicit
elapsed_event_args
(
const
xtd::date_time
&
signal_time
);
30
32
elapsed_event_args
(
const
elapsed_event_args
&) =
default
;
33
auto
operator =(
const
elapsed_event_args
&) ->
elapsed_event_args
& =
default
;
35
37
41
[[nodiscard]]
auto
signal_time
() const noexcept -> const
xtd
::
date_time
&;
43
44
private:
45
xtd
::
date_time
signal_time_;
46
};
47
}
48
}
xtd::date_time
Represents an instant in time, typically expressed as a date and time of day.
Definition
date_time.hpp:83
xtd::event_args
Represents the base class for classes that contain event data, and provides a value to use for events...
Definition
event_args.hpp:18
xtd::timers::elapsed_event_args::elapsed_event_args
elapsed_event_args(const xtd::date_time &signal_time)
Initializes a new instance of the elapsed_event_args class with specified signal time.
xtd::timers::elapsed_event_args::signal_time
auto signal_time() const noexcept -> const xtd::date_time &
Gets the date/time when the xtd::timers::timer::elapsed event was raised.
xtd::timers::elapsed_event_args::elapsed_event_args
elapsed_event_args()=default
Initializes a new instance of the elapsed_event_args class.
date_time.hpp
Contains xtd::date_time class.
event_args.hpp
Contains xtd::event_args event args.
xtd::timers
Provides the xtd::timers::timer component, which allows you to raise an event on a specified interval...
Definition
elapsed_event_args.hpp:11
xtd
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition
abstract_object.hpp:8
Generated on
for xtd by
Gammasoft
. All rights reserved.