|
Zephyr Project API 4.4.99
A Scalable Open Source RTOS
|
Base object structure. More...
#include <mpipe_object.h>
Data Fields | |
| struct mpipe_object * | container |
| Parent element that contains this object. | |
| uint8_t | id |
| Unique ID given to an object instance. | |
| uint32_t | flags |
| Flags of the object, an inheritable bitfield. | |
| sys_dnode_t | node |
| Object node to be used in a linked list. | |
| int(* | set_property )(struct mpipe_object *self, uint32_t key, const void *val) |
| Function to set property. | |
| int(* | get_property )(struct mpipe_object *self, uint32_t key, void *val) |
| Function to get property. | |
Base object structure.
This structure defines the common fields and interface for all objects in the mpipe object system: identity, list membership, and property access.
| struct mpipe_object* mpipe_object::container |
Parent element that contains this object.
| uint32_t mpipe_object::flags |
Flags of the object, an inheritable bitfield.
| int(* mpipe_object::get_property) (struct mpipe_object *self, uint32_t key, void *val) |
Function to get property.
| uint8_t mpipe_object::id |
Unique ID given to an object instance.
The max value (UINT8_MAX) is reserved and should not be used
| sys_dnode_t mpipe_object::node |
Object node to be used in a linked list.
| int(* mpipe_object::set_property) (struct mpipe_object *self, uint32_t key, const void *val) |
Function to set property.