CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
elapsed_event_args.h
1
3#ifndef _aspose_system_timers_elapsed_event_args_h_
4#define _aspose_system_timers_elapsed_event_args_h_
5
6#include <system/eventargs.h>
7#include <system/date_time.h>
8
9namespace System { namespace Timers {
10
12class ASPOSECPP_SHARED_CLASS ElapsedEventArgs : public System::EventArgs
13{
19 RTTI_INFO(System::Timers::ElapsedEventArgs, ::System::BaseTypesInfo<System::EventArgs>);
20
21public:
25 ElapsedEventArgs(int32_t low, int32_t high)
26 {
27 int64_t fileTime = (int64_t)((((uint64_t)high) << 32) | (((uint64_t)low) & 0xffffffff));
28 m_signal_time = DateTime::FromFileTime(fileTime);
29 }
32 {
33 return m_signal_time;
34 }
35
36private:
38 DateTime m_signal_time;
39};
40
41} }
42
43#endif
Represents a specific date and time value on the time continuum. This type should be allocated on sta...
Definition: date_time.h:50
static DateTime FromFileTime(int64_t value)
Converts the specified File time to an instance of DateTime class representing the same date and time...
The base class for classes that represent a context that is passed to the event subscribers when an e...
Definition: eventargs.h:19
Arguments of timer event.
Definition: elapsed_event_args.h:13
ElapsedEventArgs(int32_t low, int32_t high)
Constructs arguments object with given parameters.
Definition: elapsed_event_args.h:25
DateTime get_SignalTime()
Gets singal time.
Definition: elapsed_event_args.h:31
Definition: db_command.h:9