ESP-IDF
esp_event_handler_node::handler_ctx
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (4/5)...
Files
loading (4/5)...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
esp_event_handler_node::handler_ctx
esp_event_handler_node::handler_ctx field
event handler context
Syntax
Show:
Summary
Declaration
from
esp_event_internal.h:28
esp_event_handler_instance_context_t
*
handler_ctx
;
Examples
References
from
examples
Code
Location
Referrer
esp_event_handler_instance_context_t
*
handler_ctx
;
/**< event handler context*/
esp_event_internal.h:28
ESP_LOGD
(
TAG
,
"running post %s:%"
PRIu32
" with handler %p and context %p on loop %p"
,
post
.
base
,
post
.
id
,
handler
->
handler_ctx
->
handler
,
&
handler
->
handler_ctx
,
loop
)
;
esp_event.c:118
handler_execute()
(
*
(
handler
->
handler_ctx
->
handler
)
)
(
handler
->
handler_ctx
->
arg
,
post
.
base
,
post
.
id
,
data_ptr
)
;
esp_event.c:136
handler_execute()
handler_instance
->
handler_ctx
=
context
;
esp_event.c:166
handler_instances_add()
if
(
event_handler
==
it
->
handler_ctx
->
handler
)
{
esp_event.c:175
handler_instances_add()
it
->
handler_ctx
->
arg
=
event_handler_arg
;
esp_event.c:176
handler_instances_add()
if
(
it
->
handler_ctx
->
handler
==
handler_ctx
->
handler
)
{
esp_event.c:311
handler_instances_remove()
free
(
it
->
handler_ctx
)
;
esp_event.c:313
handler_instances_remove()
if
(
it
->
handler_ctx
==
handler_ctx
)
{
esp_event.c:318
handler_instances_remove()
free
(
it
->
handler_ctx
)
;
esp_event.c:320
handler_instances_remove()
free
(
it
->
handler_ctx
)
;
esp_event.c:400
handler_instances_remove_all()
if
(
handler
->
handler_ctx
->
handler
==
ctx
->
handler_ctx
->
handler
)
{
esp_event.c:452
find_and_unregister_handler()
if
(
handler
->
handler_ctx
==
ctx
->
handler_ctx
)
{
esp_event.c:457
find_and_unregister_handler()
if
(
handler
->
handler_ctx
->
handler
==
ctx
->
handler_ctx
->
handler
)
{
esp_event.c:473
find_and_unregister_handler()
if
(
handler
->
handler_ctx
==
ctx
->
handler_ctx
)
{
esp_event.c:478
find_and_unregister_handler()
if
(
handler
->
handler_ctx
->
handler
==
ctx
->
handler_ctx
->
handler
)
{
esp_event.c:494
find_and_unregister_handler()
if
(
handler
->
handler_ctx
==
ctx
->
handler_ctx
)
{
esp_event.c:499
find_and_unregister_handler()
if
(
event_base
==
ESP_EVENT_ANY_BASE
&&
event_id
==
ESP_EVENT_ANY_ID
&&
handler
->
handler_ctx
->
handler
==
event_handler
)
{
esp_event_private.c:25
esp_event_is_handler_registered()
if
(
event_id
==
ESP_EVENT_ANY_ID
&&
handler
->
handler_ctx
->
handler
==
event_handler
)
{
esp_event_private.c:34
esp_event_is_handler_registered()
if
(
handler
->
handler_ctx
->
handler
==
event_handler
)
{
esp_event_private.c:43
esp_event_is_handler_registered()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
esp_event_handler_node::handler_ctx
is written by 1 function and is read by 6 functions:
handler_instances_add()
All items filtered out
esp_event_handler_node::handler_ctx
handler_execute()
handler_instances_add()
handler_instances_remove()
handler_instances_remove_all()
find_and_unregister_handler()
esp_event_is_handler_registered()
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out