libevdevxx 0.5.0
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
 
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
 
Value value
 

Constructor & Destructor Documentation

◆ Type() [1/2]

Type ( )
constexprdefaultnoexcept

◆ Type() [2/2]

Type ( std::uint16_t number)
inlineexplicitconstexpr

Member Function Documentation

◆ count()

static constexpr std::uint16_t count ( )
inlinestaticconstexprnoexcept

◆ max()

static constexpr Type max ( )
inlinestaticconstexprnoexcept

◆ parse()

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

Member Data Documentation

◆ abs

const Type abs {EV_ABS}
inlinestaticconstexpr

◆ ff

const Type ff {EV_FF}
inlinestaticconstexpr

◆ ff_status

const Type ff_status {EV_FF_STATUS}
inlinestaticconstexpr

◆ key

const Type key {EV_KEY}
inlinestaticconstexpr

◆ led

const Type led {EV_LED}
inlinestaticconstexpr

◆ msc

const Type msc {EV_MSC}
inlinestaticconstexpr

◆ pwr

const Type pwr {EV_PWR}
inlinestaticconstexpr

◆ rel

const Type rel {EV_REL}
inlinestaticconstexpr

◆ rep

const Type rep {EV_REP}
inlinestaticconstexpr

◆ snd

const Type snd {EV_SND}
inlinestaticconstexpr

◆ sw

const Type sw {EV_SW}
inlinestaticconstexpr

◆ syn

const Type syn {EV_SYN}
inlinestaticconstexpr

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