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::ECheckinCheckoutModule Class Reference

#include <ECheckinCheckoutModule.h>

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

Public Member Functions

 ECheckinCheckoutModule (ETicketIssueLogic *ticketIssueLogic, ETicketIssueLogicDataStorage *dataStorage, std::string moduleName=E_CHECKIN_CHECKOUT_MODULE)
 
virtual ~ECheckinCheckoutModule ()
 
virtual
EIssueLogicDefines::ReturnValues 
Init ()
 Init module data. More...
 
virtual
EIssueLogicDefines::ReturnValues 
IsPossibleCheckout (EIssueLogicDefines::CICOStatus &cicoStatus)
 check flag on one way ticket "check out" More...
 
virtual
EIssueLogicDefines::ReturnValues 
DoCheckout (long &totalRefundPrice)
 Function calculate payBack, set checkout flags on card and call UpdatePurse. More...
 
virtual
EIssueLogicDefines::ReturnValues 
ProcessCheckout ()
 ProcessCheckOut - function prepare and checkout or prepare valid checkout. More...
 
EIssueLogicDefines::ReturnValues IsCheckinCheckoutSystemEnabled (bool &enabled)
 
- 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

virtual
EIssueLogicDefines::ReturnValues 
SetTicketCheckOutData (unsigned char ticketIndex)
 Function set checkout flags on card. More...
 

Constructor & Destructor Documentation

INTERNAL ECheckinCheckoutModule::ECheckinCheckoutModule ( ETicketIssueLogic ticketIssueLogic,
ETicketIssueLogicDataStorage dataStorage,
std::string  moduleName = E_CHECKIN_CHECKOUT_MODULE 
)

CONSTRUCTOR

ECheckinCheckoutModule::~ECheckinCheckoutModule ( )
virtual

DESTRUCTOR

Member Function Documentation

EIssueLogicDefines::ReturnValues ECheckinCheckoutModule::DoCheckout ( long &  totalRefundPrice)
virtual

Function calculate payBack, set checkout flags on card and call UpdatePurse.

Returns
OK - all ok
See also
EIssueLogicDefines::ReturnValues

DoCheckout

Here is the call graph for this function:

Here is the caller graph for this function:

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

Init module data.

Returns
OK - all ok
See also
EIssueLogicDefines::ReturnValues

Reimplemented from EM::TicketIssueLogic::ETicketIssueModule.

Here is the call graph for this function:

EIssueLogicDefines::ReturnValues ECheckinCheckoutModule::IsCheckinCheckoutSystemEnabled ( bool &  enabled)

IsCheckinCheckoutSystemEnabled

Here is the caller graph for this function:

EIssueLogicDefines::ReturnValues ECheckinCheckoutModule::IsPossibleCheckout ( EIssueLogicDefines::CICOStatus cicoStatus)
virtual

check flag on one way ticket "check out"

Parameters
checkout- output param indicate check out
Returns
BadInputData - bad input data or readed data collection if card operation Ok - all ok

IsCheckout

Here is the call graph for this function:

Here is the caller graph for this function:

EIssueLogicDefines::ReturnValues ECheckinCheckoutModule::ProcessCheckout ( )
virtual

ProcessCheckOut - function prepare and checkout or prepare valid checkout.

Returns
OK - all ok
See also
EIssueLogicDefines::ReturnValues

ProcessCheckout

Here is the call graph for this function:

EIssueLogicDefines::ReturnValues ECheckinCheckoutModule::SetTicketCheckOutData ( unsigned char  ticketIndex)
protectedvirtual

Function set checkout flags on card.

Returns
OK - all ok
See also
EIssueLogicDefines::ReturnValues

SetTicketCheckOutData

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: