gobj_autostart_services()
#
Starts all services marked with gobj_flag_autostart
. If a service has a mt_play
method, only the service gobj is started; otherwise, the entire tree is started using gobj_start_tree()
.
Prototype
int gobj_autostart_services(void);
Parameters
Key |
Type |
Description |
---|---|---|
|
|
This function does not take any parameters. |
Return Value
Returns 0 on success.
Notes
[‘Services with gobj_flag_autostart
are started automatically.’, ‘If a service has a mt_play
method, it is responsible for starting its own tree.’]
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples