LibreOffice Module sd (master) 1
Public Member Functions | Private Attributes | List of all members
sd::Listener Class Reference

Slide show listener. More...

#include <Listener.hxx>

Inheritance diagram for sd::Listener:
[legend]
Collaboration diagram for sd::Listener:
[legend]

Public Member Functions

 Listener (::rtl::Reference< Communicator > xServer, sd::Transmitter *aTransmitter)
 
virtual ~Listener () override
 
void init (const css::uno::Reference< css::presentation::XSlideShowController > &aController)
 
virtual void SAL_CALL beginEvent (const css::uno::Reference< css::animations::XAnimationNode > &rNode) override
 
virtual void SAL_CALL endEvent (const css::uno::Reference< css::animations::XAnimationNode > &rNode) override
 
virtual void SAL_CALL repeat (const css::uno::Reference< css::animations::XAnimationNode > &rNode, ::sal_Int32 Repeat) override
 
virtual void SAL_CALL paused () override
 
virtual void SAL_CALL resumed () override
 
virtual void SAL_CALL slideTransitionStarted () override
 
virtual void SAL_CALL slideTransitionEnded () override
 
virtual void SAL_CALL slideAnimationsEnded () override
 
virtual void SAL_CALL slideEnded (sal_Bool bReverse) override
 
virtual void SAL_CALL hyperLinkClicked (const OUString &hyperLink) override
 
virtual void disposing (std::unique_lock< std::mutex > &) override
 
virtual void SAL_CALL disposing (const css::lang::EventObject &rEvent) override
 
- Public Member Functions inherited from comphelper::WeakComponentImplHelper< css::presentation::XSlideShowListener >
virtual void SAL_CALL acquire () noexcept override
 
virtual void SAL_CALL release () noexcept override
 
virtual void SAL_CALL dispose () noexcept final override
 
virtual void SAL_CALL addEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) final override
 
virtual void SAL_CALL removeEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) final override
 
virtual css::uno::Any SAL_CALL queryInterface (css::uno::Type const &rType) override
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () override
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () override
 
- Public Member Functions inherited from comphelper::WeakComponentImplHelperBase
virtual ~WeakComponentImplHelperBase () override
 
virtual void SAL_CALL dispose () override
 
virtual void SAL_CALL addEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) override
 
virtual void SAL_CALL removeEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) override
 
virtual css::uno::Any SAL_CALL queryInterface (css::uno::Type const &rType) override
 
virtual void disposing (std::unique_lock< std::mutex > &)
 
- Public Member Functions inherited from comphelper::UnoImplBase
virtual ~UnoImplBase ()
 

Private Attributes

rtl::Reference< CommunicatormCommunicator
 
sd::TransmitterpTransmitter
 
css::uno::Reference< css::presentation::XSlideShowController > mController
 

Additional Inherited Members

- Protected Member Functions inherited from comphelper::WeakComponentImplHelperBase
void throwIfDisposed (std::unique_lock< std::mutex > &)
 
- Protected Attributes inherited from comphelper::WeakComponentImplHelperBase
comphelper::OInterfaceContainerHelper4< css::lang::XEventListener > maEventListeners
 
- Protected Attributes inherited from comphelper::UnoImplBase
std::mutex m_aMutex
 
bool m_bDisposed
 

Detailed Description

Slide show listener.

This class can also be used for anything else that is specific to the lifetime of one slideshow while a client is connected.

Definition at line 27 of file Listener.hxx.

Constructor & Destructor Documentation

◆ Listener()

Listener::Listener ( ::rtl::Reference< Communicator xServer,
sd::Transmitter aTransmitter 
)

Definition at line 24 of file Listener.cxx.

References pTransmitter.

◆ ~Listener()

Listener::~Listener ( )
overridevirtual

Definition at line 32 of file Listener.cxx.

Member Function Documentation

◆ beginEvent()

void SAL_CALL Listener::beginEvent ( const css::uno::Reference< css::animations::XAnimationNode > &  rNode)
overridevirtual

Definition at line 65 of file Listener.cxx.

◆ disposing() [1/2]

void SAL_CALL Listener::disposing ( const css::lang::EventObject &  rEvent)
overridevirtual

◆ disposing() [2/2]

void Listener::disposing ( std::unique_lock< std::mutex > &  )
overridevirtual

Reimplemented from comphelper::WeakComponentImplHelperBase.

Definition at line 118 of file Listener.cxx.

References mCommunicator, mController, and pTransmitter.

◆ endEvent()

void SAL_CALL Listener::endEvent ( const css::uno::Reference< css::animations::XAnimationNode > &  rNode)
overridevirtual

Definition at line 69 of file Listener.cxx.

◆ hyperLinkClicked()

void SAL_CALL Listener::hyperLinkClicked ( const OUString &  hyperLink)
overridevirtual

Definition at line 91 of file Listener.cxx.

◆ init()

void Listener::init ( const css::uno::Reference< css::presentation::XSlideShowController > &  aController)

◆ paused()

void SAL_CALL Listener::paused ( )
overridevirtual

Definition at line 79 of file Listener.cxx.

◆ repeat()

void SAL_CALL Listener::repeat ( const css::uno::Reference< css::animations::XAnimationNode > &  rNode,
::sal_Int32  Repeat 
)
overridevirtual

Definition at line 73 of file Listener.cxx.

◆ resumed()

void SAL_CALL Listener::resumed ( )
overridevirtual

Definition at line 83 of file Listener.cxx.

◆ slideAnimationsEnded()

void SAL_CALL Listener::slideAnimationsEnded ( )
overridevirtual

Definition at line 114 of file Listener.cxx.

◆ slideEnded()

void SAL_CALL Listener::slideEnded ( sal_Bool  bReverse)
overridevirtual

Definition at line 87 of file Listener.cxx.

◆ slideTransitionEnded()

void SAL_CALL Listener::slideTransitionEnded ( )
overridevirtual

Definition at line 110 of file Listener.cxx.

◆ slideTransitionStarted()

void SAL_CALL Listener::slideTransitionStarted ( )
overridevirtual

Member Data Documentation

◆ mCommunicator

rtl::Reference<Communicator> sd::Listener::mCommunicator
private

Definition at line 57 of file Listener.hxx.

Referenced by disposing().

◆ mController

css::uno::Reference< css::presentation::XSlideShowController > sd::Listener::mController
private

Definition at line 59 of file Listener.hxx.

Referenced by disposing(), init(), and slideTransitionStarted().

◆ pTransmitter

sd::Transmitter* sd::Listener::pTransmitter
private

Definition at line 58 of file Listener.hxx.

Referenced by disposing(), init(), Listener(), and slideTransitionStarted().


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