|
GKD.RoboCtrl
|
开火控制 更多...
#include <shoot.h>
类 | |
| struct | info_type |
Public 成员函数 | |
| std::string | desc () const |
| roboctrl::awaitable< void > | task () |
| bool | init (const info_type &info) |
| void | set_firing (bool state) |
| bool | firing () const |
Public 成员函数 继承自 roboctrl::utils::singleton_base< shoot > | |
| singleton_base (const singleton_base &)=delete | |
| singleton_base & | operator= (const singleton_base &)=delete |
Public 成员函数 继承自 roboctrl::utils::immovable_base | |
| immovable_base (immovable_base &&)=delete | |
| immovable_base & | operator= (immovable_base &&)=delete |
Public 成员函数 继承自 roboctrl::utils::not_copyable_base | |
| not_copyable_base (const not_copyable_base &)=delete | |
| not_copyable_base & | operator= (const not_copyable_base &)=delete |
额外继承的成员函数 | |
静态 Public 成员函数 继承自 roboctrl::utils::singleton_base< shoot > | |
| static shoot & | instance () |
| 获取单例实例 | |
Protected 成员函数 继承自 roboctrl::log::logable< shoot > | |
| void | log (log_level level, std::format_string< Args... > fmt, Args &&...args) const |
| 输出日志 | |
| void | log_debug (std::format_string< Args... > fmt, Args &&...args) const |
| 输出debug日志 | |
| void | log_info (std::format_string< Args... > fmt, Args &&...args) const |
| 输出info日志 | |
| void | log_warn (std::format_string< Args... > fmt, Args &&...args) const |
| 输出warn日志 | |
| void | log_error (std::format_string< Args... > fmt, Args &&...args) const |
| 输出error日志 | |
| roboctrl::awaitable< void > shoot::task | ( | ) |