LibLogicalAccess  2.5.0
An Open Source RFID Library
Loading...
Searching...
No Matches
ichip.hpp
Go to the documentation of this file.
1
7#ifndef LOGICALACCESS_ICHIP_HPP
8#define LOGICALACCESS_ICHIP_HPP
9
10#include <memory>
11#include <vector>
13#include <logicalaccess/lla_core_api.hpp>
15
16namespace logicalaccess
17{
21class LLA_CORE_API IChip
22{
23 public:
24 virtual ~IChip() = default;
29 virtual const std::string &getCardType() const = 0;
30
35 virtual std::string getGenericCardType() const = 0;
36
41 virtual std::shared_ptr<Commands> getCommands() const = 0;
42
47 virtual ByteVector getChipIdentifier() const = 0;
48
54 virtual std::shared_ptr<CardService> getService(CardServiceType serviceType) = 0;
55};
56}
57
58#endif /* LOGICALACCESS_ICHIP_HPP */
Card service.
The base abstract chip class for all chip.
Definition: ichip.hpp:22
virtual const std::string & getCardType() const =0
Get the card type of the chip.
virtual ByteVector getChipIdentifier() const =0
Get the chip identifier.
virtual std::shared_ptr< Commands > getCommands() const =0
Get the commands.
virtual ~IChip()=default
virtual std::shared_ptr< CardService > getService(CardServiceType serviceType)=0
Get a card service for this chip.
virtual std::string getGenericCardType() const =0
Get the generic card type.
std::vector< uint8_t > ByteVector
Definition: lla_fwd.hpp:80
Definition: asn1.hpp:9
CardServiceType
The card services.
Definition: cardservice.hpp:35