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

#include <ECrossTransferModule.h>

Inheritance diagram for EM::TicketIssueLogic::ECrossTransferModule:
Inheritance graph
[legend]
Collaboration diagram for EM::TicketIssueLogic::ECrossTransferModule:
Collaboration graph
[legend]

Public Member Functions

 ECrossTransferModule (ETicketIssueLogic *ticketIssueLogic, ETicketIssueLogicDataStorage *dataStorage, std::string moduleName=E_CROSS_TRANSFER_MODULE_NAME)
 
virtual ~ECrossTransferModule ()
 
virtual
EIssueLogicDefines::ReturnValues 
Init ()
 
virtual
EIssueLogicDefines::ReturnValues 
IsCrossTransferPossible (const unsigned char ticketIndex, bool &crossTransferFound)
 
virtual
EIssueLogicDefines::ReturnValues 
DoCrossTransferJourney (const unsigned char ticketIndex)
 
void ClearFoundTransfer ()
 
virtual
EIssueLogicDefines::ReturnValues 
FillAdditionalDataCalculatePrice (const DataForPriceCalculation &dataForPriceCalculation, Strojcek::VstupneUdaje::_VSTUPNA_STRUKTURA &inputDataCalculatePrice)
 Fill cross transfer data for price calculation. If no cross transfer is set, do nothing. More...
 
- Public Member Functions inherited from EM::TicketIssueLogic::ETicketIssueModule
 ETicketIssueModule (const std::string &name, EIssueLogicDefines::ModuleFamily moduleFamily)
 
virtual ~ETicketIssueModule ()
 
bool GetName (std::string &moduleName)
 unique module identificator More...
 
bool GetModuleFamily (EIssueLogicDefines::ModuleFamily &moduleFamily)
 return by reference module family More...
 

Protected Member Functions

EIssueLogicDefines::ReturnValues RecalculatePrice (const unsigned char ticketIndex)
 

Constructor & Destructor Documentation

INTERNAL ECrossTransferModule::ECrossTransferModule ( ETicketIssueLogic ticketIssueLogic,
ETicketIssueLogicDataStorage dataStorage,
std::string  moduleName = E_CROSS_TRANSFER_MODULE_NAME 
)
ECrossTransferModule::~ECrossTransferModule ( )
virtual

Member Function Documentation

void ECrossTransferModule::ClearFoundTransfer ( )

ClearFoundTransfer

EIssueLogicDefines::ReturnValues ECrossTransferModule::DoCrossTransferJourney ( const unsigned char  ticketIndex)
virtual

DoCrossTransferJourney

Here is the call graph for this function:

EIssueLogicDefines::ReturnValues ECrossTransferModule::FillAdditionalDataCalculatePrice ( const DataForPriceCalculation dataForPriceCalculation,
Strojcek::VstupneUdaje::_VSTUPNA_STRUKTURA &  inputDataCalculatePrice 
)
virtual

Fill cross transfer data for price calculation. If no cross transfer is set, do nothing.

Parameters
inputDataCalculatePrice- instance of input data structure, which is sent to CalculatePrice()

Implements EM::TicketIssueLogic::ECalculatePriceModuleInterface.

EIssueLogicDefines::ReturnValues ECrossTransferModule::Init ( void  )
virtual

Init

Reimplemented from EM::TicketIssueLogic::ETicketIssueModule.

Here is the call graph for this function:

EIssueLogicDefines::ReturnValues ECrossTransferModule::IsCrossTransferPossible ( const unsigned char  ticketIndex,
bool &  crossTransferFound 
)
virtual

IsCrossTransferPossible

Here is the call graph for this function:

EIssueLogicDefines::ReturnValues ECrossTransferModule::RecalculatePrice ( const unsigned char  ticketIndex)
protected

RecalculatePrice

Here is the call graph for this function:

Here is the caller graph for this function:


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