LibLogicalAccess  2.5.0
An Open Source RFID Library
Loading...
Searching...
No Matches
mifareplusschip.hpp
Go to the documentation of this file.
1
7#ifndef LOGICALACCESS_MIFAREPLUSSCHIP_HPP
8#define LOGICALACCESS_MIFAREPLUSSCHIP_HPP
9
12#include <logicalaccess/plugins/cards/mifareplus/lla_cards_mifareplus_api.hpp>
13#include <string>
14#include <vector>
15#include <iostream>
16
17namespace logicalaccess
18{
19#define CHIP_MIFAREPLUSS "MifarePlusS"
20
21class LLA_CARDS_MIFAREPLUS_API MifarePlusSChip : public MifarePlusChip, public Chip
22{
23 public:
24 ~MifarePlusSChip() = default;
27 {
28 }
29
30 const std::string &getCardType() const override
31 {
32 return Chip::getCardType();
33 }
34
35 std::string getGenericCardType() const override
36 {
37 return Chip::getGenericCardType();
38 }
39
40 std::shared_ptr<Commands> getCommands() const override
41 {
42 return Chip::getCommands();
43 }
44
46 {
47 return Chip::getChipIdentifier();
48 }
49
50 std::shared_ptr<CardService> getService(CardServiceType serviceType) override
51 {
52 return Chip::getService(serviceType);
53 }
54};
55}
56
57#endif /* LOGICALACCESS_MIFAREPLUSSCHIP_HPP */
Chip descriptor.
The base chip class for all chip. Each chip have is own object and providers according to himself and...
Definition: chip.hpp:37
Definition: mifarepluschip.hpp:23
Definition: mifareplusschip.hpp:22
std::shared_ptr< CardService > getService(CardServiceType serviceType) override
Get a card service for this chip.
Definition: mifareplusschip.hpp:50
ByteVector getChipIdentifier() const override
Get the chip identifier.
Definition: mifareplusschip.hpp:45
MifarePlusSChip()
Definition: mifareplusschip.hpp:25
const std::string & getCardType() const override
Get the card type of the chip.
Definition: mifareplusschip.hpp:30
std::string getGenericCardType() const override
Get the generic card type.
Definition: mifareplusschip.hpp:35
std::shared_ptr< Commands > getCommands() const override
Get the commands.
Definition: mifareplusschip.hpp:40
std::vector< uint8_t > ByteVector
Definition: lla_fwd.hpp:80
MifareAccessInfo.
#define CHIP_MIFAREPLUSS
Definition: mifareplusschip.hpp:19
Definition: asn1.hpp:9
CardServiceType
The card services.
Definition: cardservice.hpp:35