LibreOffice Module vcl (master) 1
Public Member Functions | Private Attributes | List of all members
vcl::DisplayConnectionDispatch Class Referencefinal

#include <displayconnectiondispatch.hxx>

Inheritance diagram for vcl::DisplayConnectionDispatch:
[legend]
Collaboration diagram for vcl::DisplayConnectionDispatch:
[legend]

Public Member Functions

 DisplayConnectionDispatch ()
 
 ~DisplayConnectionDispatch () override
 
void start ()
 
void terminate ()
 
bool dispatchEvent (void const *pData, int nBytes)
 
virtual void SAL_CALL addEventHandler (const css::uno::Any &window, const css::uno::Reference< css::awt::XEventHandler > &handler, sal_Int32 eventMask) override
 
virtual void SAL_CALL removeEventHandler (const css::uno::Any &window, const css::uno::Reference< css::awt::XEventHandler > &handler) override
 
virtual void SAL_CALL addErrorHandler (const css::uno::Reference< css::awt::XEventHandler > &handler) override
 
virtual void SAL_CALL removeErrorHandler (const css::uno::Reference< css::awt::XEventHandler > &handler) override
 
virtual css::uno::Any SAL_CALL getIdentifier () override
 

Private Attributes

std::mutex m_aMutex
 
::std::vector< css::uno::Reference< css::awt::XEventHandler > > m_aHandlers
 
OUString m_ConnectionIdentifier
 

Detailed Description

Definition at line 32 of file displayconnectiondispatch.hxx.

Constructor & Destructor Documentation

◆ DisplayConnectionDispatch()

DisplayConnectionDispatch::DisplayConnectionDispatch ( )

◆ ~DisplayConnectionDispatch()

DisplayConnectionDispatch::~DisplayConnectionDispatch ( )
override

Definition at line 37 of file displayconnectiondispatch.cxx.

Member Function Documentation

◆ addErrorHandler()

void SAL_CALL DisplayConnectionDispatch::addErrorHandler ( const css::uno::Reference< css::awt::XEventHandler > &  handler)
overridevirtual

Definition at line 80 of file displayconnectiondispatch.cxx.

◆ addEventHandler()

void SAL_CALL DisplayConnectionDispatch::addEventHandler ( const css::uno::Any &  window,
const css::uno::Reference< css::awt::XEventHandler > &  handler,
sal_Int32  eventMask 
)
overridevirtual

Definition at line 66 of file displayconnectiondispatch.cxx.

References m_aHandlers, and m_aMutex.

◆ dispatchEvent()

bool DisplayConnectionDispatch::dispatchEvent ( void const *  pData,
int  nBytes 
)

Definition at line 93 of file displayconnectiondispatch.cxx.

References aEvent, Any, aSeq, m_aHandlers, m_aMutex, and pData.

◆ getIdentifier()

Any SAL_CALL DisplayConnectionDispatch::getIdentifier ( )
overridevirtual

Definition at line 88 of file displayconnectiondispatch.cxx.

References Any, and m_ConnectionIdentifier.

◆ removeErrorHandler()

void SAL_CALL DisplayConnectionDispatch::removeErrorHandler ( const css::uno::Reference< css::awt::XEventHandler > &  handler)
overridevirtual

Definition at line 84 of file displayconnectiondispatch.cxx.

◆ removeEventHandler()

void SAL_CALL DisplayConnectionDispatch::removeEventHandler ( const css::uno::Any &  window,
const css::uno::Reference< css::awt::XEventHandler > &  handler 
)
overridevirtual

Definition at line 73 of file displayconnectiondispatch.cxx.

References m_aHandlers, and m_aMutex.

◆ start()

void DisplayConnectionDispatch::start ( )

◆ terminate()

void DisplayConnectionDispatch::terminate ( )

Member Data Documentation

◆ m_aHandlers

::std::vector< css::uno::Reference< css::awt::XEventHandler > > vcl::DisplayConnectionDispatch::m_aHandlers
private

◆ m_aMutex

std::mutex vcl::DisplayConnectionDispatch::m_aMutex
private

◆ m_ConnectionIdentifier

OUString vcl::DisplayConnectionDispatch::m_ConnectionIdentifier
private

Definition at line 38 of file displayconnectiondispatch.hxx.

Referenced by DisplayConnectionDispatch(), and getIdentifier().


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