XWOS API
4.0
XWOS C/C++ API参考手册
|
结构体 | |
struct | xwds_object |
设备栈对象 更多... | |
枚举 | |
enum | xwds_object_refcnt_em { XWDS_OBJ_REF_REMOVE = 0 , XWDS_OBJ_REF_SHUTDOWN , XWDS_OBJ_REF_SUSPEND , XWDS_OBJ_REF_RUNNING } |
设备状态(引用计数)枚举 更多... | |
函数 | |
void | xwds_obj_construct (struct xwds_object *obj) |
void | xwds_obj_destruct (struct xwds_object *obj) |
xwsq_t | xwds_obj_get_tik (struct xwds_object *obj) |
xwer_t | xwds_obj_probe (struct xwds_object *obj, xwobj_gc_f gcfunc) |
xwer_t | xwds_obj_remove (struct xwds_object *obj) |
xwer_t | xwds_obj_start (struct xwds_object *obj) |
xwer_t | xwds_obj_stop (struct xwds_object *obj) |
xwer_t | xwds_obj_suspend (struct xwds_object *obj) |
xwer_t | xwds_obj_resume (struct xwds_object *obj) |
xwer_t | xwds_obj_grab (struct xwds_object *obj) |
xwer_t | xwds_obj_put (struct xwds_object *obj) |
xwsq_t | xwds_obj_get_refcnt (struct xwds_object *obj) |
xwer_t | xwds_obj_add (struct xwds *ds, struct xwds_object *obj) |
xwer_t | xwds_obj_del (struct xwds *ds, struct xwds_object *obj) |
设备状态(引用计数)枚举
枚举值 | |
---|---|
XWDS_OBJ_REF_REMOVE | |
XWDS_OBJ_REF_SHUTDOWN | |
XWDS_OBJ_REF_SUSPEND | |
XWDS_OBJ_REF_RUNNING |
xwer_t xwds_obj_add | ( | struct xwds * | ds, |
struct xwds_object * | obj | ||
) |
<No error
void xwds_obj_construct | ( | struct xwds_object * | obj | ) |
xwer_t xwds_obj_del | ( | struct xwds * | ds, |
struct xwds_object * | obj | ||
) |
<Owner error
<No error
void xwds_obj_destruct | ( | struct xwds_object * | obj | ) |
xwsq_t xwds_obj_get_refcnt | ( | struct xwds_object * | obj | ) |
xwsq_t xwds_obj_get_tik | ( | struct xwds_object * | obj | ) |
xwer_t xwds_obj_grab | ( | struct xwds_object * | obj | ) |
xwer_t xwds_obj_probe | ( | struct xwds_object * | obj, |
xwobj_gc_f | gcfunc | ||
) |
xwer_t xwds_obj_put | ( | struct xwds_object * | obj | ) |
xwer_t xwds_obj_remove | ( | struct xwds_object * | obj | ) |
<No error
xwer_t xwds_obj_resume | ( | struct xwds_object * | obj | ) |
xwer_t xwds_obj_start | ( | struct xwds_object * | obj | ) |
xwer_t xwds_obj_stop | ( | struct xwds_object * | obj | ) |
xwer_t xwds_obj_suspend | ( | struct xwds_object * | obj | ) |