LibLogicalAccess  2.5.0
An Open Source RFID Library
Loading...
Searching...
No Matches
seoschip.hpp
Go to the documentation of this file.
1
7#ifndef LOGICALACCESS_SEOSCHIP_HPP
8#define LOGICALACCESS_SEOSCHIP_HPP
9
10
11#include <logicalaccess/plugins/cards/seos/lla_cards_seos_api.hpp>
14
15#include <string>
16#include <vector>
17#include <iostream>
18
19namespace logicalaccess
20{
21#define CHIP_SEOS "Seos"
22#define CHIP_SEPROCESSOR_PUBLIC "SEProcessor"
23
27class LLA_CARDS_SEOS_API SeosChip : public Chip
28{
29 public:
33 SeosChip();
34
38 virtual ~SeosChip();
39
44 std::string getGenericCardType() const override
45 {
46 return CHIP_SEOS;
47 }
48
53 std::shared_ptr<LocationNode> getRootLocationNode() override;
54
55 std::shared_ptr<CardService> getService(CardServiceType serviceType) override;
56
61 std::shared_ptr<SeosCommands> getSeosCommands() const
62 {
63 return std::dynamic_pointer_cast<SeosCommands>(getCommands());
64 }
65};
66}
67
68#endif
The base chip class for all chip. Each chip have is own object and providers according to himself and...
Definition: chip.hpp:37
The HID SEOS base chip class.
Definition: seoschip.hpp:28
std::shared_ptr< SeosCommands > getSeosCommands() const
Get the SEOS commands for I/O access.
Definition: seoschip.hpp:61
std::string getGenericCardType() const override
Get the generic card type.
Definition: seoschip.hpp:44
ISO7816 chip.
Definition: asn1.hpp:9
CardServiceType
The card services.
Definition: cardservice.hpp:35
#define CHIP_SEOS
Definition: seoschip.hpp:21
SEOS commands.