Keyple Card Calypso C++ Library 2.2.5.6
Reference Terminal Reader API for C++
CmdCardRehabilitate.h
Go to the documentation of this file.
1/**************************************************************************************************
2 * Copyright (c) 2023 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#include <cstdint>
16#include <map>
17#include <memory>
18#include <vector>
19
20/* Keyple Card Calypso */
21#include "AbstractApduCommand.h"
22#include "AbstractCardCommand.h"
23#include "CalypsoCardAdapter.h"
24#include "CalypsoCardClass.h"
25#include "CalypsoCardCommand.h"
26
27/* Keyple Core Util */
28#include "LoggerFactory.h"
29
30namespace keyple {
31namespace card {
32namespace calypso {
33
34using namespace keyple::core::util::cpp;
35
37
45public:
53 CmdCardRehabilitate(const std::shared_ptr<CalypsoCardAdapter> calypsoCard);
54
61 bool isSessionBufferUsed() const override;
62
68 const std::map<const int, const std::shared_ptr<StatusProperties>>& getStatusTable() const
69 override;
70
71private:
75 static const CalypsoCardCommand mCommand;
76
80 static const std::map<const int, const std::shared_ptr<StatusProperties>> STATUS_TABLE;
81
85 static const std::map<const int, const std::shared_ptr<StatusProperties>> initStatusTable();
86};
87
88}
89}
90}
CmdCardRehabilitate(const std::shared_ptr< CalypsoCardAdapter > calypsoCard)
const std::map< const int, const std::shared_ptr< StatusProperties > > & getStatusTable() const override
AbstractApduCommand::StatusProperties StatusProperties