Emakefun Matrix Keyboard Arduino 库 1.0.1
载入中...
搜索中...
未找到
emakefun::Debouncer< T > 模板类 参考

Public 成员函数

 Debouncer (const T &value, uint64_t debounce_duration_ms=kDefaultDebounceDurationMs)
 
const T & Debounce (const T &value)
 
const T & operator() (const T &value)
 
const T & operator= (const T &value)
 
const T & operator() () const
 

静态 Public 属性

static constexpr uint64_t kDefaultDebounceDurationMs = 20
 

详细描述

template<typename T>
class emakefun::Debouncer< T >

在文件 debouncer.h11 行定义.

构造及析构函数说明

◆ Debouncer()

template<typename T>
emakefun::Debouncer< T >::Debouncer ( const T & value,
uint64_t debounce_duration_ms = kDefaultDebounceDurationMs )
inline

在文件 debouncer.h15 行定义.

成员函数说明

◆ Debounce()

template<typename T>
const T & emakefun::Debouncer< T >::Debounce ( const T & value)
inline

在文件 debouncer.h19 行定义.

◆ operator()() [1/2]

template<typename T>
const T & emakefun::Debouncer< T >::operator() ( ) const
inline

在文件 debouncer.h38 行定义.

◆ operator()() [2/2]

template<typename T>
const T & emakefun::Debouncer< T >::operator() ( const T & value)
inline

在文件 debouncer.h30 行定义.

◆ operator=()

template<typename T>
const T & emakefun::Debouncer< T >::operator= ( const T & value)
inline

在文件 debouncer.h34 行定义.

类成员变量说明

◆ kDefaultDebounceDurationMs

template<typename T>
uint64_t emakefun::Debouncer< T >::kDefaultDebounceDurationMs = 20
staticconstexpr

在文件 debouncer.h13 行定义.


该类的文档由以下文件生成: