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
"
21
#include "
OpenSRX/ICommInterface.hpp
"
22
#include "
OpenSRX/Image.hpp
"
23
#include "
OpenSRX/ImageServer.hpp
"
24
#include "
OpenSRX/OperationParam.hpp
"
25
#include "
OpenSRX/ParamTraits.hpp
"
26
#include "
OpenSRX/ParamValues.hpp
"
27
#include "
OpenSRX/RegionParam.hpp
"
28
#include "
OpenSRX/SerialInterface.hpp
"
29
#include "
OpenSRX/SocketInterface.hpp
"
30
#include "
OpenSRX/Timestamp.hpp
"
31
#include "
OpenSRX/TuningParam.hpp
"
32
33
// Scanner is included last since it depends on the above headers.
34
#include "
OpenSRX/Scanner.hpp
"
35
36
namespace
OpenSRX
{
37
39
using
VersionTuple
= std::tuple<int, int, int>;
40
42
template
<
typename
T>
43
T
GetVersion
() =
delete
;
44
49
template
<>
50
std::string
GetVersion<std::string>
();
51
56
template
<>
57
VersionTuple
GetVersion<VersionTuple>
();
58
59
}
// namespace OpenSRX
BankParam.hpp
Code.hpp
Data returned from a barcode read operation.
CommParam.hpp
ICommInterface.hpp
ImageServer.hpp
Image.hpp
OperationParam.hpp
ParamTraits.hpp
ParamValues.hpp
RegionParam.hpp
Scanner.hpp
SerialInterface.hpp
SocketInterface.hpp
Timestamp.hpp
TuningParam.hpp
OpenSRX
Definition
AsioInterface.hpp:5
OpenSRX::VersionTuple
std::tuple< int, int, int > VersionTuple
Tuple type for (major, minor, patch) version numbers.
Definition
OpenSRX.hpp:39
OpenSRX::GetVersion
T GetVersion()=delete
Get the library version (primary template is deleted).
OpenSRX::GetVersion< std::string >
std::string GetVersion< std::string >()
Get the library version as a human-readable string.
OpenSRX::GetVersion< VersionTuple >
VersionTuple GetVersion< VersionTuple >()
Get the library version as a (major, minor, patch) tuple.
include
OpenSRX
OpenSRX.hpp
Generated by
1.13.2