libvlc_exception
[libvlclibvlc_core]

Collaboration diagram for libvlc_exception:
LibVLC Exceptions handling. More...

Data Structures

struct  libvlc_exception_t

Functions

void libvlc_exception_init (libvlc_exception_t *p_exception)
 Initialize an exception structure.
int libvlc_exception_raised (const libvlc_exception_t *p_exception)
 Has an exception been raised?
void libvlc_exception_raise (libvlc_exception_t *p_exception)
 Raise an exception.
void libvlc_exception_clear (libvlc_exception_t *)
 Clear an exception object so it can be reused.

Detailed Description

LibVLC Exceptions handling.


Function Documentation

void libvlc_exception_clear ( libvlc_exception_t  ) 

Clear an exception object so it can be reused.

The exception object must have be initialized.

Parameters:
p_exception the exception to clear

References libvlc_exception_t::b_raised, and libvlc_clearerr().

Referenced by clear_if_needed(), get_marquee_object(), libvlc_media_player_play(), libvlc_video_set_marquee_option_as_int(), media_player_reached_end(), mediacontrol_get_stream_information(), and uninstall_md_listener().

void libvlc_exception_init ( libvlc_exception_t p_exception  ) 

void libvlc_exception_raise ( libvlc_exception_t p_exception  ) 

Raise an exception.

Parameters:
p_exception the exception to raise

References libvlc_exception_t::b_raised, libvlc_errmsg(), and libvlc_exception_not_handled().

Referenced by _libvlc_media_list_remove_index(), event_attach(), GetAOut(), GetVout(), hierarch_node_media_list_view_item_at_index(), libvlc_add_intf(), libvlc_audio_get_track(), libvlc_audio_output_list_get(), libvlc_audio_output_set_device_type(), libvlc_audio_set_channel(), libvlc_audio_set_track(), libvlc_audio_set_volume(), libvlc_event_manager_new(), libvlc_event_manager_register_event_type(), libvlc_get_track_description(), libvlc_media_discoverer_new_from_name(), libvlc_media_get_duration(), libvlc_media_library_load(), libvlc_media_library_save(), libvlc_media_list_add_file_content(), libvlc_media_list_item_at_index(), libvlc_media_list_player_play_item(), libvlc_media_new(), libvlc_media_new_as_node(), libvlc_media_new_from_input_item(), libvlc_media_player_new(), libvlc_media_player_next_frame(), libvlc_media_player_play(), libvlc_media_player_set_rate(), libvlc_toggle_teletext(), libvlc_video_get_marquee_option_as_int(), libvlc_video_get_marquee_option_as_string(), libvlc_video_get_spu(), libvlc_video_get_track(), libvlc_video_set_aspect_ratio(), libvlc_video_set_crop_geometry(), libvlc_video_set_deinterlace(), libvlc_video_set_marquee_option_as_int(), libvlc_video_set_marquee_option_as_string(), libvlc_video_set_spu(), libvlc_video_set_teletext(), libvlc_video_set_track(), libvlc_video_take_snapshot(), libvlc_vlm_add_broadcast(), libvlc_vlm_add_vod(), libvlc_vlm_del_media(), libvlc_vlm_get_media_instance(), libvlc_vlm_init(), libvlc_vlm_pause_media(), libvlc_vlm_play_media(), libvlc_vlm_seek_media(), libvlc_vlm_show_media(), libvlc_vlm_stop_media(), mlist_is_writable(), and set_relative_playlist_position_and_play().

int libvlc_exception_raised ( const libvlc_exception_t p_exception  ) 

Has an exception been raised?

Parameters:
p_exception the exception to query
Returns:
0 if the exception was raised, 1 otherwise

References libvlc_exception_t::b_raised.

Referenced by clear_if_needed(), libvlc_media_list_add_file_content(), libvlc_media_list_new(), libvlc_media_player_new(), mediacontrol_get_stream_information(), and uninstall_md_listener().


Generated on Sat Nov 21 08:06:01 2009 for VLC by  doxygen 1.5.6