Lomse library. API documentation  0.30.0
EventAction Class Reference

#include <lomse_events.h>

Inheritance diagram for EventAction:
EventInfo EventControlPointMoved EventMouse EventPlayCtrl EventUpdateUI

Detailed Description

Base class for all events representing a user mouse action that has been interpreted by Lomse as a command to change the Document or the GUI.

Public Member Functions

virtual ~EventAction ()
 
WpInteractor get_interactor ()
 
WpDocument get_document ()
 
bool is_still_valid ()
 
- Public Member Functions inherited from EventInfo
virtual ~EventInfo ()
 
virtual Observableget_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 ()
 

Constructor & Destructor Documentation

◆ ~EventAction()

virtual EventAction::~EventAction ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ get_document()

WpDocument EventAction::get_document ( )
inline

Returns a weak pointer to the Document object related to this event.

◆ get_interactor()

WpInteractor EventAction::get_interactor ( )
inline

Returns a weak pointer to the Interactor object managing the View in which the event is generated.

◆ is_still_valid()

bool EventAction::is_still_valid ( )
inline

Returns true if the event is still valid and can be processed.