libxr  1.0
Want to be the best embedded framework
Loading...
Searching...
No Matches
custom.hpp
1
9 class Custom : public FsNode
10 {
11 public:
20 explicit Custom(const char* name, uint32_t kind = 0, void* context = nullptr);
21
22 uint32_t kind_ = 0;
23 void* context_ = nullptr;
24
25 private:
30 };
RamFS 的自定义节点片段 / Custom-node fragment of RamFS
Definition custom.hpp:10
void * context_
用户自管上下文指针 / Caller-owned user context pointer.
Definition custom.hpp:23
Custom()
构造一个空自定义节点壳 / Construct one empty custom-node shell
Custom(const char *name, uint32_t kind=0, void *context=nullptr)
构造自定义节点 / Construct a custom node
uint32_t kind_
用户定义类型标签 / User-defined kind tag.
Definition custom.hpp:22
RamFS 的公共节点基类片段 / Common node-base fragment of RamFS
Definition fs_node.hpp:9