![]() |
UltraGrid
UltraGrid Low-Latency High-Resolution Transmission System
|
#include <module.h>

Public Member Functions | |
| module ()=default | |
| module (module &&)=delete | |
| module (module const &)=delete | |
Public Attributes | |
| struct simple_linked_list * | children |
| enum module_class | cls |
| module_deleter_t | deleter |
| pthread_mutex_t | lock |
| uint32_t | magic |
| struct simple_linked_list * | msg_queue |
| struct simple_linked_list * | msg_queue_children |
| messages for childern that were not delivered | |
| pthread_mutex_t | msg_queue_lock |
| char * | name |
| notify_t | new_message |
| if set, notifies module that new message is in queue, receiver lock is hold during the call | |
| struct module * | parent |
| void * | priv_data |
| uint32_t | priv_magic |
| optional magic number that can a module set | |
Only members cls, deleter, priv_data and msg_queue may be directly touched by user. The others should be considered private.
|
default |
|
delete |
|
delete |
| struct simple_linked_list* module::children |
Definition at line 117 of file module.h.
Referenced by dump_tree(), find_child(), module_done(), module_init_default(), and module_register().
| enum module_class module::cls |
Definition at line 115 of file module.h.
Referenced by replica::replica(), state_gl::state_gl(), state_sdl::state_sdl(), state_video_decoder::state_video_decoder(), video_rxtx::video_rxtx(), audio_decoder_init(), capture_filter_init(), cineform_compress_init(), compress_init(), control_init(), display_sdl2_init(), dump_parents(), dump_tree(), export_init(), find_child(), get_exit_status(), get_module_identifier(), get_root_module(), init(), init_root_module(), initialize_import(), initialize_video_capture(), initialize_video_display(), module_done(), tx_init(), vidcap_file_init(), and vidcap_switcher_init().
| module_deleter_t module::deleter |
Definition at line 118 of file module.h.
Referenced by cineform_compress_init(), init_root_module(), module_done(), and tx_init().
| pthread_mutex_t module::lock |
Definition at line 114 of file module.h.
Referenced by dump_tree(), extract_port(), get_module(), module_check_undelivered_messages(), module_done(), module_init_default(), module_register(), move_port_to_worker(), recompress_add_port(), recompress_get_num_active_ports(), recompress_get_port_ssrc(), recompress_port_change_compress(), recompress_port_set_active(), recompress_remove_port(), recompress_worker(), send_message_common(), and send_message_to_receiver().
| uint32_t module::magic |
Definition at line 112 of file module.h.
Referenced by module_done(), and module_init_default().
| struct simple_linked_list* module::msg_queue |
Definition at line 122 of file module.h.
Referenced by check_message(), module_done(), module_init_default(), module_store_message(), send_message_common(), and send_message_to_receiver().
| struct simple_linked_list* module::msg_queue_children |
messages for childern that were not delivered
Definition at line 124 of file module.h.
Referenced by module_check_undelivered_messages(), module_done(), module_init_default(), and send_message_common().
| pthread_mutex_t module::msg_queue_lock |
Definition at line 121 of file module.h.
Referenced by check_message(), module_init_default(), module_store_message(), send_message_common(), and send_message_to_receiver().
| char* module::name |
optional name of the module. May be used for indexing. Will be freed by module_done(). Must not start with a digit.
Definition at line 129 of file module.h.
Referenced by replica::replica(), find_child(), and module_done().
| notify_t module::new_message |
if set, notifies module that new message is in queue, receiver lock is hold during the call
Definition at line 119 of file module.h.
Referenced by state_video_decoder::state_video_decoder(), audio_decoder_init(), control_init(), display_sdl2_init(), export_init(), init_root_module(), initialize_import(), send_message_common(), send_message_to_receiver(), and vidcap_file_init().
| struct module* module::parent |
Definition at line 116 of file module.h.
Referenced by get_parent_module(), get_root_module(), module_done(), module_get_path_str(), module_register(), and reconfigure_decoder().
| void* module::priv_data |
Definition at line 126 of file module.h.
Referenced by replica::replica(), state_video_decoder::state_video_decoder(), audio_decoder_init(), audio_decoder_process_message(), change_replica_type(), cineform_compress_done(), cineform_compress_init(), compress_init(), control_init(), decoder_process_message(), state_root::deleter(), export_init(), get_exit_status(), init_root_module(), initialize_import(), j2k_compress_done(), keyboard_control::impl::msg_received_func(), new_message(), new_msg(), tx_done(), tx_init(), vidcap_file_init(), vidcap_file_new_message(), and vidcap_import_new_message().
| uint32_t module::priv_magic |
optional magic number that can a module set
Definition at line 113 of file module.h.
Referenced by display_sdl2_done(), display_sdl2_getf(), display_sdl2_init(), display_sdl2_putf(), vidcap_file_done(), vidcap_file_grab(), and vidcap_file_init().