upipe/upipe_helper_upump_mgr.h header reference
Upipe helper functions for upump manager More
Header inclusion [link]
Members [link]
Macro [link]
Description [link]
Upipe helper functions for upump manager
Members detail [link]
#define UPIPE_HELPER_UPUMP_MGR(STRUCTURE, UPUMP_MGR) [link]
This macro is declared in upipe/upipe_helper_upump_mgr.h source file, line 83.
This macro declares three functions dealing with the upump manager.
You must add one pointer to your private upipe structure, for instance:
You must also declare UPIPE_HELPER_UPIPE prior to using this macro.
Supposing the name of your structure is upipe_foo, it declares:
Typically called in your upipe_foo_alloc() function.
Typically called from your upipe_foo_control() handler, such as:
case UPIPE_ATTACH_UPUMP_MGR: {
return upipe_foo_attach_upump_mgr(upipe);
}Checks if the upump manager is available, and asks for it otherwise.
Typically called from your upipe_foo_free() function.
Parameter list:
- STRUCTURE: name of your private upipe structure
- UPUMP_MGR: name of the struct upump_mgr * field of your private upipe structure
#define _UPIPE_UPIPE_HELPER_UPUMP_MGR_H_ [link]
This macro is declared in upipe/upipe_helper_upump_mgr.h source file, line 31.