MLT 6.26.0
Typedefs | Functions
mlt_events.h File Reference

event handling More...

#include "mlt_types.h"

Go to the source code of this file.

Typedefs

typedef void(* mlt_listener) ()
 event handler when receiving an event message
 
typedef void(* mlt_transmitter) ()
 callback function to send an event message
 

Functions

void mlt_event_block (mlt_event self)
 
void mlt_event_close (mlt_event self)
 
void mlt_event_inc_ref (mlt_event self)
 
void mlt_event_unblock (mlt_event self)
 
void mlt_events_block (mlt_properties self, void *service)
 
void mlt_events_close_wait_for (mlt_properties self, mlt_event event)
 
void mlt_events_disconnect (mlt_properties self, void *service)
 
int mlt_events_fire (mlt_properties self, const char *id,...)
 
void mlt_events_init (mlt_properties self)
 
mlt_event mlt_events_listen (mlt_properties self, void *service, const char *id, mlt_listener listener)
 
int mlt_events_register (mlt_properties self, const char *id, mlt_transmitter transmitter)
 
mlt_event mlt_events_setup_wait_for (mlt_properties self, const char *id)
 
void mlt_events_unblock (mlt_properties self, void *service)
 
void mlt_events_wait_for (mlt_properties self, mlt_event event)
 

Detailed Description

event handling

See also
mlt_events_struct

Copyright (C) 2004-2014 Meltytech, LLC

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

Typedef Documentation

◆ mlt_listener

typedef void(* mlt_listener) ()

event handler when receiving an event message

Parameters
theproperties object on which the event was registered
anopaque pointer to a service or really an object
variableargs supplied by the transmitter

◆ mlt_transmitter

typedef void(* mlt_transmitter) ()

callback function to send an event message

Function Documentation

◆ mlt_event_block()

void mlt_event_block ( mlt_event  self)

◆ mlt_event_close()

void mlt_event_close ( mlt_event  self)

◆ mlt_event_inc_ref()

void mlt_event_inc_ref ( mlt_event  self)

◆ mlt_event_unblock()

void mlt_event_unblock ( mlt_event  self)

◆ mlt_events_block()

void mlt_events_block ( mlt_properties  self,
void *  service 
)

◆ mlt_events_close_wait_for()

void mlt_events_close_wait_for ( mlt_properties  self,
mlt_event  event 
)

◆ mlt_events_disconnect()

void mlt_events_disconnect ( mlt_properties  self,
void *  service 
)

◆ mlt_events_fire()

int mlt_events_fire ( mlt_properties  self,
const char *  id,
  ... 
)

◆ mlt_events_init()

void mlt_events_init ( mlt_properties  self)

◆ mlt_events_listen()

mlt_event mlt_events_listen ( mlt_properties  self,
void *  service,
const char *  id,
mlt_listener  listener 
)

◆ mlt_events_register()

int mlt_events_register ( mlt_properties  self,
const char *  id,
mlt_transmitter  transmitter 
)

◆ mlt_events_setup_wait_for()

mlt_event mlt_events_setup_wait_for ( mlt_properties  self,
const char *  id 
)

◆ mlt_events_unblock()

void mlt_events_unblock ( mlt_properties  self,
void *  service 
)

◆ mlt_events_wait_for()

void mlt_events_wait_for ( mlt_properties  self,
mlt_event  event 
)