AppCore
Loading...
Searching...
No Matches
EPurseProcessor.h
Go to the documentation of this file.
1#ifndef __PURSEPROCESSOR_H
2#define __PURSEPROCESSOR_H
3
5#include "eptrequest/eaplrequest/EAbstractPurse.h"
6
7namespace EM
8{
9 namespace EventFileProcessor
10 {
14 {
15 public:
18 virtual ~EPurseProcessor();
19
20 virtual EPurseProcessor *Clone();
21
22 virtual bool CheckEvent( CardEvent *cardEvent, ECardEventFileProcessor::ProcessEventResult &evaluationResult, CardEventCol *cardEventCol, EStatisticsCollection &statistics );
23 virtual bool WriteStatistics( EM::PT::EPTAnswer *answer, unsigned long readerNumber, bool unfinishedOperation, EStatisticsCollection &statistics );
24
25 protected:
26 void SetInitialPurseBalance( long balance );
27 EM::PT::EAbstractPurse::EPurseChangeType GetPurseChangeType( long price, char correctionFlag );
28
29 private:
30 class DataClass;
31 DataClass *d;
32 };
33 }
34}
35
36#endif //__PURSEPROCESSOR_H
__EPUBLIC __ECLASS LIBCARDEVENT_API CardEvent
The ancestor of all events. Contains common information for all events.
Definition cardevent.h:17
std::list< CardEvent * > CardEventCol
Definition cardevent.h:253
virtual CardEvent __EDATAPTR Clone()
#define LIBEVFILEPROCESSOR_API
Definition libevfileprocessor.h:12
ProcessEventResult
ProcessEventResult enumerator.
Definition ECardEventFileProcessor.h:46
Ancestor of all card event processors.
Definition ECardEventProcessor.h:24
Common ancestor for purse processors.
Definition EPurseProcessor.h:14
std::list< EM::Strojcek::StatistikaStrojcek::VystupneData * > EStatisticsCollection
Definition ECardEventFileProcessor.h:35
SYSTEM INCLUDES.
Definition CardFacadeManagerXML.h:7