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

#include <VtHub.hpp>

VtHub 的协作图:

静态 Public 成员函数

template<typename T>
static tl::expected< T, VtHubErrorget ()
 Get the latest received packet of type T.
 

静态 Public 属性

static constexpr auto name = "VtHub"
 

成员函数说明

◆ get()

template<typename T>
template tl::expected< VtmQueryChannel, VtHubError > get ( )
static

Get the latest received packet of type T.

模板参数
TThe packet type to retrieve.
返回
tl::expected<T, VtHubError> containing the packet or an error.

结构体成员变量说明

◆ name

auto name = "VtHub"
staticconstexpr

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