Line | |
---|
1 | // DCCurrentEvent.h: Schnittstelle für die Klasse DCCurrentEvent.
|
---|
2 | //
|
---|
3 | //////////////////////////////////////////////////////////////////////
|
---|
4 |
|
---|
5 | #if !defined(DCCURRENTEVENT_INCLUDED)
|
---|
6 | #define DCCURRENTEVENT_INCLUDED
|
---|
7 |
|
---|
8 | #include <ctime>
|
---|
9 | #include <vector>
|
---|
10 | #include <string>
|
---|
11 | #include <istream>
|
---|
12 | #include <ostream>
|
---|
13 |
|
---|
14 | class DCCurrentEvent
|
---|
15 | {
|
---|
16 | friend std::istream& operator >> ( std::istream& in, DCCurrentEvent& event );
|
---|
17 | friend std::ostream& operator << ( std::ostream& out, const DCCurrentEvent& event );
|
---|
18 |
|
---|
19 | private:
|
---|
20 | int m_dcError1;
|
---|
21 | int m_dcError2;
|
---|
22 | int m_dcHour;
|
---|
23 | int m_dcMin;
|
---|
24 | int m_dcSec;
|
---|
25 | int m_dcMSec;
|
---|
26 | time_t m_dcTime;
|
---|
27 | std::string m_dcCurr;
|
---|
28 | std::vector<int> m_dcValues;
|
---|
29 |
|
---|
30 | public:
|
---|
31 | DCCurrentEvent();
|
---|
32 | virtual ~DCCurrentEvent();
|
---|
33 | };
|
---|
34 |
|
---|
35 | std::istream& operator >> ( std::istream& in, DCCurrentEvent& event );
|
---|
36 | std::ostream& operator << ( std::ostream& out, const DCCurrentEvent& event );
|
---|
37 |
|
---|
38 | #endif // !defined(DCCURRENTEVENT_INCLUDED)
|
---|
Note:
See
TracBrowser
for help on using the repository browser.