7#ifndef LOGICALACCESS_MIFAREULTRALIGHTCHIP_H
8#define LOGICALACCESS_MIFAREULTRALIGHTCHIP_H
12#include <logicalaccess/plugins/cards/mifareultralight/lla_cards_mifareultralight_api.hpp>
19#define CHIP_MIFAREULTRALIGHT "MifareUltralight"
56 std::shared_ptr<LocationNode> getRootLocationNode()
override;
63 std::shared_ptr<CardService> getService(
CardServiceType serviceType)
override;
69 virtual unsigned short getNbBlocks(
bool checkOnCard =
false);
75 std::shared_ptr<AccessInfo> createAccessInfo()
const override;
81 std::shared_ptr<Location> createLocation()
const override;
89 return std::dynamic_pointer_cast<MifareUltralightCommands>(getCommands());
93 static void addBlockNode(std::shared_ptr<LocationNode> rootNode,
int block);
95 void checkRootLocationNodeName(std::shared_ptr<LocationNode> rootNode);
The base chip class for all chip. Each chip have is own object and providers according to himself and...
Definition: chip.hpp:37
The Mifare Ultralight base chip class.
Definition: mifareultralightchip.hpp:25
std::shared_ptr< MifareUltralightCommands > getMifareUltralightCommands() const
Get the Mifare Ultralight commands.
Definition: mifareultralightchip.hpp:87
unsigned short d_nbblocks
Definition: mifareultralightchip.hpp:97
std::string getGenericCardType() const override
Get the generic card type.
Definition: mifareultralightchip.hpp:47
#define CHIP_MIFAREULTRALIGHT
Definition: mifareultralightchip.hpp:19
Mifare Ultralight commands.
CardServiceType
The card services.
Definition: cardservice.hpp:35