GKD.RoboCtrl
RoboMaster Linux 电控:异步 IO、设备驱动与机器人控制
载入中...
搜索中...
未找到
roboctrl::instance_ref< T > 模板结构体 参考

详细描述

template<typename T>
struct roboctrl::instance_ref< T >

在文件 multiton.hpp 第 363 行定义.

Public 类型

using key_type = typename T::info_type::key_type
 

Public 成员函数

 instance_ref (key_type key_)
 
T & operator* () const
 
T * operator-> () const
 

Public 属性

key_type key
 

成员类型定义说明

◆ key_type

template<typename T >
using roboctrl::instance_ref< T >::key_type = typename T::info_type::key_type

在文件 multiton.hpp 第 366 行定义.

构造及析构函数说明

◆ instance_ref()

template<typename T >
roboctrl::instance_ref< T >::instance_ref ( key_type  key_)
inlineexplicit

在文件 multiton.hpp 第 370 行定义.

成员函数说明

◆ operator*()

template<typename T >
T & roboctrl::instance_ref< T >::operator* ( ) const
inline

在文件 multiton.hpp 第 372 行定义.

◆ operator->()

template<typename T >
T * roboctrl::instance_ref< T >::operator-> ( ) const
inline

在文件 multiton.hpp 第 376 行定义.

类成员变量说明

◆ key

template<typename T >
key_type roboctrl::instance_ref< T >::key

在文件 multiton.hpp 第 368 行定义.


该结构体的文档由以下文件生成: