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

Storage class containing parameters for processing events. More...

#include <EEventFillerAttribute.h>

Classes

class  DataClass
 

Public Member Functions

 EEventFillerAttribute ()
 
 EEventFillerAttribute (const EEventFillerAttribute &eventFillerAttribute)
 
 ~EEventFillerAttribute ()
 
void SetDataCollection (EM::PT::EDataCollection *dataCollection)
 
EM::PT::EDataCollection * GetDataCollection ()
 
void SetTariffGroupNumber (unsigned char tariffGroupNumber)
 
unsigned char GetTariffGroupNumber ()
 
void SetSNR (long long SNR)
 
long long GetSNR ()
 
void SetUsing24hourTimeTickets (bool use24hourTimeTickets)
 
bool GetUsing24hourTimeTickets ()
 
void SetFirstTimeUseTicketsEnabled (bool firstTimeUseTicketsEnabled)
 
bool GetFirstTimeUseTicketsEnabled ()
 
unsigned char GetTimeTicketActualityDaysAdvance ()
 
void SetTimeTicketActualityDaysAdvance (unsigned char days)
 
void SetFakeTimeTicketsEnabled (bool enabled)
 
bool AreFakeTimeTicketEnabled ()
 
void SetSkipPurseEvents (bool skipPurseEvents)
 
bool GetSkipPurseEvents ()
 
void SetProcessedEventsFilePath (std::string processedEventsFilePath)
 
std::string GetProcessedEventsFilePath ()
 
void SetDeviceSNR (unsigned long deviceSNR)
 
unsigned long GetDeviceSNR ()
 
 EEventFillerAttribute ()
 
 EEventFillerAttribute (const EEventFillerAttribute &eventFillerAttribute)
 
 ~EEventFillerAttribute ()
 
void SetDataCollection (EM::PT::EDataCollection *dataCollection)
 
EM::PT::EDataCollection * GetDataCollection ()
 
void SetTariffGroupNumber (unsigned char tariffGroupNumber)
 
unsigned char GetTariffGroupNumber ()
 
void SetSNR (long long SNR)
 
long long GetSNR ()
 
void SetUsing24hourTimeTickets (bool use24hourTimeTickets)
 
bool GetUsing24hourTimeTickets ()
 
void SetFirstTimeUseTicketsEnabled (bool firstTimeUseTicketsEnabled)
 
bool GetFirstTimeUseTicketsEnabled ()
 
unsigned char GetTimeTicketActualityDaysAdvance ()
 
void SetTimeTicketActualityDaysAdvance (unsigned char days)
 
void SetFakeTimeTicketsEnabled (bool enabled)
 
bool AreFakeTimeTicketEnabled ()
 
void SetSkipPurseEvents (bool skipPurseEvents)
 
bool GetSkipPurseEvents ()
 
void SetProcessedEventsFilePath (std::string processedEventsFilePath)
 
std::string GetProcessedEventsFilePath ()
 
void SetDeviceSNR (unsigned long deviceSNR)
 
unsigned long GetDeviceSNR ()
 

Detailed Description

Storage class containing parameters for processing events.

Constructor & Destructor Documentation

EEventFillerAttribute::EEventFillerAttribute ( )
EEventFillerAttribute::EEventFillerAttribute ( const EEventFillerAttribute eventFillerAttribute)
EEventFillerAttribute::~EEventFillerAttribute ( )
EM::EventFileProcessor::EEventFillerAttribute::EEventFillerAttribute ( )
EM::EventFileProcessor::EEventFillerAttribute::EEventFillerAttribute ( const EEventFillerAttribute eventFillerAttribute)
EM::EventFileProcessor::EEventFillerAttribute::~EEventFillerAttribute ( )

Member Function Documentation

bool EEventFillerAttribute::AreFakeTimeTicketEnabled ( )

AreFakeTimeTicketEnabled Return if processing fake time ticket is enabled or not (fake time ticket means that it is not actually written on card, just inserted to data collection) Fake time ticket are enabled by default

See also
SetFakeTimeTicketsEnabled
Returns
bool - enabled fake time tickets or not

Here is the caller graph for this function:

bool EM::EventFileProcessor::EEventFillerAttribute::AreFakeTimeTicketEnabled ( )

AreFakeTimeTicketEnabled Return if processing fake time ticket is enabled or not (fake time ticket means that it is not actually written on card, just inserted to data collection) Fake time ticket are enabled by default

See also
SetFakeTimeTicketsEnabled
Returns
bool - enabled fake time tickets or not
EM::PT::EDataCollection* EM::EventFileProcessor::EEventFillerAttribute::GetDataCollection ( )

GetDataCollection Returns data collection from card

Returns
EDataCollection* - data collection from card
EDataCollection * EEventFillerAttribute::GetDataCollection ( )

GetDataCollection Returns data collection from card

Returns
EDataCollection* - data collection from card

Here is the caller graph for this function:

unsigned long EEventFillerAttribute::GetDeviceSNR ( )

GetDeviceSNR

See also
SetDeviceSNR

Here is the caller graph for this function:

unsigned long EM::EventFileProcessor::EEventFillerAttribute::GetDeviceSNR ( )

GetDeviceSNR

See also
SetDeviceSNR
bool EEventFillerAttribute::GetFirstTimeUseTicketsEnabled ( )

GetFirstTimeUseTicketsEnabled

See also
SetFirstTimeUseTicketsEnabled
Returns
if first time use time ticket processing is enabled or not

Here is the caller graph for this function:

bool EM::EventFileProcessor::EEventFillerAttribute::GetFirstTimeUseTicketsEnabled ( )

GetFirstTimeUseTicketsEnabled

See also
SetFirstTimeUseTicketsEnabled
Returns
if first time use time ticket processing is enabled or not
string EEventFillerAttribute::GetProcessedEventsFilePath ( )

GetProcessedEventsFilePath Returns nonstandard path for processed event file (ProcessedEvents.dat)

std::string EM::EventFileProcessor::EEventFillerAttribute::GetProcessedEventsFilePath ( )

GetProcessedEventsFilePath Returns nonstandard path for processed event file (ProcessedEvents.dat)

bool EM::EventFileProcessor::EEventFillerAttribute::GetSkipPurseEvents ( )

GetSkipPurseEvents Returns if purse events should be skipped or not (introduced for auditor reader)

Returns
true - purse events should be skipped = shouldn't be processed false - purse events should not be skipped and should be processed
bool EEventFillerAttribute::GetSkipPurseEvents ( )

GetSkipPurseEvents Returns if purse events should be skipped or not (introduced for auditor reader)

Returns
true - purse events should be skipped = shouldn't be processed false - purse events should not be skipped and should be processed
long long EM::EventFileProcessor::EEventFillerAttribute::GetSNR ( )

GetSNR Return SNR set via SetSNR

See also
SetSNR
Returns
long long - card serial number
long long EEventFillerAttribute::GetSNR ( )

GetSNR Return SNR set via SetSNR

See also
SetSNR
Returns
long long - card serial number

Here is the caller graph for this function:

unsigned char EEventFillerAttribute::GetTariffGroupNumber ( )

GetTariffGroupNumber Returns tariff group number

See also
SetTariffGroupNumber
Returns
unsigned char : tariff group number

Here is the caller graph for this function:

unsigned char EM::EventFileProcessor::EEventFillerAttribute::GetTariffGroupNumber ( )

GetTariffGroupNumber Returns tariff group number

See also
SetTariffGroupNumber
Returns
unsigned char : tariff group number
unsigned char EEventFillerAttribute::GetTimeTicketActualityDaysAdvance ( )

GetTimeTicketActualityDaysAdvance Returns how many days is it possible to write time ticket in advance Example: time ticket valid from Oct the 13th is possible to write on 12th and not possible on 11th Oct if TimeTicketActualityDaysAdvance is 1 One day by default 0 days means that there is no restriction to write time tickets in advance

See also
SetTimeTicketActualityDaysAdvance
Returns
unsigned char = number of days

Here is the caller graph for this function:

unsigned char EM::EventFileProcessor::EEventFillerAttribute::GetTimeTicketActualityDaysAdvance ( )

GetTimeTicketActualityDaysAdvance Returns how many days is it possible to write time ticket in advance Example: time ticket valid from Oct the 13th is possible to write on 12th and not possible on 11th Oct if TimeTicketActualityDaysAdvance is 1 One day by default 0 days means that there is no restriction to write time tickets in advance

See also
SetTimeTicketActualityDaysAdvance
Returns
unsigned char = number of days
bool EEventFillerAttribute::GetUsing24hourTimeTickets ( )

Here is the caller graph for this function:

bool EM::EventFileProcessor::EEventFillerAttribute::GetUsing24hourTimeTickets ( )
void EM::EventFileProcessor::EEventFillerAttribute::SetDataCollection ( EM::PT::EDataCollection *  dataCollection)

SetDataCollection Sets data collection from card

Parameters
dataCollection: EDataCollection* - data collection from card
void EM::EventFileProcessor::EEventFillerAttribute::SetDataCollection ( EM::PT::EDataCollection *  dataCollection)

SetDataCollection Sets data collection from card

Parameters
dataCollection: EDataCollection* - data collection from card
void EEventFillerAttribute::SetDeviceSNR ( unsigned long  deviceSNR)

SetDeviceSNR Enables to set device serial number. This serial number is written to purse logs. Introduced for systems where SmartCardService doesn't have access to the device SNR (like PresaleSystemPC).

void EM::EventFileProcessor::EEventFillerAttribute::SetDeviceSNR ( unsigned long  deviceSNR)

SetDeviceSNR Enables to set device serial number. This serial number is written to purse logs. Introduced for systems where SmartCardService doesn't have access to the device SNR (like PresaleSystemPC).

void EM::EventFileProcessor::EEventFillerAttribute::SetFakeTimeTicketsEnabled ( bool  enabled)

SetFakeTimeTicketsEnabled This method provides the possibility to enable/disable using fake time tickets

See also
AreFakeTimeTicketEnabled
Parameters
enabled: bool = if fake time ticket are enabled
void EEventFillerAttribute::SetFakeTimeTicketsEnabled ( bool  enabled)

SetFakeTimeTicketsEnabled This method provides the possibility to enable/disable using fake time tickets

See also
AreFakeTimeTicketEnabled
Parameters
enabled: bool = if fake time ticket are enabled
void EEventFillerAttribute::SetFirstTimeUseTicketsEnabled ( bool  firstTimeUseTicketsEnabled)

SetFirstTimeUseTicketsEnabled Enabled to disable/enable processing of first time use time tickets. It's used on auditor reader for examle - auditor is not supposed to write first time use time tickets

Note
Enabled by default
Parameters
firstTimeUseTicketsEnabled: bool - if first time use time ticket processing is enabled or not
void EM::EventFileProcessor::EEventFillerAttribute::SetFirstTimeUseTicketsEnabled ( bool  firstTimeUseTicketsEnabled)

SetFirstTimeUseTicketsEnabled Enabled to disable/enable processing of first time use time tickets. It's used on auditor reader for examle - auditor is not supposed to write first time use time tickets

Note
Enabled by default
Parameters
firstTimeUseTicketsEnabled: bool - if first time use time ticket processing is enabled or not
void EM::EventFileProcessor::EEventFillerAttribute::SetProcessedEventsFilePath ( std::string  processedEventsFilePath)

SetProcessedEventsFilePath Enables to set nonstandard path for processed event file (ProcessedEvents.dat)

void EM::EventFileProcessor::EEventFillerAttribute::SetProcessedEventsFilePath ( std::string  processedEventsFilePath)

SetProcessedEventsFilePath Enables to set nonstandard path for processed event file (ProcessedEvents.dat)

void EM::EventFileProcessor::EEventFillerAttribute::SetSkipPurseEvents ( bool  skipPurseEvents)

SetSkipPurseEvents Enables to turn off processing purse events (introduced for auditor reader)

Note
purse events are enabled (not skipped) by default
Parameters
skipPurseEvents- true if purse events should be skipped = shouldn't be processed false - purse events should not be skipped and should be processed
void EEventFillerAttribute::SetSkipPurseEvents ( bool  skipPurseEvents)

SetSkipPurseEvents Enables to turn off processing purse events (introduced for auditor reader)

Note
purse events are enabled (not skipped) by default
Parameters
skipPurseEvents- true if purse events should be skipped = shouldn't be processed false - purse events should not be skipped and should be processed
void EEventFillerAttribute::SetSNR ( long long  SNR)

SetSNR Sets card SNR. If not set from application DataCollection::GetUid will be used

Parameters
SNR: long long - serial number of card
void EM::EventFileProcessor::EEventFillerAttribute::SetSNR ( long long  SNR)

SetSNR Sets card SNR. If not set from application DataCollection::GetUid will be used

Parameters
SNR: long long - serial number of card
void EM::EventFileProcessor::EEventFillerAttribute::SetTariffGroupNumber ( unsigned char  tariffGroupNumber)

SetTariffGroupNumber Sets tariff group number. This value is passed to statistics while processing purse events.

Parameters
tariffGroupNumber: unsigned char - tariff group number
void EEventFillerAttribute::SetTariffGroupNumber ( unsigned char  tariffGroupNumber)

SetTariffGroupNumber Sets tariff group number. This value is passed to statistics while processing purse events.

Parameters
tariffGroupNumber: unsigned char - tariff group number
void EM::EventFileProcessor::EEventFillerAttribute::SetTimeTicketActualityDaysAdvance ( unsigned char  days)

SetTimeTicketActualityDaysAdvance Sets how many days is it possible to write time ticket in advance 0 days means that there is no restriction to write time tickets in advance

See also
GetTimeTicketActualityDaysAdvance
Parameters
days: unsigned char - number of days
void EEventFillerAttribute::SetTimeTicketActualityDaysAdvance ( unsigned char  days)

SetTimeTicketActualityDaysAdvance Sets how many days is it possible to write time ticket in advance 0 days means that there is no restriction to write time tickets in advance

See also
GetTimeTicketActualityDaysAdvance
Parameters
days: unsigned char - number of days

Here is the caller graph for this function:

void EM::EventFileProcessor::EEventFillerAttribute::SetUsing24hourTimeTickets ( bool  use24hourTimeTickets)
void EEventFillerAttribute::SetUsing24hourTimeTickets ( bool  use24hourTimeTickets)

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