|
AppCore
|
#include <ECardDataFacadeLog.h>
Public Member Functions | |
| ECardDataFacadeLog (ECardDataStorage *cardDataStorage) | |
| virtual | ~ECardDataFacadeLog () |
| in destructor destroy data class More... | |
| ECardFacadeDefines::ReturnValues | Init () |
| set to member actual card implementation and call init on actual implementation More... | |
| void | Clear () |
| clear all data More... | |
| bool | IsModifiedData () const |
| |
| bool | AddDataToWriteRequest (EM::PT::EDataCollection *writeRequest) const |
| bool | AddDataTypeToReadRequest (PT::EAplRequest *readRequest[], unsigned short dataTypesOperation) const |
| bool | GetTimeData (unsigned long &timeDate) const |
| get information about time and date More... | |
| bool | SetTimeData (const unsigned long timeDate) const |
| set information about time and date More... | |
| bool | GetNetworkID (unsigned long &networkID) const |
| get information about network ID More... | |
| bool | SetNetworkID (const unsigned long networkID) const |
| set information about network ID More... | |
| bool | GetServiceProvider (unsigned long &serviceProvider) const |
| get/set information about service provider / provider number / company number More... | |
| bool | SetServiceProvider (const unsigned long serviceProvider) const |
| bool | GetDevice (unsigned long &device) const |
| get information about device(terminal) More... | |
| bool | SetDevice (const unsigned long device) const |
| set information about device(terminal) More... | |
| bool | GetDeviceCounter (unsigned long &deviceCounter) const |
| get device(terminal) transaction counter More... | |
| bool | SetDeviceCounter (const unsigned long deviceCounter) const |
| set device(terminal) transaction counter More... | |
| bool | GetPriceAmountUnit (EMoneyData &moneyData) const |
| get information about price amount More... | |
| bool | SetPriceAmountUnit (const EMoneyData &moneyData) const |
| set information about price amount More... | |
| bool | GetVAT (unsigned long &vat) const |
| get information about VAT More... | |
| bool | SetVAT (const unsigned long vat) const |
| set information about VAT More... | |
| bool | GetData (unsigned char &serviceID, unsigned char &serviceAmount, const unsigned char pos) const |
| get information about event data on position More... | |
| bool | SetData (const unsigned char serviceID, const unsigned char serviceAmount, const unsigned char pos) const |
| set information about event data on position More... | |
| bool | IsCardFeatureEnabled (const ECardFacadeDefines::LogCardFeatures feature, bool &enabled) const |
| checks validity of selected feature More... | |
| bool | GetWalletBalanceBefore (long &balanceBefore) const |
| Get previous wallet balance. More... | |
| bool | SetWalletBalanceBefore (const long balanceBefore) const |
| Set previous wallet balance. More... | |
| bool | GetPrice (unsigned long &price) const |
| Get previous ticket price. More... | |
| bool | SetPrice (const unsigned long price) const |
| Set previous ticket price. More... | |
| bool | GetTransactionType (unsigned long &transactionType) const |
| Get previous transaction type. More... | |
| bool | SetTransactionType (const unsigned long transactionType) const |
| Set previous transaction type. More... | |
| bool | GetWalletCounter (unsigned short &walletCounter) const |
| Get wallet transaction counter. More... | |
| bool | SetWalletCounter (const unsigned short walletCounter) const |
| Set wallet transaction counter. More... | |
| bool | GetWalletSamNumber (unsigned long &walletSamNumber) const |
| Get wallet sam number. More... | |
| bool | SetWalletSamNumber (const unsigned long walletSamNumber) const |
| Set wallet sam number. More... | |
| bool | GetWalletSamCounter (unsigned long &walletSamCounter) const |
| Get wallet sam transaction counter. More... | |
| bool | SetWalletSamCounter (const unsigned long walletSamCounter) const |
| Set wallet sam transaction counter. More... | |
| bool | IsDataValid (bool &validData) const |
| bool | SetDataValid (const bool validData) const |
| Set Data Validity. More... | |
| ECardDataFacadeLog (ECardDataStorage *cardDataStorage) | |
| virtual | ~ECardDataFacadeLog () |
| ECardFacadeDefines::ReturnValues | Init () |
| set to member actual card implementation and call init on actual implementation More... | |
| void | Clear () |
| clear all data More... | |
| bool | IsModifiedData () const |
| |
| bool | AddDataToWriteRequest (EM::PT::EDataCollection *writeRequest) const |
| bool | AddDataTypeToReadRequest (PT::EAplRequest *readRequest[], unsigned short dataTypesOperation) const |
| bool | GetTimeData (unsigned long &timeDate) const |
| get information about time and date More... | |
| bool | SetTimeData (const unsigned long timeDate) const |
| set information about time and date More... | |
| bool | GetNetworkID (unsigned long &networkID) const |
| get information about network ID More... | |
| bool | SetNetworkID (const unsigned long networkID) const |
| set information about network ID More... | |
| bool | GetServiceProvider (unsigned long &serviceProvider) const |
| get/set information about service provider / provider number / company number More... | |
| bool | SetServiceProvider (const unsigned long serviceProvider) const |
| bool | GetDevice (unsigned long &device) const |
| get information about device(terminal) More... | |
| bool | SetDevice (const unsigned long device) const |
| set information about device(terminal) More... | |
| bool | GetDeviceCounter (unsigned long &deviceCounter) const |
| get device(terminal) transaction counter More... | |
| bool | SetDeviceCounter (const unsigned long deviceCounter) const |
| set device(terminal) transaction counter More... | |
| bool | GetPriceAmountUnit (EMoneyData &moneyData) const |
| get information about price amount More... | |
| bool | SetPriceAmountUnit (const EMoneyData &moneyData) const |
| set information about price amount More... | |
| bool | GetVAT (unsigned long &vat) const |
| get information about VAT More... | |
| bool | SetVAT (const unsigned long vat) const |
| set information about VAT More... | |
| bool | GetData (unsigned char &serviceID, unsigned char &serviceAmount, const unsigned char pos) const |
| get information about event data on position More... | |
| bool | SetData (const unsigned char serviceID, const unsigned char serviceAmount, const unsigned char pos) const |
| set information about event data on position More... | |
| bool | IsCardFeatureEnabled (const ECardFacadeDefines::LogCardFeatures feature, bool &enabled) const |
| checks validity of selected feature More... | |
| bool | GetWalletBalanceBefore (long &balanceBefore) const |
| Get previous wallet balance. More... | |
| bool | SetWalletBalanceBefore (const long balanceBefore) const |
| Set previous wallet balance. More... | |
| bool | GetPrice (unsigned long &price) const |
| Get previous ticket price. More... | |
| bool | SetPrice (const unsigned long price) const |
| Set previous ticket price. More... | |
| bool | GetTransactionType (unsigned long &transactionType) const |
| Get previous transaction type. More... | |
| bool | SetTransactionType (const unsigned long transactionType) const |
| Set previous transaction type. More... | |
| bool | GetWalletCounter (unsigned short &walletCounter) const |
| Get wallet transaction counter. More... | |
| bool | SetWalletCounter (const unsigned short walletCounter) const |
| Set wallet transaction counter. More... | |
| bool | GetWalletSamNumber (unsigned long &walletSamNumber) const |
| Get wallet sam number. More... | |
| bool | SetWalletSamNumber (const unsigned long walletSamNumber) const |
| Set wallet sam number. More... | |
| bool | GetWalletSamCounter (unsigned long &walletSamCounter) const |
| Get wallet sam transaction counter. More... | |
| bool | SetWalletSamCounter (const unsigned long walletSamCounter) const |
| Set wallet sam transaction counter. More... | |
| bool | IsDataValid (bool &validData) const |
| bool | SetDataValid (const bool validData) const |
| Set Data Validity. More... | |
| INTERNAL ECardDataFacadeLog::ECardDataFacadeLog | ( | ECardDataStorage * | cardDataStorage | ) |
CONSTRUCTOR
|
virtual |
in destructor destroy data class
DESTRUCTOR
| EM::CardFacade::ECardDataFacadeLog::ECardDataFacadeLog | ( | ECardDataStorage * | cardDataStorage | ) |
|
virtual |
| bool EM::CardFacade::ECardDataFacadeLog::AddDataToWriteRequest | ( | EM::PT::EDataCollection * | writeRequest | ) | const |
| writeRequest | - EDataCollection instance of write request |
| bool EM::CardFacade::ECardDataFacadeLog::AddDataToWriteRequest | ( | EM::PT::EDataCollection * | writeRequest | ) | const |
| writeRequest | - EDataCollection instance of write request |
| bool EM::CardFacade::ECardDataFacadeLog::AddDataTypeToReadRequest | ( | PT::EAplRequest * | readRequest[], |
| unsigned short | dataTypesOperation | ||
| ) | const |
| requestRead | - instance of read request - add data type into this collection |
| bool EM::CardFacade::ECardDataFacadeLog::AddDataTypeToReadRequest | ( | PT::EAplRequest * | readRequest[], |
| unsigned short | dataTypesOperation | ||
| ) | const |
| requestRead | - instance of read request - add data type into this collection |
| void EM::CardFacade::ECardDataFacadeLog::Clear | ( | ) |
clear all data
| void ECardDataFacadeLog::Clear | ( | ) |
clear all data
| bool ECardDataFacadeLog::GetData | ( | unsigned char & | serviceID, |
| unsigned char & | serviceAmount, | ||
| const unsigned char | pos | ||
| ) | const |
get information about event data on position
| pos | - position of data 0..7 Not supported in card implementations:
|
| bool EM::CardFacade::ECardDataFacadeLog::GetData | ( | unsigned char & | serviceID, |
| unsigned char & | serviceAmount, | ||
| const unsigned char | pos | ||
| ) | const |
get information about event data on position
| pos | - position of data 0..7 Not supported in card implementations:
|
| bool EM::CardFacade::ECardDataFacadeLog::GetDevice | ( | unsigned long & | device | ) | const |
get information about device(terminal)
| bool ECardDataFacadeLog::GetDevice | ( | unsigned long & | device | ) | const |
get information about device(terminal)

| bool EM::CardFacade::ECardDataFacadeLog::GetDeviceCounter | ( | unsigned long & | deviceCounter | ) | const |
get device(terminal) transaction counter
| bool ECardDataFacadeLog::GetDeviceCounter | ( | unsigned long & | deviceCounter | ) | const |
get device(terminal) transaction counter

| bool ECardDataFacadeLog::GetNetworkID | ( | unsigned long & | networkID | ) | const |
get information about network ID
Not supported in card implementations:
| bool EM::CardFacade::ECardDataFacadeLog::GetNetworkID | ( | unsigned long & | networkID | ) | const |
get information about network ID
Not supported in card implementations:
| bool ECardDataFacadeLog::GetPrice | ( | unsigned long & | price | ) | const |
Get previous ticket price.
| price | - Previous transaction ticket price |

| bool EM::CardFacade::ECardDataFacadeLog::GetPrice | ( | unsigned long & | price | ) | const |
Get previous ticket price.
| price | - Previous transaction ticket price |
| bool ECardDataFacadeLog::GetPriceAmountUnit | ( | EMoneyData & | moneyData | ) | const |
get information about price amount
Not supported in card implementations:
| bool EM::CardFacade::ECardDataFacadeLog::GetPriceAmountUnit | ( | EMoneyData & | moneyData | ) | const |
get information about price amount
Not supported in card implementations:
| bool ECardDataFacadeLog::GetServiceProvider | ( | unsigned long & | serviceProvider | ) | const |
get/set information about service provider / provider number / company number
Not supported in card implementations:

| bool EM::CardFacade::ECardDataFacadeLog::GetServiceProvider | ( | unsigned long & | serviceProvider | ) | const |
get/set information about service provider / provider number / company number
Not supported in card implementations:
| bool EM::CardFacade::ECardDataFacadeLog::GetTimeData | ( | unsigned long & | timeDate | ) | const |
get information about time and date
| timeDate | - time stamp [s] |
| bool ECardDataFacadeLog::GetTimeData | ( | unsigned long & | timeDate | ) | const |
get information about time and date
| timeDate | - time stamp [s] |

| bool ECardDataFacadeLog::GetTransactionType | ( | unsigned long & | transactionType | ) | const |
Get previous transaction type.
| transactionType | - Previous transaction transaction type |
transaction type

| bool EM::CardFacade::ECardDataFacadeLog::GetTransactionType | ( | unsigned long & | transactionType | ) | const |
Get previous transaction type.
| transactionType | - Previous transaction transaction type |
transaction type
| bool ECardDataFacadeLog::GetVAT | ( | unsigned long & | vat | ) | const |
get information about VAT
Not supported in card implementations:
| bool EM::CardFacade::ECardDataFacadeLog::GetVAT | ( | unsigned long & | vat | ) | const |
get information about VAT
Not supported in card implementations:
| bool ECardDataFacadeLog::GetWalletBalanceBefore | ( | long & | balanceBefore | ) | const |
Get previous wallet balance.
| balanceBefore | - Previous transaction wallet balance |

| bool EM::CardFacade::ECardDataFacadeLog::GetWalletBalanceBefore | ( | long & | balanceBefore | ) | const |
Get previous wallet balance.
| balanceBefore | - Previous transaction wallet balance |
| bool EM::CardFacade::ECardDataFacadeLog::GetWalletCounter | ( | unsigned short & | walletCounter | ) | const |
Get wallet transaction counter.
| bool ECardDataFacadeLog::GetWalletCounter | ( | unsigned short & | walletCounter | ) | const |
Get wallet transaction counter.

| bool ECardDataFacadeLog::GetWalletSamCounter | ( | unsigned long & | walletSamCounter | ) | const |
Get wallet sam transaction counter.
Not supported in card implementations:

| bool EM::CardFacade::ECardDataFacadeLog::GetWalletSamCounter | ( | unsigned long & | walletSamCounter | ) | const |
Get wallet sam transaction counter.
Not supported in card implementations:
| bool EM::CardFacade::ECardDataFacadeLog::GetWalletSamNumber | ( | unsigned long & | walletSamNumber | ) | const |
Get wallet sam number.
Not supported in card implementations:
| bool ECardDataFacadeLog::GetWalletSamNumber | ( | unsigned long & | walletSamNumber | ) | const |
Get wallet sam number.
Not supported in card implementations:

| ECardFacadeDefines::ReturnValues ECardDataFacadeLog::Init | ( | ) |
set to member actual card implementation and call init on actual implementation
| ECardFacadeDefines::ReturnValues EM::CardFacade::ECardDataFacadeLog::Init | ( | ) |
set to member actual card implementation and call init on actual implementation
| bool ECardDataFacadeLog::IsCardFeatureEnabled | ( | const ECardFacadeDefines::LogCardFeatures | feature, |
| bool & | enabled | ||
| ) | const |
checks validity of selected feature
| feature | from ECardFacadeDefines enum features |
| output | param indicates feature validity |

| bool EM::CardFacade::ECardDataFacadeLog::IsCardFeatureEnabled | ( | const ECardFacadeDefines::LogCardFeatures | feature, |
| bool & | enabled | ||
| ) | const |
checks validity of selected feature
| feature | from ECardFacadeDefines enum features |
| output | param indicates feature validity |
| bool ECardDataFacadeLog::IsDataValid | ( | bool & | validData | ) | const |

| bool EM::CardFacade::ECardDataFacadeLog::IsDataValid | ( | bool & | validData | ) | const |
| bool EM::CardFacade::ECardDataFacadeLog::IsModifiedData | ( | ) | const |
| bool ECardDataFacadeLog::IsModifiedData | ( | ) | const |
| bool ECardDataFacadeLog::SetData | ( | const unsigned char | serviceID, |
| const unsigned char | serviceAmount, | ||
| const unsigned char | pos | ||
| ) | const |
set information about event data on position
| pos | - position of data 0..7 Not supported in card implementations:
|
| bool EM::CardFacade::ECardDataFacadeLog::SetData | ( | const unsigned char | serviceID, |
| const unsigned char | serviceAmount, | ||
| const unsigned char | pos | ||
| ) | const |
set information about event data on position
| pos | - position of data 0..7 Not supported in card implementations:
|
| bool ECardDataFacadeLog::SetDataValid | ( | const bool | validData | ) | const |
Set Data Validity.
| validData | data validity Not supported in card implementations:
|
| bool EM::CardFacade::ECardDataFacadeLog::SetDataValid | ( | const bool | validData | ) | const |
Set Data Validity.
| validData | data validity Not supported in card implementations:
|
| bool EM::CardFacade::ECardDataFacadeLog::SetDevice | ( | const unsigned long | device | ) | const |
set information about device(terminal)
| bool ECardDataFacadeLog::SetDevice | ( | const unsigned long | device | ) | const |
set information about device(terminal)
| bool EM::CardFacade::ECardDataFacadeLog::SetDeviceCounter | ( | const unsigned long | deviceCounter | ) | const |
set device(terminal) transaction counter
| bool ECardDataFacadeLog::SetDeviceCounter | ( | const unsigned long | deviceCounter | ) | const |
set device(terminal) transaction counter
| bool ECardDataFacadeLog::SetNetworkID | ( | const unsigned long | networkID | ) | const |
set information about network ID
Not supported in card implementations:
| bool EM::CardFacade::ECardDataFacadeLog::SetNetworkID | ( | const unsigned long | networkID | ) | const |
set information about network ID
Not supported in card implementations:
| bool ECardDataFacadeLog::SetPrice | ( | const unsigned long | price | ) | const |
Set previous ticket price.
| price | - Previous transaction ticket price |
| bool EM::CardFacade::ECardDataFacadeLog::SetPrice | ( | const unsigned long | price | ) | const |
Set previous ticket price.
| price | - Previous transaction ticket price |
| bool EM::CardFacade::ECardDataFacadeLog::SetPriceAmountUnit | ( | const EMoneyData & | moneyData | ) | const |
set information about price amount
Not supported in card implementations:
| bool ECardDataFacadeLog::SetPriceAmountUnit | ( | const EMoneyData & | moneyData | ) | const |
set information about price amount
Not supported in card implementations:
| bool EM::CardFacade::ECardDataFacadeLog::SetServiceProvider | ( | const unsigned long | serviceProvider | ) | const |
| bool ECardDataFacadeLog::SetServiceProvider | ( | const unsigned long | serviceProvider | ) | const |
| bool EM::CardFacade::ECardDataFacadeLog::SetTimeData | ( | const unsigned long | timeDate | ) | const |
set information about time and date
| timeDate | - timestamp [s] |
| bool ECardDataFacadeLog::SetTimeData | ( | const unsigned long | timeDate | ) | const |
set information about time and date
| timeDate | - timestamp [s] |
| bool ECardDataFacadeLog::SetTransactionType | ( | const unsigned long | transactionType | ) | const |
Set previous transaction type.
| transactionType | - Previous transaction transaction type |
transaction type
| bool EM::CardFacade::ECardDataFacadeLog::SetTransactionType | ( | const unsigned long | transactionType | ) | const |
Set previous transaction type.
| transactionType | - Previous transaction transaction type |
transaction type
| bool EM::CardFacade::ECardDataFacadeLog::SetVAT | ( | const unsigned long | vat | ) | const |
set information about VAT
Not supported in card implementations:
| bool ECardDataFacadeLog::SetVAT | ( | const unsigned long | vat | ) | const |
set information about VAT
Not supported in card implementations:
| bool ECardDataFacadeLog::SetWalletBalanceBefore | ( | const long | balanceBefore | ) | const |
Set previous wallet balance.
| balanceBefore | - Previous transaction wallet balance |
| bool EM::CardFacade::ECardDataFacadeLog::SetWalletBalanceBefore | ( | const long | balanceBefore | ) | const |
Set previous wallet balance.
| balanceBefore | - Previous transaction wallet balance |
| bool ECardDataFacadeLog::SetWalletCounter | ( | const unsigned short | walletCounter | ) | const |
Set wallet transaction counter.
| bool EM::CardFacade::ECardDataFacadeLog::SetWalletCounter | ( | const unsigned short | walletCounter | ) | const |
Set wallet transaction counter.
| bool ECardDataFacadeLog::SetWalletSamCounter | ( | const unsigned long | walletSamCounter | ) | const |
Set wallet sam transaction counter.
Not supported in card implementations:
| bool EM::CardFacade::ECardDataFacadeLog::SetWalletSamCounter | ( | const unsigned long | walletSamCounter | ) | const |
Set wallet sam transaction counter.
Not supported in card implementations:
| bool ECardDataFacadeLog::SetWalletSamNumber | ( | const unsigned long | walletSamNumber | ) | const |
Set wallet sam number.
Not supported in card implementations:
| bool EM::CardFacade::ECardDataFacadeLog::SetWalletSamNumber | ( | const unsigned long | walletSamNumber | ) | const |
Set wallet sam number.
Not supported in card implementations:
1.8.8