fix: improve doc link navigation and tree display
- Fix link resolution with proper relative/absolute path handling - Improve link styling with underline decoration - Hide leaf nodes from tree, only show directories - Fix log file path for packaged app
This commit is contained in:
25
docs/api/threading/task/getid.md
Normal file
25
docs/api/threading/task/getid.md
Normal file
@@ -0,0 +1,25 @@
|
||||
# ITask::GetId
|
||||
|
||||
```cpp
|
||||
uint64_t GetId() const
|
||||
```
|
||||
|
||||
获取任务的唯一标识符。
|
||||
|
||||
**参数:** 无
|
||||
|
||||
**返回:** `uint64_t` - 任务的唯一 ID
|
||||
|
||||
**复杂度:** O(1)
|
||||
|
||||
**示例:**
|
||||
|
||||
```cpp
|
||||
ITask* task = /* ... */;
|
||||
uint64_t id = task->GetId();
|
||||
printf("Task ID: %llu\n", (unsigned long long)id);
|
||||
```
|
||||
|
||||
## 相关文档
|
||||
|
||||
- [ITask 总览](task.md) - 返回类总览
|
||||
Reference in New Issue
Block a user