Keyple Card Calypso C++ Library 2.2.2
Reference Terminal Reader API for C++
SamControlSamTransactionManagerAdapter.h
Go to the documentation of this file.
1/**************************************************************************************************
2 * Copyright (c) 2022 Calypso Networks Association https://calypsonet.org/ *
3 * *
4 * See the NOTICE file(s) distributed with this work for additional information regarding *
5 * copyright ownership. *
6 * *
7 * This program and the accompanying materials are made available under the terms of the Eclipse *
8 * Public License 2.0 which is available at http://www.eclipse.org/legal/epl-2.0 *
9 * *
10 * SPDX-License-Identifier: EPL-2.0 *
11 **************************************************************************************************/
12
13#pragma once
14
15/* Keyple Card Calypso */
16#include "CalypsoSamAdapter.h"
19
20/* Keyple Core Util */
21#include "LoggerFactory.h"
22
23namespace keyple {
24namespace card {
25namespace calypso {
26
27using namespace keyple::core::util::cpp;
28
37public CommonControlSamTransactionManagerAdapter<SamSecuritySettingAdapter> {
38public:
49 const std::shared_ptr<CalypsoSamAdapter> targetSam,
50 const std::shared_ptr<SamSecuritySettingAdapter> securitySetting,
51 const std::vector<std::vector<uint8_t>>& transactionAuditData);
52
53private:
57 const std::unique_ptr<Logger> mLogger =
58 LoggerFactory::getLogger(typeid(SamControlSamTransactionManagerAdapter));
59
63 const std::shared_ptr<CalypsoSamAdapter> mControlSam;
64
68 const std::shared_ptr<CalypsoSamAdapter> mTargetSam;
69
73 const std::shared_ptr<SamSecuritySettingAdapter> mSamSecuritySetting;
74
75};
76
77}
78}
79}
SamControlSamTransactionManagerAdapter(const std::shared_ptr< CalypsoSamAdapter > targetSam, const std::shared_ptr< SamSecuritySettingAdapter > securitySetting, const std::vector< std::vector< uint8_t > > &transactionAuditData)