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

#include <Topic.hpp>

Topic< T > 的协作图:

Public 成员函数

void write (const T &data)
 
template<typename Func>
void manipulate (const Func &func)
 
std::optional< T > try_read ()
 
read ()
 

静态 Public 成员函数

static void print_stub (const topic_desc *desc)
 

成员函数说明

◆ manipulate()

template<typename T>
template<typename Func>
void manipulate ( const Func & func)
inline

◆ print_stub()

template<typename T>
static void print_stub ( const topic_desc * desc)
inlinestatic

◆ read()

template<typename T>
T read ( )
inline

◆ try_read()

template<typename T>
std::optional< T > try_read ( )
inline

◆ write()

template<typename T>
void write ( const T & data)
inline

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