LibreOffice Module vcl (master) 1
|
#include <salusereventlist.hxx>
Classes | |
struct | SalUserEvent |
Public Member Functions | |
SalUserEventList () | |
virtual | ~SalUserEventList () COVERITY_NOEXCEPT_FALSE |
const SalFrameSet & | getFrames () const |
SalFrame * | anyFrame () const |
void | insertFrame (SalFrame *pFrame) |
void | eraseFrame (SalFrame *pFrame) |
bool | isFrameAlive (const SalFrame *pFrame) const |
void | PostEvent (SalFrame *pFrame, void *pData, SalEvent nEvent) |
void | RemoveEvent (SalFrame *pFrame, void *pData, SalEvent nEvent) |
bool | HasUserEvents () const |
bool | DispatchUserEvents (bool bHandleAllCurrentEvents) |
Protected Member Functions | |
virtual void | ProcessEvent (SalUserEvent aEvent)=0 |
virtual void | TriggerUserEventProcessing ()=0 |
virtual void | TriggerAllUserEventsProcessed () |
bool | HasUserEvents_NoLock () const |
Protected Attributes | |
std::mutex | m_aUserEventsMutex |
std::list< SalUserEvent > | m_aUserEvents |
std::list< SalUserEvent > | m_aProcessingUserEvents |
bool | m_bAllUserEventProcessedSignaled |
SalFrameSet | m_aFrames |
oslThreadIdentifier | m_aProcessingThread |
Definition at line 36 of file salusereventlist.hxx.
SalUserEventList::SalUserEventList | ( | ) |
Definition at line 35 of file salusereventlist.cxx.
|
virtual |
Definition at line 41 of file salusereventlist.cxx.
|
inline |
bool SalUserEventList::DispatchUserEvents | ( | bool | bHandleAllCurrentEvents | ) |
Definition at line 59 of file salusereventlist.cxx.
References aEvent, DBG_TESTSOLARMUTEX, HasUserEvents_NoLock(), isFrameAlive(), m_aProcessingThread, m_aProcessingUserEvents, m_aUserEvents, m_aUserEventsMutex, m_bAllUserEventProcessedSignaled, NONE, ProcessEvent(), TriggerAllUserEventsProcessed(), and UserEvent.
void SalUserEventList::eraseFrame | ( | SalFrame * | pFrame | ) |
Definition at line 51 of file salusereventlist.cxx.
References o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::end(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::erase(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::find(), and m_aFrames.
Referenced by SvpSalInstance::deregisterFrame().
|
inline |
Definition at line 121 of file salusereventlist.hxx.
|
inline |
Definition at line 102 of file salusereventlist.hxx.
|
inlineprotected |
Definition at line 108 of file salusereventlist.hxx.
Referenced by DispatchUserEvents(), and RemoveEvent().
void SalUserEventList::insertFrame | ( | SalFrame * | pFrame | ) |
Definition at line 45 of file salusereventlist.cxx.
References o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::insert(), and m_aFrames.
Referenced by SvpSalInstance::registerFrame().
|
inline |
Definition at line 96 of file salusereventlist.hxx.
References o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::end(), and o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::find().
Referenced by DispatchUserEvents(), and AquaSalFrame::isAlive().
Definition at line 113 of file salusereventlist.hxx.
References pData.
|
protectedpure virtual |
Implemented in SvpSalInstance, AquaSalInstance, QtInstance, and SalGenericDisplay.
Referenced by DispatchUserEvents().
Definition at line 138 of file salusereventlist.cxx.
References aEvent, HasUserEvents_NoLock(), m_aProcessingUserEvents, m_aUserEvents, m_aUserEventsMutex, m_bAllUserEventProcessedSignaled, pData, and TriggerAllUserEventsProcessed().
|
inlineprotectedvirtual |
Reimplemented in GtkSalDisplay.
Definition at line 69 of file salusereventlist.hxx.
Referenced by DispatchUserEvents(), and RemoveEvent().
|
protectedpure virtual |
Implemented in SvpSalInstance, AquaSalInstance, QtInstance, GtkSalDisplay, and SalX11Display.
|
protected |
Definition at line 64 of file salusereventlist.hxx.
Referenced by eraseFrame(), SalDisplay::getFrames(), and insertFrame().
|
protected |
Definition at line 65 of file salusereventlist.hxx.
Referenced by DispatchUserEvents().
|
protected |
Definition at line 62 of file salusereventlist.hxx.
Referenced by DispatchUserEvents(), and RemoveEvent().
|
protected |
Definition at line 61 of file salusereventlist.hxx.
Referenced by DispatchUserEvents(), and RemoveEvent().
|
mutableprotected |
Definition at line 60 of file salusereventlist.hxx.
Referenced by DispatchUserEvents(), and RemoveEvent().
|
protected |
Definition at line 63 of file salusereventlist.hxx.
Referenced by DispatchUserEvents(), and RemoveEvent().