7#ifndef LOGICALACCESS_TOPAZCHIP_H
8#define LOGICALACCESS_TOPAZCHIP_H
12#include <logicalaccess/plugins/cards/topaz/lla_cards_topaz_api.hpp>
19#define CHIP_TOPAZ "Topaz"
50 std::shared_ptr<LocationNode> getRootLocationNode()
override;
57 std::shared_ptr<CardService> getService(
CardServiceType serviceType)
override;
63 virtual unsigned short getNbBlocks(
bool checkOnCard =
false);
69 std::shared_ptr<AccessInfo> createAccessInfo()
const override;
75 std::shared_ptr<Location> createLocation()
const override;
83 return std::dynamic_pointer_cast<TopazCommands>(getCommands());
87 static void addBlockNode(std::shared_ptr<LocationNode> rootNode,
int block);
89 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 Topaz base chip class.
Definition: topazchip.hpp:25
std::string getGenericCardType() const override
Get the generic card type.
Definition: topazchip.hpp:41
std::shared_ptr< TopazCommands > getTopazCommands() const
Get the Topaz commands.
Definition: topazchip.hpp:81
unsigned short d_nbblocks
Definition: topazchip.hpp:91
CardServiceType
The card services.
Definition: cardservice.hpp:35
#define CHIP_TOPAZ
Definition: topazchip.hpp:19