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) 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 <string>
14
15
namespace
keypop
{
16
namespace
reader {
17
23
class
CardReader
{
24
public
:
28
virtual
~CardReader
() =
default
;
29
36
virtual
const
std::string&
getName
()
const
= 0;
37
47
virtual
bool
isContactless
() = 0;
48
57
virtual
bool
isCardPresent
() = 0;
58
};
59
60
}
/* namespace reader */
61
}
/* namespace keypop */
keypop::reader::CardReader
Definition:
CardReader.hpp:23
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:17
Generated by
1.9.2