wl_signal - Online Linux Manual PageSection : 3
Updated : Thu Jan 28 2021
Source : Version 1.19.0
Note : Wayland

NAMEwl_signal − A source of a type of observable event​.

SYNOPSIS
#include <wayland−server−core​.h>

Public Member Functionsstatic void wl_signal_init (struct wl_signal *signal)
static void wl_signal_add (struct wl_signal *signal, struct wl_listener *listener)
static struct wl_listener * wl_signal_get (struct wl_signal *signal, wl_notify_func_t notify)
static void wl_signal_emit (struct wl_signal *signal, void *data)

Data Fieldsstruct wl_list listener_list

Detailed DescriptionA source of a type of observable event​. Signals are recognized points where significant events can be observed​. Compositors as well as the server can provide signals​. Observers are wl_listener's that are added through wl_signal_add​. Signals are emitted using wl_signal_emit, which will invoke all listeners until that listener is removed by wl_list_remove() (or whenever the signal is destroyed)​. See also wl_listener for more information on using wl_signal

Member Function Documentation

static void wl_signal_add (struct wl_signal * signal, struct wl_listener * listener) [inline]Add the specified listener to this signal​. Parameters signal The signal that will emit events to the listener
listener The listener to add

static void wl_signal_emit (struct wl_signal * signal, void * data) [inline]Emits this signal, notifying all registered listeners​. Parameters signal The signal object that will emit the signal
data The data that will be emitted with the signal

static struct wl_listener * wl_signal_get (struct wl_signal * signal, wl_notify_func_t notify) [inline]Gets the listener struct for the specified callback​. Parameters signal The signal that contains the specified listener
notify The listener that is the target of this search
Returns the list item that corresponds to the specified listener, or NULL if none was found

static void wl_signal_init (struct wl_signal * signal) [inline]Initialize a new wl_signal for use​. Parameters signal The signal that will be initialized

Field Documentation

struct wl_list wl_signal::listener_list

AuthorGenerated automatically by Doxygen for Wayland from the source code​.
0
Johanes Gumabo
Data Size   :   14,116 byte
man-wl_signal.3Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   3 / 165,087
Visitor ID   :     :  
Visitor IP   :   18.223.172.243   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.