DataIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ERevizor.h
Go to the documentation of this file.
1 #ifndef EREVIZOR_H
2 #define EREVIZOR_H
3 
4 #include "dataio/DataIODefines.h"
5 #include "dataio/dataoutput/EAbstraktnyZaznam.h"
6 #include "dataio/dataoutput/EStatistikaStruct.h"
7 #include "dataio/dataoutput/ECestovnyListok.h"
8 #include "core/common/eplatform.h"
9 
10 // defines pre mTypUdalostiRevizora
11 #define NedefinovanaUdalost 0
12 #define NastupRevizora 1
13 #define VystupRevizora 2
14 #define ManualneZablokovanieCitaciek 3
15 #define ManualneOdblokovanieCitaciek 4
16 #define AutomatickeOdblokovanieCitaciek 5
17 
18 namespace EM
19 {
20  namespace Strojcek
21  {
22  namespace StatistikaStrojcek
23  {
24  class ERevizorCol;
25  class EStatistikaFileSystem;
26 
27  class DATAIO_API ERevizor : public EAbstraktnyZaznam
28  {
29  public:
30  ERevizor();
31  virtual ~ERevizor();
32 
33  long long GetSNR8Byte();
34  unsigned long getOsobneCislo();
35  unsigned short getCisloZavodu();
36  unsigned long getDatumCas();
37  unsigned char getTypUdalostiRevizor();
38 
39  void SetSNR8Byte( long long snr );
40  void setOsobneCislo( unsigned long newVal );
41  void setCisloZavodu( unsigned short newVal );
42  void setDatumCas( unsigned long newVal );
43  void setTypUdalostiRevizor( unsigned char newVal );
44 
45  ERevizorCol *getOwner();
46  void setOwner( ERevizorCol *newVal );
47 
48  VystupneData *SendRevizor();
49  void ReceiveRevizor( VystupneData *vstupnyZaznam );
50  void FillInRevizorStruct( STRUCT_REVIZOR &revizor );
51  void FillUpRevizorStruct( STRUCT_REVIZOR *revizor );
52 
53  bool write();
54  bool read();
55 
56  virtual short getChksum();
57 
58  private:
59  class DataClass;
60  DataClass *d;
61  };
62  }
63  }
64 }
65 
66 #endif
Class ECol : Objekt je predok pre vsetky nasledujuce kolekcie
Definition: ColReader.h:15
#define DATAIO_API
Definition: DataIODefines.h:10