internal/sys: Document
diff --git a/src/gpioplus/internal/sys.hpp b/src/gpioplus/internal/sys.hpp
index 37733b6..618259a 100644
--- a/src/gpioplus/internal/sys.hpp
+++ b/src/gpioplus/internal/sys.hpp
@@ -7,6 +7,9 @@
namespace internal
{
+/** @class Sys
+ * @brief Overridable direct syscall interface
+ */
class Sys
{
public:
@@ -34,6 +37,10 @@
struct gpioevent_request* request) const = 0;
};
+/** @class SysImpl
+ * @brief syscall concrete implementation
+ * @details Passes through all calls to the normal linux syscalls
+ */
class SysImpl : public Sys
{
public:
@@ -56,6 +63,7 @@
struct gpioevent_request* request) const override;
};
+/** @brief Default instantiation of sys */
extern SysImpl sys_impl;
} // namespace internal