Keypop Reader C++ API 2.0.0
Reference Reader API for C++
include
keypop
reader
selection
CardSelectionResult.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 <map>
14
#include <memory>
15
16
#include "
keypop/reader/selection/spi/SmartCard.hpp
"
17
18
namespace
keypop
{
19
namespace
reader {
20
namespace
selection {
21
22
using
keypop::reader::selection::spi::SmartCard
;
23
36
class
CardSelectionResult
{
37
public
:
46
virtual
const
std::map<int, std::shared_ptr<SmartCard>>&
47
getSmartCards
()
const
= 0;
48
55
virtual
std::shared_ptr<SmartCard>
getActiveSmartCard
()
const
= 0;
56
64
virtual
int
getActiveSelectionIndex
()
const
= 0;
65
};
66
67
}
/* namespace selection */
68
}
/* namespace reader */
69
}
/* namespace keypop */
SmartCard.hpp
keypop::reader::selection::CardSelectionResult
Definition:
CardSelectionResult.hpp:36
keypop::reader::selection::CardSelectionResult::getActiveSmartCard
virtual std::shared_ptr< SmartCard > getActiveSmartCard() const =0
keypop::reader::selection::CardSelectionResult::getActiveSelectionIndex
virtual int getActiveSelectionIndex() const =0
keypop::reader::selection::CardSelectionResult::getSmartCards
virtual const std::map< int, std::shared_ptr< SmartCard > > & getSmartCards() const =0
keypop::reader::selection::spi::SmartCard
Definition:
SmartCard.hpp:32
keypop
Definition:
CardCommunicationException.hpp:17
Generated by
1.9.2