libevdevxx 0.5.4
A C++ wrapper for libevdev.
Loading...
Searching...
No Matches
Type Class Reference

#include <Type.hpp>

Public Member Functions

constexpr Type () noexcept=default
constexpr Type (std::uint16_t number)
Public Member Functions inherited from NumberBase< std::uint16_t, Type >
constexpr NumberBase () noexcept
constexpr NumberBase (Value value) noexcept
constexpr operator Value () const noexcept
constexpr bool operator== (const NumberBase &other) const noexcept=default
constexpr std::strong_ordering operator<=> (const NumberBase &other) const noexcept=default
constexpr NumberBaseoperator++ () noexcept
constexpr Derived operator++ (int) noexcept

Static Public Member Functions

static Type parse (std::string_view name, std::size_t *pos=nullptr)
static constexpr Type max () noexcept
static constexpr std::uint16_t count () noexcept

Static Public Attributes

static const Type syn {EV_SYN}
static const Type key {EV_KEY}
static const Type rel {EV_REL}
static const Type abs {EV_ABS}
static const Type msc {EV_MSC}
static const Type sw {EV_SW}
static const Type led {EV_LED}
static const Type snd {EV_SND}
static const Type rep {EV_REP}
static const Type ff {EV_FF}
static const Type pwr {EV_PWR}
static const Type ff_status {EV_FF_STATUS}

Additional Inherited Members

Protected Types inherited from NumberBase< std::uint16_t, Type >
using Value
using Derived
Protected Attributes inherited from NumberBase< std::uint16_t, Type >
Value value

Constructor & Destructor Documentation

◆ Type() [1/2]

Type ( )
constexprdefaultnoexcept

◆ Type() [2/2]

Type ( std::uint16_t number)
inlineexplicitconstexpr

Member Function Documentation

◆ count()

constexpr std::uint16_t count ( )
inlinestaticnodiscardconstexprnoexcept

◆ max()

constexpr Type max ( )
inlinestaticnodiscardconstexprnoexcept

◆ parse()

Type parse ( std::string_view name,
std::size_t * pos = nullptr )
staticnodiscard

Member Data Documentation

◆ abs

const Type abs {EV_ABS}
staticconstexpr

◆ ff

const Type ff {EV_FF}
staticconstexpr

◆ ff_status

const Type ff_status {EV_FF_STATUS}
staticconstexpr

◆ key

const Type key {EV_KEY}
staticconstexpr

◆ led

const Type led {EV_LED}
staticconstexpr

◆ msc

const Type msc {EV_MSC}
staticconstexpr

◆ pwr

const Type pwr {EV_PWR}
staticconstexpr

◆ rel

const Type rel {EV_REL}
staticconstexpr

◆ rep

const Type rep {EV_REP}
staticconstexpr

◆ snd

const Type snd {EV_SND}
staticconstexpr

◆ sw

const Type sw {EV_SW}
staticconstexpr

◆ syn

const Type syn {EV_SYN}
staticconstexpr

The documentation for this class was generated from the following file: