LibreOffice Module vcl (master)  1
Classes | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
SalUserEventList Class Referenceabstract

#include <salusereventlist.hxx>

Inheritance diagram for SalUserEventList:
[legend]

Classes

struct  SalUserEvent
 

Public Member Functions

 SalUserEventList ()
 
virtual ~SalUserEventList () COVERITY_NOEXCEPT_FALSE
 
const SalFrameSetgetFrames () const
 
SalFrameanyFrame () 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 ()
 

Protected Attributes

osl::Mutex m_aUserEventsMutex
 
std::list< SalUserEventm_aUserEvents
 
std::list< SalUserEventm_aProcessingUserEvents
 
bool m_bAllUserEventProcessedSignaled
 
SalFrameSet m_aFrames
 
oslThreadIdentifier m_aProcessingThread
 

Detailed Description

Definition at line 42 of file salusereventlist.hxx.

Constructor & Destructor Documentation

SalUserEventList::SalUserEventList ( )

Definition at line 35 of file salusereventlist.cxx.

SalUserEventList::~SalUserEventList ( )
virtual

Definition at line 41 of file salusereventlist.cxx.

Member Function Documentation

SalFrame * SalUserEventList::anyFrame ( ) const
inline

Definition at line 94 of file salusereventlist.hxx.

bool SalUserEventList::DispatchUserEvents ( bool  bHandleAllCurrentEvents)
void SalUserEventList::eraseFrame ( SalFrame pFrame)

Definition at line 51 of file salusereventlist.cxx.

References m_aFrames.

Referenced by SvpSalInstance::deregisterFrame().

const SalFrameSet & SalUserEventList::getFrames ( ) const
inline

Definition at line 121 of file salusereventlist.hxx.

bool SalUserEventList::HasUserEvents ( ) const
inline

Definition at line 107 of file salusereventlist.hxx.

Referenced by DispatchUserEvents(), and RemoveEvent().

void SalUserEventList::insertFrame ( SalFrame pFrame)

Definition at line 45 of file salusereventlist.cxx.

References m_aFrames, and void().

Referenced by SvpSalInstance::registerFrame().

bool SalUserEventList::isFrameAlive ( const SalFrame pFrame) const
inline

Definition at line 101 of file salusereventlist.hxx.

Referenced by DispatchUserEvents(), and AquaSalFrame::isAlive().

void SalUserEventList::PostEvent ( SalFrame pFrame,
void pData,
SalEvent  nEvent 
)
inline

Definition at line 113 of file salusereventlist.hxx.

virtual void SalUserEventList::ProcessEvent ( SalUserEvent  aEvent)
protectedpure virtual
void SalUserEventList::RemoveEvent ( SalFrame pFrame,
void pData,
SalEvent  nEvent 
)
virtual void SalUserEventList::TriggerAllUserEventsProcessed ( )
inlineprotectedvirtual

Reimplemented in GtkSalDisplay.

Definition at line 75 of file salusereventlist.hxx.

Referenced by DispatchUserEvents(), and RemoveEvent().

virtual void SalUserEventList::TriggerUserEventProcessing ( )
protectedpure virtual

Member Data Documentation

SalFrameSet SalUserEventList::m_aFrames
protected

Definition at line 70 of file salusereventlist.hxx.

Referenced by eraseFrame(), SalDisplay::getFrames(), and insertFrame().

oslThreadIdentifier SalUserEventList::m_aProcessingThread
protected

Definition at line 71 of file salusereventlist.hxx.

Referenced by DispatchUserEvents().

std::list< SalUserEvent > SalUserEventList::m_aProcessingUserEvents
protected

Definition at line 68 of file salusereventlist.hxx.

Referenced by DispatchUserEvents(), and RemoveEvent().

std::list< SalUserEvent > SalUserEventList::m_aUserEvents
protected

Definition at line 67 of file salusereventlist.hxx.

Referenced by DispatchUserEvents(), and RemoveEvent().

osl::Mutex SalUserEventList::m_aUserEventsMutex
mutableprotected

Definition at line 66 of file salusereventlist.hxx.

Referenced by DispatchUserEvents(), and RemoveEvent().

bool SalUserEventList::m_bAllUserEventProcessedSignaled
protected

Definition at line 69 of file salusereventlist.hxx.

Referenced by DispatchUserEvents(), and RemoveEvent().


The documentation for this class was generated from the following files: