OpenSRX 0.1.0
C++ library for interfacing with Keyence SR series barcode readers
Loading...
Searching...
No Matches
OpenSRX.hpp
Go to the documentation of this file.
1#pragma once
2
11
12#include <spdlog/spdlog.h>
13
14#include <string>
15#include <tuple>
16
17// ── Public API headers ──────────────────────────────────────────────────────
18#include "OpenSRX/BankParam.hpp"
19#include "OpenSRX/Code.hpp"
20#include "OpenSRX/CommParam.hpp"
22#include "OpenSRX/Image.hpp"
30#include "OpenSRX/Timestamp.hpp"
32
33// Scanner is included last since it depends on the above headers.
34#include "OpenSRX/Scanner.hpp"
35
36namespace OpenSRX {
37
39using VersionTuple = std::tuple<int, int, int>;
40
42template <typename T>
43T GetVersion() = delete;
44
49template <>
51
56template <>
58
59} // namespace OpenSRX
Data returned from a barcode read operation.
Definition AsioInterface.hpp:5
std::tuple< int, int, int > VersionTuple
Tuple type for (major, minor, patch) version numbers.
Definition OpenSRX.hpp:39
T GetVersion()=delete
Get the library version (primary template is deleted).
std::string GetVersion< std::string >()
Get the library version as a human-readable string.
VersionTuple GetVersion< VersionTuple >()
Get the library version as a (major, minor, patch) tuple.