Keypop Reader C++ API 2.0.0
Reference Reader API for C++
include
keypop
reader
ConfigurableCardReader.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 <string>
13
14
#include "
keypop/reader/CardReader.hpp
"
15
16
namespace
keypop
{
17
namespace
reader {
18
24
class
ConfigurableCardReader
:
virtual
public
CardReader
{
25
public
:
29
virtual
~ConfigurableCardReader
() =
default
;
30
58
virtual
void
activateProtocol
(
59
const
std::string& physicalProtocolName,
const
std::string& logicalProtocolName)
60
= 0;
61
75
virtual
void
deactivateProtocol
(
const
std::string& physicalProtocolName) = 0;
76
84
virtual
const
std::string&
getCurrentProtocol
()
const
= 0;
85
};
86
87
}
/* namespace reader */
88
}
/* namespace keypop */
CardReader.hpp
keypop::reader::CardReader
Definition:
CardReader.hpp:22
keypop::reader::ConfigurableCardReader
Definition:
ConfigurableCardReader.hpp:24
keypop::reader::ConfigurableCardReader::activateProtocol
virtual void activateProtocol(const std::string &physicalProtocolName, const std::string &logicalProtocolName)=0
keypop::reader::ConfigurableCardReader::getCurrentProtocol
virtual const std::string & getCurrentProtocol() const =0
keypop::reader::ConfigurableCardReader::~ConfigurableCardReader
virtual ~ConfigurableCardReader()=default
keypop::reader::ConfigurableCardReader::deactivateProtocol
virtual void deactivateProtocol(const std::string &physicalProtocolName)=0
keypop
Definition:
CardCommunicationException.hpp:16
Generated by
1.9.2