Keypop Calypso Crypto Legacy SAM C++ API - 1.0.0
Component of the Keypop C++ API
TransactionManager.hpp
Go to the documentation of this file.
1/******************************************************************************
2 * Copyright (c) 2025 Calypso Networks Association https://calypsonet.org/ *
3 * *
4 * This program and the accompanying materials are made available under the *
5 * terms of the MIT License which is available at *
6 * https://opensource.org/licenses/MIT. *
7 * *
8 * SPDX-License-Identifier: MIT *
9 ******************************************************************************/
10
11#pragma once
12
13#include "keypop/reader/ChannelControl.hpp"
14#include "keypop/reader/transaction/spi/CardTransactionManager.hpp"
15
16namespace keypop {
17namespace calypso {
18namespace crypto {
19namespace legacysam {
20namespace transaction {
21
22using keypop::reader::ChannelControl;
23
33template <typename T>
35: public keypop::reader::transaction::spi::CardTransactionManager<T> {
36public:
52 virtual T& processCommands() = 0;
53
62 virtual T& processCommands(const ChannelControl channelControl) = 0;
63};
64
65} /* namespace transaction */
66} /* namespace legacysam */
67} /* namespace crypto */
68} /* namespace calypso */
69} /* namespace keypop */
Common API for all legacy SAM transaction managers.
virtual T & processCommands(const ChannelControl channelControl)=0
virtual T & processCommands()=0
Process all previously prepared commands.