LibreOffice Module sd (master) 1
Public Member Functions | Static Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
sdext::presenter::PresenterProtocolHandler::Dispatch Class Reference
Inheritance diagram for sdext::presenter::PresenterProtocolHandler::Dispatch:
[legend]
Collaboration diagram for sdext::presenter::PresenterProtocolHandler::Dispatch:
[legend]

Public Member Functions

void SAL_CALL disposing () override
 
virtual void SAL_CALL dispatch (const css::util::URL &aURL, const css::uno::Sequence< css::beans::PropertyValue > &rArguments) override
 
virtual void SAL_CALL addStatusListener (const css::uno::Reference< css::frame::XStatusListener > &rxListener, const css::util::URL &rURL) override
 
virtual void SAL_CALL removeStatusListener (const css::uno::Reference< css::frame::XStatusListener > &rxListener, const css::util::URL &rURL) override
 
virtual void SAL_CALL notifyEvent (const css::document::EventObject &rEvent) override
 
virtual void SAL_CALL disposing (const css::lang::EventObject &rEvent) override
 

Static Public Member Functions

static Reference< frame::XDispatch > Create (const OUString &rsURLPath, const ::rtl::Reference< PresenterController > &rpPresenterController)
 Create a new Dispatch object. More...
 
static Command * CreateCommand (std::u16string_view rsURLPath, const ::rtl::Reference< PresenterController > &rpPresenterController)
 

Private Types

typedef ::std::vector< Reference< frame::XStatusListener > > StatusListenerContainer
 

Private Member Functions

 Dispatch (const OUString &rsURLPath, const ::rtl::Reference< PresenterController > &rpPresenterController)
 
virtual ~Dispatch () override
 

Private Attributes

OUString msURLPath
 
std::unique_ptr< Command > mpCommand
 
::rtl::Reference< PresenterControllermpPresenterController
 
StatusListenerContainer maStatusListenerContainer
 
bool mbIsListeningToWindowManager
 

Additional Inherited Members

- Protected Attributes inherited from cppu::BaseMutex
mutable::osl::Mutex m_aMutex
 

Detailed Description

Definition at line 186 of file PresenterProtocolHandler.cxx.

Member Typedef Documentation

◆ StatusListenerContainer

typedef ::std::vector<Reference<frame::XStatusListener> > sdext::presenter::PresenterProtocolHandler::Dispatch::StatusListenerContainer
private

Definition at line 228 of file PresenterProtocolHandler.cxx.

Constructor & Destructor Documentation

◆ Dispatch()

sdext::presenter::PresenterProtocolHandler::Dispatch::Dispatch ( const OUString &  rsURLPath,
const ::rtl::Reference< PresenterController > &  rpPresenterController 
)
private

◆ ~Dispatch()

sdext::presenter::PresenterProtocolHandler::Dispatch::~Dispatch ( )
overrideprivatevirtual

Definition at line 409 of file PresenterProtocolHandler.cxx.

Member Function Documentation

◆ addStatusListener()

void SAL_CALL sdext::presenter::PresenterProtocolHandler::Dispatch::addStatusListener ( const css::uno::Reference< css::frame::XStatusListener > &  rxListener,
const css::util::URL &  rURL 
)
overridevirtual

Definition at line 450 of file PresenterProtocolHandler.cxx.

References aEvent.

◆ Create()

Reference< frame::XDispatch > sdext::presenter::PresenterProtocolHandler::Dispatch::Create ( const OUString &  rsURLPath,
const ::rtl::Reference< PresenterController > &  rpPresenterController 
)
static

Create a new Dispatch object.

When the given command name (rsURLPath) is not known then an empty reference is returned.

Definition at line 341 of file PresenterProtocolHandler.cxx.

Referenced by sdext::presenter::PresenterProtocolHandler::queryDispatch().

◆ CreateCommand()

Command * sdext::presenter::PresenterProtocolHandler::Dispatch::CreateCommand ( std::u16string_view  rsURLPath,
const ::rtl::Reference< PresenterController > &  rpPresenterController 
)
static

Definition at line 368 of file PresenterProtocolHandler.cxx.

References Command, and u.

◆ dispatch()

void SAL_CALL sdext::presenter::PresenterProtocolHandler::Dispatch::dispatch ( const css::util::URL &  aURL,
const css::uno::Sequence< css::beans::PropertyValue > &  rArguments 
)
overridevirtual

Definition at line 428 of file PresenterProtocolHandler.cxx.

◆ disposing() [1/2]

void sdext::presenter::PresenterProtocolHandler::Dispatch::disposing ( )
override

◆ disposing() [2/2]

void SAL_CALL sdext::presenter::PresenterProtocolHandler::Dispatch::disposing ( const css::lang::EventObject &  rEvent)
overridevirtual

Definition at line 493 of file PresenterProtocolHandler.cxx.

◆ notifyEvent()

void SAL_CALL sdext::presenter::PresenterProtocolHandler::Dispatch::notifyEvent ( const css::document::EventObject &  rEvent)
overridevirtual

Definition at line 485 of file PresenterProtocolHandler.cxx.

◆ removeStatusListener()

void SAL_CALL sdext::presenter::PresenterProtocolHandler::Dispatch::removeStatusListener ( const css::uno::Reference< css::frame::XStatusListener > &  rxListener,
const css::util::URL &  rURL 
)
overridevirtual

Definition at line 467 of file PresenterProtocolHandler.cxx.

Member Data Documentation

◆ maStatusListenerContainer

StatusListenerContainer sdext::presenter::PresenterProtocolHandler::Dispatch::maStatusListenerContainer
private

Definition at line 229 of file PresenterProtocolHandler.cxx.

◆ mbIsListeningToWindowManager

bool sdext::presenter::PresenterProtocolHandler::Dispatch::mbIsListeningToWindowManager
private

Definition at line 230 of file PresenterProtocolHandler.cxx.

Referenced by Dispatch().

◆ mpCommand

std::unique_ptr<Command> sdext::presenter::PresenterProtocolHandler::Dispatch::mpCommand
private

Definition at line 226 of file PresenterProtocolHandler.cxx.

Referenced by Dispatch().

◆ mpPresenterController

::rtl::Reference<PresenterController> sdext::presenter::PresenterProtocolHandler::Dispatch::mpPresenterController
private

Definition at line 227 of file PresenterProtocolHandler.cxx.

Referenced by Dispatch().

◆ msURLPath

OUString sdext::presenter::PresenterProtocolHandler::Dispatch::msURLPath
private

Definition at line 225 of file PresenterProtocolHandler.cxx.


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