LibreOffice Module sdext (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 (const OUString &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 166 of file PresenterProtocolHandler.cxx.

Member Typedef Documentation

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

Definition at line 208 of file PresenterProtocolHandler.cxx.

Constructor & Destructor Documentation

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

Definition at line 393 of file PresenterProtocolHandler.cxx.

Member Function Documentation

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 434 of file PresenterProtocolHandler.cxx.

References aEvent.

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 328 of file PresenterProtocolHandler.cxx.

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

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

Definition at line 356 of file PresenterProtocolHandler.cxx.

References Command.

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 412 of file PresenterProtocolHandler.cxx.

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

Definition at line 477 of file PresenterProtocolHandler.cxx.

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

Definition at line 469 of file PresenterProtocolHandler.cxx.

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 451 of file PresenterProtocolHandler.cxx.

Member Data Documentation

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

Definition at line 209 of file PresenterProtocolHandler.cxx.

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

Definition at line 210 of file PresenterProtocolHandler.cxx.

Referenced by Dispatch().

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

Definition at line 206 of file PresenterProtocolHandler.cxx.

Referenced by Dispatch().

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

Definition at line 207 of file PresenterProtocolHandler.cxx.

Referenced by Dispatch().

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

Definition at line 205 of file PresenterProtocolHandler.cxx.


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