Keypop Reader C++ API 2.0.0
Reference Reader API for C++
include
keypop
reader
CardReader.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
namespace
keypop
{
15
namespace
reader {
16
22
class
CardReader
{
23
public
:
27
virtual
~CardReader
() =
default
;
28
35
virtual
const
std::string&
getName
()
const
= 0;
36
46
virtual
bool
isContactless
() = 0;
47
55
virtual
bool
isCardPresent
() = 0;
56
};
57
58
}
/* namespace reader */
59
}
/* namespace keypop */
keypop::reader::CardReader
Definition:
CardReader.hpp:22
keypop::reader::CardReader::getName
virtual const std::string & getName() const =0
keypop::reader::CardReader::isCardPresent
virtual bool isCardPresent()=0
keypop::reader::CardReader::isContactless
virtual bool isContactless()=0
keypop::reader::CardReader::~CardReader
virtual ~CardReader()=default
keypop
Definition:
CardCommunicationException.hpp:16
Generated by
1.9.2