AppCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Public Member Functions | Protected Member Functions | List of all members
EM::EventFileProcessor::EPrepaidTicketMifareProcessor Class Reference

Prepaid coupon processor implementation for mifare classic cards. More...

#include <EPrepaidTicketMifareProcessor.h>

Inheritance diagram for EM::EventFileProcessor::EPrepaidTicketMifareProcessor:
Inheritance graph
[legend]
Collaboration diagram for EM::EventFileProcessor::EPrepaidTicketMifareProcessor:
Collaboration graph
[legend]

Classes

class  DataClass
 

Public Member Functions

 EPrepaidTicketMifareProcessor ()
 
 EPrepaidTicketMifareProcessor (EPrepaidTicketMifareProcessor &source)
 
virtual ~EPrepaidTicketMifareProcessor ()
 
virtual ECardEventProcessorClone ()
 
virtual bool CheckEvent (CardEvent *cardEvent, ECardEventFileProcessor::ProcessEventResult &evaluationResult, CardEventCol *cardEventCol, EStatisticsCollection &statistics)
 
virtual EM::PT::EDataCollection * WriteEvent (CardEvent *cardEvent, ECardEventFileProcessor::ProcessEventResult &writeEventResult, EStatisticsCollection &statistics)
 
virtual bool WriteStatistics (EM::PT::EPTAnswer *answer, unsigned long readerNumber, bool unfinishedOperation, EStatisticsCollection &statistics)
 
- Public Member Functions inherited from EM::EventFileProcessor::EPrepaidTicketProcessor
 EPrepaidTicketProcessor ()
 
 EPrepaidTicketProcessor (EPrepaidTicketProcessor &source)
 
virtual ~EPrepaidTicketProcessor ()
 
- Public Member Functions inherited from EM::EventFileProcessor::ECardEventProcessor
 ECardEventProcessor ()
 
 ECardEventProcessor (const ECardEventProcessor &source)
 
virtual ~ECardEventProcessor ()
 
void SetEventFillerAttribute (EEventFillerAttribute *eventFillerAttribute)
 
void SetLastProcessedEvent (CardEvent *cardEvent)
 
CardEventGetLastProcessedEvent ()
 
ELastTransactionInfoGetLastTransactionInfo ()
 
void FillLastTransactionInfo (EM::PT::EDataCollection *dataCol)
 
void WriteAdditionalStatistics (bool unfinishedOperation)
 
void SetWritePhysicallyStatistics (bool writePhysically)
 

Protected Member Functions

void NaplnTimeTicket (EM::PT::ETimeTicketEmtestBase *timeTicket, EM::PT::ETimeTicketsData *timeTicketsData, EventPrepaidTicket *cardEvent, EEventFillerAttribute *eventFillerAttribute)
 
EM::PT::ETimeTicketEmtestBase * CreateTimeTicket (EEventFillerAttribute *eventFillerAttribute, EventPrepaidTicket *cardEvent)
 
void FillZones (EM::PT::ETimeTicketEmtestBase *timeTicketEmtest, CardEvent *cardEvent)
 
EM::PT::ETimeTicketEmtestBase * VyhodnotZapis (EM::PT::ETimeTicketsData *timeTicketsData, EventPrepaidTicket *cardEvent, EEventFillerAttribute *eventFillerAttribute)
 
- Protected Member Functions inherited from EM::EventFileProcessor::EPrepaidTicketProcessor
unsigned short GetPrepaidCouponNumber ()
 
void SetPrepaidCouponNumber (unsigned short prepaidCouponNumber)
 
EM::Strojcek::VstupneUdaje::TarifnySystem::ETarifa * FindTariff (unsigned short productID)
 
bool CheckTimeTicketEventValidity (EventPrepaidTicket *prepaidTicketEvent, EStatisticsCollection &statistics)
 
bool CheckFirstTimeUseTimeTicket (EventPrepaidTicket *prepaidTicketEvent)
 
bool ShouldProlongCardValidity (EventPrepaidTicket *prepaidTicketEvent)
 
void SetProlongingCardValidity (bool prolongingCardValidity)
 
- Protected Member Functions inherited from EM::EventFileProcessor::ECardEventProcessor
bool GetWritePhysically ()
 
EEventFillerAttributeGetEventFillerAttribute ()
 
void WriteEvaluationErrorStatistics (unsigned char errorID, CardEvent *cardEvent, EStatisticsCollection &statistics)
 
void WriteAdditionalEvaluationError (CardEvent *cardEvent, EEventLogManager::EEventLogType evaluationError)
 

Additional Inherited Members

- Static Protected Member Functions inherited from EM::EventFileProcessor::EPrepaidTicketProcessor
static
EM::Strojcek::VstupneUdaje::TarifnySystem::ECennik::TypCennikaID 
GetPricelistType (CardEvent *cardEvent)
 
static unsigned char GetKilometers (EM::Strojcek::VstupneUdaje::TarifnySystem::ETarifa *tariff, unsigned char tariffZoneID)
 

Detailed Description

Prepaid coupon processor implementation for mifare classic cards.

Constructor & Destructor Documentation

EPrepaidTicketMifareProcessor::EPrepaidTicketMifareProcessor ( )

CONSTRUCTOR

Here is the caller graph for this function:

EPrepaidTicketMifareProcessor::EPrepaidTicketMifareProcessor ( EPrepaidTicketMifareProcessor source)

COPY CONSTRUCTOR

Here is the call graph for this function:

EPrepaidTicketMifareProcessor::~EPrepaidTicketMifareProcessor ( )
virtual

DESTRUCTOR

Member Function Documentation

bool EPrepaidTicketMifareProcessor::CheckEvent ( CardEvent cardEvent,
ECardEventFileProcessor::ProcessEventResult evaluationResult,
CardEventCol cardEventCol,
EStatisticsCollection statistics 
)
virtual

CheckEvent

udalost mesacnika platneho od prveho pouzitia

casovy listok od prveho pouzitia zatial neaktivovany

normalny mesacnik

udalost normalneho mesacnika

Implements EM::EventFileProcessor::ECardEventProcessor.

Reimplemented in EM::EventFileProcessor::ECorrectionProcessor.

Here is the call graph for this function:

ECardEventProcessor * EPrepaidTicketMifareProcessor::Clone ( void  )
virtual

Clone

Reimplemented from EM::EventFileProcessor::EPrepaidTicketProcessor.

Reimplemented in EM::EventFileProcessor::ECorrectionProcessor.

Here is the call graph for this function:

ETimeTicketEmtestBase * EPrepaidTicketMifareProcessor::CreateTimeTicket ( EEventFillerAttribute eventFillerAttribute,
EventPrepaidTicket cardEvent 
)
protected

CreateTimeTicket

Here is the call graph for this function:

Here is the caller graph for this function:

void EPrepaidTicketMifareProcessor::FillZones ( EM::PT::ETimeTicketEmtestBase *  timeTicketEmtest,
CardEvent cardEvent 
)
protected

FillZones

Here is the call graph for this function:

Here is the caller graph for this function:

void EPrepaidTicketMifareProcessor::NaplnTimeTicket ( EM::PT::ETimeTicketEmtestBase *  timeTicket,
EM::PT::ETimeTicketsData *  timeTicketsData,
EventPrepaidTicket cardEvent,
EEventFillerAttribute eventFillerAttribute 
)
protected

NaplnTimeTicket

first time use time ticket

Euro = 14

Here is the call graph for this function:

Here is the caller graph for this function:

ETimeTicketEmtestBase * EPrepaidTicketMifareProcessor::VyhodnotZapis ( EM::PT::ETimeTicketsData *  timeTicketsData,
EventPrepaidTicket cardEvent,
EEventFillerAttribute eventFillerAttribute 
)
protected

VyhodnotZapis

Here is the call graph for this function:

Here is the caller graph for this function:

EDataCollection * EPrepaidTicketMifareProcessor::WriteEvent ( CardEvent cardEvent,
ECardEventFileProcessor::ProcessEventResult writeEventResult,
EStatisticsCollection statistics 
)
virtual

WriteEvent

Implements EM::EventFileProcessor::ECardEventProcessor.

Reimplemented in EM::EventFileProcessor::ECorrectionProcessor.

Here is the call graph for this function:

bool EPrepaidTicketMifareProcessor::WriteStatistics ( EM::PT::EPTAnswer *  answer,
unsigned long  readerNumber,
bool  unfinishedOperation,
EStatisticsCollection statistics 
)
virtual

WriteStatistics

Reimplemented from EM::EventFileProcessor::EPrepaidTicketProcessor.

Reimplemented in EM::EventFileProcessor::ECorrectionProcessor.

Here is the call graph for this function:


The documentation for this class was generated from the following files: