-
Notifications
You must be signed in to change notification settings - Fork 0
/
event_t.cpp
40 lines (27 loc) · 901 Bytes
/
event_t.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
//------------------------------------------------------------------------------
#include <stdio.h>
#include "event_t.h"
#include "evpump.h"
//==============================================================================
EvPump<EvTime_t> * Event_t::pEvPump = 0;
//==============================================================================
Event_t::Event_t()
{
h = 0.0;
}
//------------------------------------------------------------------------------
Event_t::Event_t(Event_t * pE):EvPump<EvTime_t>::BASE_EVENT(pE)
{
h = pE->h;
}
//------------------------------------------------------------------------------
Event_t::~Event_t()
{
}
//------------------------------------------------------------------------------
void Event_t::Dump()
{
EvPump<EvTime_t>::BASE_EVENT::Dump();
printf("h = %e\n",h);
}
//==============================================================================