xtd 0.2.0
Loading...
Searching...
No Matches
elapsed_event_args.h
Go to the documentation of this file.
1
4#pragma once
5#include "../date_time.h"
6#include "../event_args.h"
7
9namespace xtd {
11 namespace timers {
19 public:
21
24 elapsed_event_args() = default;
25
30
32 elapsed_event_args(const elapsed_event_args&) = default;
33 elapsed_event_args& operator =(const elapsed_event_args&) = default;
35
37
41 const xtd::date_time& signal_time() const noexcept;
43
44 private:
45 xtd::date_time signal_time_;
46 };
47 }
48}
Represents an instant in time, typically expressed as a date and time of day.
Definition date_time.h:85
Represents the base class for classes that contain event data, and provides a value to use for events...
Definition event_args.h:18
Provides data for the xtd::timers::timer::elapsed event.
Definition elapsed_event_args.h:18
elapsed_event_args(const xtd::date_time &signal_time)
Initializes a new instance of the elapsed_event_args class with specified signal time.
const xtd::date_time & signal_time() const noexcept
Gets the date/time when the xtd::timers::timer::elapsed event was raised.
elapsed_event_args()=default
Initializes a new instance of the elapsed_event_args class.
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10