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) 2024 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 https://opensource.org/licenses/MIT. *
6
* *
7
* SPDX-License-Identifier: MIT *
8
**************************************************************************************************/
9
10
#pragma once
11
12
#include <map>
13
#include <memory>
14
15
#include "
keypop/reader/selection/spi/SmartCard.hpp
"
16
17
namespace
keypop
{
18
namespace
reader {
19
namespace
selection {
20
21
using
keypop::reader::selection::spi::SmartCard
;
22
35
class
CardSelectionResult
{
36
public
:
45
virtual
const
std::map<int, std::shared_ptr<SmartCard>>&
getSmartCards
()
const
= 0;
46
53
virtual
std::shared_ptrespi::SmartCard::SmartCard >
getActiveSmartCard
()
const
= 0;
54
61
virtual
int
getActiveSelectionIndex
()
const
= 0;
62
};
63
64
}
/* namespace selection */
65
}
/* namespace reader */
66
}
/* namespace keypop */
SmartCard.hpp
keypop::reader::selection::CardSelectionResult
Definition:
CardSelectionResult.hpp:35
keypop::reader::selection::CardSelectionResult::getActiveSelectionIndex
virtual int getActiveSelectionIndex() const =0
keypop::reader::selection::CardSelectionResult::getActiveSmartCard
virtual std::shared_ptrespi::SmartCard::SmartCard getActiveSmartCard() 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:29
keypop
Definition:
CardCommunicationException.hpp:16
Generated by
1.9.2