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

Common ancestor for prepaid coupon processors. More...

#include <EPrepaidTicketProcessor.h>

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

Classes

class  DataClass
 

Public Member Functions

 EPrepaidTicketProcessor ()
 
 EPrepaidTicketProcessor (EPrepaidTicketProcessor &source)
 
virtual ~EPrepaidTicketProcessor ()
 
virtual ECardEventProcessorClone ()
 
virtual bool WriteStatistics (EM::PT::EPTAnswer *answer, unsigned long readerNumber, bool unfinishedOperation, EStatisticsCollection &statistics)
 
- Public Member Functions inherited from EM::EventFileProcessor::ECardEventProcessor
 ECardEventProcessor ()
 
 ECardEventProcessor (const ECardEventProcessor &source)
 
virtual ~ECardEventProcessor ()
 
virtual bool CheckEvent (CardEvent *cardEvent, ECardEventFileProcessor::ProcessEventResult &evaluationResult, CardEventCol *cardEventCol, EStatisticsCollection &statistics)=0
 
virtual EM::PT::EDataCollection * WriteEvent (CardEvent *cardEvent, ECardEventFileProcessor::ProcessEventResult &writeEventResult, EStatisticsCollection &statistics)=0
 
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

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)
 

Static Protected Member Functions

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

Common ancestor for prepaid coupon processors.

Constructor & Destructor Documentation

EPrepaidTicketProcessor::EPrepaidTicketProcessor ( )

CONSTRUCTOR

EPrepaidTicketProcessor::EPrepaidTicketProcessor ( EPrepaidTicketProcessor source)

COPY CONSTRUCTOR

Here is the call graph for this function:

EPrepaidTicketProcessor::~EPrepaidTicketProcessor ( )
virtual

DESTRUCTOR

Member Function Documentation

bool EPrepaidTicketProcessor::CheckFirstTimeUseTimeTicket ( EventPrepaidTicket prepaidTicketEvent)
protected

CheckFirstTimeUseTimeTicket

Here is the call graph for this function:

Here is the caller graph for this function:

bool EPrepaidTicketProcessor::CheckTimeTicketEventValidity ( EventPrepaidTicket prepaidTicketEvent,
EStatisticsCollection statistics 
)
protected

CheckTimeTicketEventValidity

uz nie je aktualny

este nie je aktualny

Here is the call graph for this function:

Here is the caller graph for this function:

ECardEventProcessor * EPrepaidTicketProcessor::Clone ( void  )
virtual
ETarifa * EPrepaidTicketProcessor::FindTariff ( unsigned short  productID)
protected

FindTariff

Here is the caller graph for this function:

unsigned char EPrepaidTicketProcessor::GetKilometers ( EM::Strojcek::VstupneUdaje::TarifnySystem::ETarifa *  tariff,
unsigned char  tariffZoneID 
)
staticprotected

Here is the caller graph for this function:

unsigned short EPrepaidTicketProcessor::GetPrepaidCouponNumber ( )
protected

GetPrepaidCouponNumber

ECennik::TypCennikaID EPrepaidTicketProcessor::GetPricelistType ( CardEvent cardEvent)
staticprotected

GetPricelistType

Here is the caller graph for this function:

void EPrepaidTicketProcessor::SetPrepaidCouponNumber ( unsigned short  prepaidCouponNumber)
protected

SetPrepaidCouponNumber

Here is the caller graph for this function:

void EPrepaidTicketProcessor::SetProlongingCardValidity ( bool  prolongingCardValidity)
protected

SetProlongingCardValidity

Here is the caller graph for this function:

bool EPrepaidTicketProcessor::ShouldProlongCardValidity ( EventPrepaidTicket prepaidTicketEvent)
protected

ProlongCardValidity

Here is the call graph for this function:

Here is the caller graph for this function:

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

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