LibLogicalAccess  2.5.0
An Open Source RFID Library
Loading...
Searching...
No Matches
mifareplusxchip.hpp
Go to the documentation of this file.
1
7#ifndef LOGICALACCESS_MIFAREPLUSXCHIP_HPP
8#define LOGICALACCESS_MIFAREPLUSXCHIP_HPP
9
12
13#include <string>
14#include <vector>
15#include <iostream>
16
17namespace logicalaccess
18{
19#define CHIP_MIFAREPLUSX "MifarePlusX"
20
21class LLA_CARDS_MIFAREPLUS_API MifarePlusXChip : public MifarePlusChip, public Chip
22{
23 public:
24 ~MifarePlusXChip() = default;
27 {
28 }
29
30
31 const std::string &getCardType() const override
32 {
33 return Chip::getCardType();
34 }
35
36 std::string getGenericCardType() const override
37 {
38 return Chip::getGenericCardType();
39 }
40
41 std::shared_ptr<Commands> getCommands() const override
42 {
43 return Chip::getCommands();
44 }
45
47 {
48 return Chip::getChipIdentifier();
49 }
50
51 std::shared_ptr<CardService> getService(CardServiceType serviceType) override
52 {
53 return Chip::getService(serviceType);
54 }
55};
56}
57
58#endif /* LOGICALACCESS_MIFAREPLUSXCHIP_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: mifareplusxchip.hpp:22
MifarePlusXChip()
Definition: mifareplusxchip.hpp:25
const std::string & getCardType() const override
Get the card type of the chip.
Definition: mifareplusxchip.hpp:31
std::string getGenericCardType() const override
Get the generic card type.
Definition: mifareplusxchip.hpp:36
ByteVector getChipIdentifier() const override
Get the chip identifier.
Definition: mifareplusxchip.hpp:46
std::shared_ptr< Commands > getCommands() const override
Get the commands.
Definition: mifareplusxchip.hpp:41
std::shared_ptr< CardService > getService(CardServiceType serviceType) override
Get a card service for this chip.
Definition: mifareplusxchip.hpp:51
std::vector< uint8_t > ByteVector
Definition: lla_fwd.hpp:80
MifareAccessInfo.
#define CHIP_MIFAREPLUSX
Definition: mifareplusxchip.hpp:19
Definition: asn1.hpp:9
CardServiceType
The card services.
Definition: cardservice.hpp:35