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
5namespace 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
19 {
20 const char* name;
22
23 uint32_t type_size;
25 };
26}
27
28#endif //OF_LIB_NODE_DESCRIPTOR_HPP
定义 Mecanum.hpp:6
void(* print_func_t)(const struct topic_desc *desc)
定义 Descriptor.hpp:15
size_t(* get_size_func_t)()
定义 Descriptor.hpp:16
定义 Descriptor.hpp:8
k_tid_t * thread_id_ptr
定义 Descriptor.hpp:10
void(* start_func)()
定义 Descriptor.hpp:12
const char * name
定义 Descriptor.hpp:9
定义 Descriptor.hpp:19
void * topic_instance
定义 Descriptor.hpp:21
uint32_t type_size
定义 Descriptor.hpp:23
const char * name
定义 Descriptor.hpp:20
print_func_t print_func
定义 Descriptor.hpp:24