7#ifndef LOGICALACCESS_GUNNEBOREADERUNIT_HPP
8#define LOGICALACCESS_GUNNEBOREADERUNIT_HPP
12#include <logicalaccess/plugins/readers/gunnebo/lla_readers_gunnebo_api.hpp>
17class GunneboReaderCardAdapter;
18class GunneboReaderProvider;
40 std::string getName()
const override;
46 std::string getConnectedName()
override;
52 void setCardType(std::string cardType)
override;
63 bool waitInsertion(
unsigned int maxwait)
override;
73 bool waitRemoval(
unsigned int maxwait)
override;
80 std::shared_ptr<Chip> createChip(std::string type)
override;
86 std::shared_ptr<Chip> getSingleChip()
override;
92 std::vector<std::shared_ptr<Chip>> getChipList()
override;
98 virtual std::shared_ptr<GunneboReaderCardAdapter>
99 getDefaultGunneboReaderCardAdapter();
108 bool connect()
override;
116 void disconnect()
override;
122 bool isConnected()
override;
128 bool connectToReader()
override;
133 void disconnectFromReader()
override;
145 std::string getReaderSerialNumber()
override;
151 void serialize(boost::property_tree::ptree &parentNode)
override;
157 void unSerialize(boost::property_tree::ptree &node)
override;
165 return std::dynamic_pointer_cast<GunneboReaderUnitConfiguration>(
173 std::shared_ptr<GunneboReaderProvider> getGunneboReaderProvider()
const;
179 void setConfiguration(std::shared_ptr<ReaderUnitConfiguration> config)
override;
The Gunnebo reader unit class.
Definition: gunneboreaderunit.hpp:24
std::shared_ptr< GunneboReaderUnitConfiguration > getGunneboConfiguration()
Get the Gunnebo reader unit configuration.
Definition: gunneboreaderunit.hpp:163
ByteVector removalIdentifier
The new identifier that will be used for the next waitInsertion after the waitRemoval.
Definition: gunneboreaderunit.hpp:194
The card types.
Definition: readerunit.hpp:42
Gunnebo Reader unit configuration.
std::vector< uint8_t > ByteVector
Definition: lla_fwd.hpp:80