Lomse library. API documentation
0.30.0
|
#include <lomse_events.h>
An event generated by the ScorePlayer object to inform about the end of playback, just in case your application would like to do any action, such as enabling or disabling GUI buttons related to playback or to enable document edition.
Events of type k_end_of_playback_event
must be handled by by converting them into application events, placing them in the application events loop and returning control to Lomse:
Later, your application will process the application event. When doing it, it must inform the Interactor, and then your application should do whatever it needs to do, i.e.: enabling document edition:
Public Member Functions | |
EventEndOfPlayback (EEventType evType, WpInteractor wpInteractor, ImoScore *pScore, PlayerGui *pPlayer) | |
ImoScore * | get_score () const |
PlayerGui * | get_player () const |
Public Member Functions inherited from EventPlayback | |
virtual | ~EventPlayback () |
WpInteractor | get_interactor () |
Public Member Functions inherited from EventInfo | |
virtual | ~EventInfo () |
virtual Observable * | get_source () |
EEventType | get_event_type () |
bool | is_doc_modified_event () |
bool | is_update_window_event () |
bool | is_mouse_in_event () |
bool | is_mouse_out_event () |
bool | is_on_click_event () |
bool | is_link_clicked_event () |
bool | is_show_contextual_menu_event () |
bool | is_control_point_moved_event () |
bool | is_selection_set_change () |
bool | is_pointed_object_change () |
bool | is_do_play_score_event () |
bool | is_pause_score_event () |
bool | is_stop_playback_event () |
bool | is_tracking_event () |
bool | is_update_viewport_event () |
bool | is_end_of_playback_event () |
|
inline |
Constructor.
|
inline |
Returns a ptr. to the PlayerGui object associated with this score playback.
|
inline |
Returns a ptr. to the score affected by the event.