GPAC
Open Source Multimedia Framework. For more information, check out http://gpac.wp.mines-telecom.fr
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups
dom_events.c File Reference
#include <gpac/internal/scenegraph_dev.h>
#include <gpac/xml.h>
#include <gpac/scenegraph_svg.h>
#include <gpac/events.h>
#include <gpac/nodes_svg.h>
+ Include dependency graph for dom_events.c:

Data Structures

struct  DOMAddListener
 

Functions

static void gf_smil_handle_event (GF_Node *anim, GF_FieldInfo *info, GF_DOM_Event *evt, Bool is_end)
 
static void gf_dom_refresh_event_filter (GF_SceneGraph *sg)
 
void gf_sg_unregister_event_type (GF_SceneGraph *sg, u32 type)
 
void gf_sg_register_event_type (GF_SceneGraph *sg, u32 type)
 
u32 gf_sg_get_dom_event_filter (GF_SceneGraph *sg)
 
u32 gf_node_get_dom_event_filter (GF_Node *node)
 
GF_Err gf_sg_listener_add (GF_Node *listener, GF_DOMEventTarget *evt_target)
 
GF_Err gf_node_dom_listener_add (GF_Node *node, GF_Node *listener)
 
GF_Err gf_dom_listener_del (GF_Node *listener, GF_DOMEventTarget *target)
 
u32 gf_dom_listener_count (GF_Node *node)
 
GF_Nodegf_dom_listener_get (GF_Node *node, u32 i)
 
void gf_sg_listener_post_add (GF_Node *obs, GF_Node *listener)
 
void gf_dom_listener_process_add (GF_SceneGraph *sg)
 
void gf_dom_listener_reset_defered (GF_SceneGraph *sg)
 
void gf_sg_handle_dom_event (GF_Node *hdl, GF_DOM_Event *event, GF_Node *observer)
 
static GF_Nodedom_evt_get_handler (GF_Node *n)
 
static void dom_event_process (GF_Node *listen, GF_DOM_Event *event, GF_Node *observer)
 
Bool sg_fire_dom_event (GF_DOMEventTarget *et, GF_DOM_Event *event, GF_SceneGraph *sg, GF_Node *n)
 
static void gf_sg_dom_event_bubble (GF_Node *node, GF_DOM_Event *event, GF_List *use_stack, u32 cur_par_idx)
 
void gf_sg_dom_stack_parents (GF_Node *node, GF_List *stack)
 
Bool gf_dom_event_fire_ex (GF_Node *node, GF_DOM_Event *event, GF_List *use_stack)
 
Bool gf_dom_event_fire (GF_Node *node, GF_DOM_Event *event)
 
GF_DOMHandlergf_dom_listener_build_ex (GF_Node *node, u32 event_type, u32 event_parameter, GF_Node *handler, GF_Node **out_listener)
 
GF_DOMHandlergf_dom_listener_build (GF_Node *node, u32 event_type, u32 event_parameter)
 
static void gf_smil_handle_event_begin (GF_Node *hdl, GF_DOM_Event *evt, GF_Node *observer)
 
static void gf_smil_handle_event_end (GF_Node *hdl, GF_DOM_Event *evt, GF_Node *observer)
 
static void gf_smil_setup_event_list (GF_Node *node, GF_List *l, Bool is_begin)
 
void gf_smil_setup_events (GF_Node *node)
 
void gf_dom_set_textContent (GF_Node *n, char *text)
 
GF_DOMTextgf_dom_add_text_node (GF_Node *parent, char *text_data)
 
GF_DOMTextgf_dom_new_text_node (GF_SceneGraph *sg)
 
char * gf_dom_flatten_textContent (GF_Node *n)
 
GF_DOMUpdatesgf_dom_add_updates_node (GF_Node *parent)
 
GF_DOMUpdatesgf_dom_add_update_node (GF_Node *parent)
 

Data Structure Documentation

struct DOMAddListener
+ Collaboration diagram for DOMAddListener:
Data Fields
GF_Node * obs
GF_Node * listener

Function Documentation

static void gf_smil_handle_event ( GF_Node anim,
GF_FieldInfo info,
GF_DOM_Event evt,
Bool  is_end 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void gf_dom_refresh_event_filter ( GF_SceneGraph *  sg)
static

+ Here is the caller graph for this function:

void gf_sg_unregister_event_type ( GF_SceneGraph *  sg,
u32  type 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_sg_register_event_type ( GF_SceneGraph *  sg,
u32  type 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u32 gf_sg_get_dom_event_filter ( GF_SceneGraph *  sg)
u32 gf_node_get_dom_event_filter ( GF_Node node)

+ Here is the caller graph for this function:

GF_Err gf_sg_listener_add ( GF_Node listener,
GF_DOMEventTarget evt_target 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_node_dom_listener_add ( GF_Node node,
GF_Node listener 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_dom_listener_del ( GF_Node listener,
GF_DOMEventTarget target 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u32 gf_dom_listener_count ( GF_Node node)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Node* gf_dom_listener_get ( GF_Node node,
u32  i 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_sg_listener_post_add ( GF_Node obs,
GF_Node listener 
)

+ Here is the call graph for this function:

void gf_dom_listener_process_add ( GF_SceneGraph *  sg)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_dom_listener_reset_defered ( GF_SceneGraph *  sg)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_sg_handle_dom_event ( GF_Node hdl,
GF_DOM_Event event,
GF_Node observer 
)

+ Here is the caller graph for this function:

static GF_Node* dom_evt_get_handler ( GF_Node n)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void dom_event_process ( GF_Node listen,
GF_DOM_Event event,
GF_Node observer 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Bool sg_fire_dom_event ( GF_DOMEventTarget et,
GF_DOM_Event event,
GF_SceneGraph *  sg,
GF_Node n 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void gf_sg_dom_event_bubble ( GF_Node node,
GF_DOM_Event event,
GF_List *  use_stack,
u32  cur_par_idx 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_sg_dom_stack_parents ( GF_Node node,
GF_List *  stack 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Bool gf_dom_event_fire_ex ( GF_Node node,
GF_DOM_Event event,
GF_List *  use_stack 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Bool gf_dom_event_fire ( GF_Node node,
GF_DOM_Event event 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_DOMHandler* gf_dom_listener_build_ex ( GF_Node node,
u32  event_type,
u32  event_parameter,
GF_Node handler,
GF_Node **  out_listener 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_DOMHandler* gf_dom_listener_build ( GF_Node node,
u32  event_type,
u32  event_parameter 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void gf_smil_handle_event_begin ( GF_Node hdl,
GF_DOM_Event evt,
GF_Node observer 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void gf_smil_handle_event_end ( GF_Node hdl,
GF_DOM_Event evt,
GF_Node observer 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void gf_smil_setup_event_list ( GF_Node node,
GF_List *  l,
Bool  is_begin 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_smil_setup_events ( GF_Node node)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_dom_set_textContent ( GF_Node n,
char *  text 
)

+ Here is the call graph for this function:

GF_DOMText* gf_dom_add_text_node ( GF_Node parent,
char *  text_data 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_DOMText* gf_dom_new_text_node ( GF_SceneGraph *  sg)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

char* gf_dom_flatten_textContent ( GF_Node n)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_DOMUpdates* gf_dom_add_updates_node ( GF_Node parent)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_DOMUpdates* gf_dom_add_update_node ( GF_Node parent)

+ Here is the call graph for this function: