Keypop Reader C++ API - 2.1.0
Component of the Keypop C++ API
ReaderApiFactory.hpp
Go to the documentation of this file.
1/******************************************************************************
2 * Copyright (c) 2025 Calypso Networks Association https://calypsonet.org/ *
3 * *
4 * See the NOTICE file(s) distributed with this work for additional *
5 * information regarding copyright ownership. *
6 * *
7 * This program and the accompanying materials are made available under the *
8 * terms of the MIT License which is available at *
9 * https://opensource.org/licenses/MIT *
10 * *
11 * SPDX-License-Identifier: MIT *
12 ******************************************************************************/
13
14#pragma once
15
16#include <memory>
17#include <string>
18
22
23namespace keypop {
24namespace reader {
25
29
36public:
40 virtual ~ReaderApiFactory() = default;
41
48 virtual std::shared_ptr<CardSelectionManager> createCardSelectionManager()
49 = 0;
50
57 virtual std::shared_ptr<BasicCardSelector> createBasicCardSelector() = 0;
58
65 virtual std::shared_ptr<IsoCardSelector> createIsoCardSelector() = 0;
66};
67
68} /* namespace reader */
69} /* namespace keypop */
virtual std::shared_ptr< BasicCardSelector > createBasicCardSelector()=0
Returns a new instance of BasicCardSelector.
virtual std::shared_ptr< CardSelectionManager > createCardSelectionManager()=0
Returns a new instance of CardSelectionManager.
virtual std::shared_ptr< IsoCardSelector > createIsoCardSelector()=0
Returns a new instance of IsoCardSelector.
virtual ~ReaderApiFactory()=default
Basic filters used to restrict the selection process to certain cards.
Service dedicated to card selection, based on the preparation of a card selection scenario.
ISO filters used to restrict the selection process to certain ISO 7816-4 cards.