LibLogicalAccess  2.5.0
An Open Source RFID Library
Loading...
Searching...
No Matches
stidstrreaderprovider.hpp
Go to the documentation of this file.
1
7#ifndef LOGICALACCESS_READERSTIDSTR_PROVIDER_HPP
8#define LOGICALACCESS_READERSTIDSTR_PROVIDER_HPP
9
11#include <logicalaccess/plugins/readers/stidstr/lla_readers_stidstr_api.hpp>
12
13namespace logicalaccess
14{
15#define READER_STIDSTR "STidSTR"
16
20class LLA_READERS_STIDSTR_API STidSTRReaderProvider : public ISO7816ReaderProvider
21{
22 public:
28 static std::shared_ptr<STidSTRReaderProvider> getSingletonInstance();
29
34
38 void release() override;
39
44 std::string getRPType() const override
45 {
46 return READER_STIDSTR;
47 }
48
53 std::string getRPName() const override
54 {
55 return "STid STR";
56 }
57
62 bool refreshReaderList() override;
63
68 const ReaderList &getReaderList() override
69 {
70 return d_readers;
71 }
72
77 std::shared_ptr<ReaderUnit> createReaderUnit() override;
78
83 std::shared_ptr<ISO7816ReaderUnit>
84 createReaderUnit(std::string readerunitname) override;
85
86 protected:
91
96};
97}
98
99#endif /* LOGICALACCESS_READERSTIDSTR_PROVIDER_HPP */
ISO7816 Reader Provider base class.
Definition: iso7816readerprovider.hpp:24
STidSTR Reader Provider class.
Definition: stidstrreaderprovider.hpp:21
ReaderList d_readers
The reader list.
Definition: stidstrreaderprovider.hpp:95
const ReaderList & getReaderList() override
Get reader list for this reader provider.
Definition: stidstrreaderprovider.hpp:68
std::string getRPName() const override
Get the reader provider name.
Definition: stidstrreaderprovider.hpp:53
std::string getRPType() const override
Get the reader provider type.
Definition: stidstrreaderprovider.hpp:44
ISO7816 card reader provider.
Definition: asn1.hpp:9
std::vector< std::shared_ptr< ReaderUnit > > ReaderList
A reader unit list.
Definition: readerprovider.hpp:18
#define READER_STIDSTR
Definition: stidstrreaderprovider.hpp:15