LibLogicalAccess  2.5.0
An Open Source RFID Library
Loading...
Searching...
No Matches
reader_service.hpp
Go to the documentation of this file.
1#pragma once
2
4#include <logicalaccess/lla_core_api.hpp>
5#include <memory>
6
7namespace logicalaccess
8{
9
10typedef enum {
16
22class LLA_CORE_API ReaderService
23 : public std::enable_shared_from_this<ReaderService>
24{
25 public:
27 : reader_unit_(reader_unit)
28 , service_type_(service_type)
29 {
30 }
31
32 virtual ~ReaderService() = default;
33
39 {
40 return reader_unit_;
41 }
42
48 {
49 return service_type_;
50 }
51
52 protected:
54
56};
57}
Definition: reader_service.hpp:24
virtual ReaderServiceType getServiceType() const
Definition: reader_service.hpp:47
ReaderServiceType service_type_
Definition: reader_service.hpp:55
virtual ~ReaderService()=default
ReaderService(ReaderUnitPtr reader_unit, ReaderServiceType service_type)
Definition: reader_service.hpp:26
ReaderUnitPtr reader_unit_
Definition: reader_service.hpp:53
ReaderUnitPtr getReader() const
Definition: reader_service.hpp:38
Definition: asn1.hpp:9
std::shared_ptr< ReaderUnit > ReaderUnitPtr
Definition: lla_fwd.hpp:33
ReaderServiceType
Definition: reader_service.hpp:10
@ RST_LICENSE_CHECKER
Definition: reader_service.hpp:14