One Framework 0.1.0
RoboMaster嵌入式框架“一键”解决方案,为你的“创意”服务。
载入中...
搜索中...
未找到
NotifyHub类 参考final

#include <NotifyHub.hpp>

类 NotifyHub 继承关系图:
NotifyHub 的协作图:

Public 成员函数

void configure (const NotifyHubConfig &config)
 
void setup ()
 
- Public 成员函数 继承自 HubBase< NotifyHub >
 HubBase ()=default
 
void init () override
 
const char * getName () override
 

静态 Public 成员函数

static void setBuzzerStatus (const FixedString< MAX_KEY_LEN > &key, const BuzzerStatus &status)
 
static void removeBuzzerStatus (const FixedString< MAX_KEY_LEN > &key)
 
static void setLEDStatus (const FixedString< MAX_KEY_LEN > &key, const LEDStatus &status)
 
static void removeLEDStatus (const FixedString< MAX_KEY_LEN > &key)
 

静态 Public 属性

static constexpr auto name = "NotifyHub"
 

额外继承的成员函数

- Protected 成员函数 继承自 IHub
virtual ~IHub ()=default
 

成员函数说明

◆ configure()

void configure ( const NotifyHubConfig & config)

◆ removeBuzzerStatus()

void removeBuzzerStatus ( const FixedString< MAX_KEY_LEN > & key)
static

◆ removeLEDStatus()

void removeLEDStatus ( const FixedString< MAX_KEY_LEN > & key)
static

◆ setBuzzerStatus()

void setBuzzerStatus ( const FixedString< MAX_KEY_LEN > & key,
const BuzzerStatus & status )
static

◆ setLEDStatus()

void setLEDStatus ( const FixedString< MAX_KEY_LEN > & key,
const LEDStatus & status )
static

◆ setup()

void setup ( )

结构体成员变量说明

◆ name

auto name = "NotifyHub"
staticconstexpr

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