#include <hid_global_reader.h>

Public Types | |
| enum | ScanState { ScanState::IsScanningHold, ScanState::IsScanningTag, ScanState::IsScanningComplete } |
| using | MaybeTagId = std::experimental::optional< HIDGlobalTagID > |
Public Types inherited from WiegandReader | |
| using | TagReadEvent = std::experimental::optional< TagRead > |
Public Member Functions | |
| HIDGlobalReader (const WiegandReader::Config &config) noexcept | |
| auto | scan_tag () -> MaybeTagId |
| auto | beep (TimeDuration duration) -> void |
| auto | scanning_fsm () -> void |
Public Member Functions inherited from WiegandReader | |
| WiegandReader (const Config &config={}) | |
| bool | set_hold (bool enabled) |
| bool | set_red_led (bool enabled) |
| bool | set_green_led (bool enabled) |
| bool | set_beeper (bool enabled) |
| TagReadEvent | get_current_tag () |
Public Attributes | |
| MaybeTagId | last_scanned_tag |
Public Attributes inherited from WiegandReader | |
| State | state |
Protected Attributes | |
| ScanState | scan_state = ScanState::IsScanningHold |
| using HIDGlobalReader::MaybeTagId = std::experimental::optional<HIDGlobalTagID> |
|
strong |
| MaybeTagId HIDGlobalReader::last_scanned_tag |
|
protected |