One Framework
0.1.0
RoboMaster嵌入式框架“一键”解决方案,为你的“创意”服务。
载入中...
搜索中...
未找到
Descriptor.hpp
浏览该文件的文档.
1
#ifndef OF_LIB_NODE_DESCRIPTOR_HPP
2
#define OF_LIB_NODE_DESCRIPTOR_HPP
3
#include "zephyr/kernel/thread.h"
4
5
namespace
OF
6
{
7
struct
node_desc
8
{
9
const
char
*
name
;
10
k_tid_t*
thread_id_ptr
;
11
12
void (*
start_func
)();
13
};
14
15
typedef
void (*
print_func_t
)(
const
struct
topic_desc
* desc);
16
typedef
size_t (*
get_size_func_t
)();
17
18
struct
topic_desc
19
{
20
const
char
*
name
;
21
void
*
topic_instance
;
22
23
uint32_t
type_size
;
24
print_func_t
print_func
;
25
};
26
}
27
28
#endif
//OF_LIB_NODE_DESCRIPTOR_HPP
OF
定义
Mecanum.hpp:6
OF::print_func_t
void(* print_func_t)(const struct topic_desc *desc)
定义
Descriptor.hpp:15
OF::get_size_func_t
size_t(* get_size_func_t)()
定义
Descriptor.hpp:16
OF::node_desc
定义
Descriptor.hpp:8
OF::node_desc::thread_id_ptr
k_tid_t * thread_id_ptr
定义
Descriptor.hpp:10
OF::node_desc::start_func
void(* start_func)()
定义
Descriptor.hpp:12
OF::node_desc::name
const char * name
定义
Descriptor.hpp:9
OF::topic_desc
定义
Descriptor.hpp:19
OF::topic_desc::topic_instance
void * topic_instance
定义
Descriptor.hpp:21
OF::topic_desc::type_size
uint32_t type_size
定义
Descriptor.hpp:23
OF::topic_desc::name
const char * name
定义
Descriptor.hpp:20
OF::topic_desc::print_func
print_func_t print_func
定义
Descriptor.hpp:24
OF
lib
Node
Descriptor.hpp
制作者
1.13.2