awtk/docs/manual/object_locker_t.md
2020-06-14 08:46:53 +08:00

32 lines
768 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

## object\_locker\_t
### 概述
![image](images/object_locker_t_0.png)
对现有的object对象进行装饰添加访问互斥功能。
----------------------------------
### 函数
<p id="object_locker_t_methods">
| 函数名称 | 说明 |
| -------- | ------------ |
| <a href="#object_locker_t_object_locker_create">object\_locker\_create</a> | 创建对象。 |
#### object\_locker\_create 函数
-----------------------
* 函数功能:
> <p id="object_locker_t_object_locker_create">创建对象。
* 函数原型:
```
object_t* object_locker_create (object_t* obj);
```
* 参数说明:
| 参数 | 类型 | 说明 |
| -------- | ----- | --------- |
| 返回值 | object\_t* | 返回object对象。 |
| obj | object\_t* | 待装饰的对象。 |