LibreOffice Module sfx2 (master) 1
Public Member Functions | Private Attributes | Friends | List of all members
BindDispatch_Impl Class Referencefinal

#include <statcach.hxx>

Inheritance diagram for BindDispatch_Impl:
[legend]
Collaboration diagram for BindDispatch_Impl:
[legend]

Public Member Functions

 BindDispatch_Impl (css::uno::Reference< css::frame::XDispatch > xDisp, css::util::URL aURL, SfxStateCache *pStateCache, const SfxSlot *pSlot)
 
virtual void SAL_CALL statusChanged (const css::frame::FeatureStateEvent &Event) override
 
virtual void SAL_CALL disposing (const css::lang::EventObject &Source) override
 
const css::frame::FeatureStateEvent & GetStatus () const
 
sal_Int16 Dispatch (const css::uno::Sequence< css::beans::PropertyValue > &aProps, bool bForceSynchron)
 
void Release ()
 

Private Attributes

css::uno::Reference< css::frame::XDispatch > xDisp
 
css::util::URL aURL
 
css::frame::FeatureStateEvent aStatus
 
SfxStateCachepCache
 
const SfxSlotpSlot
 

Friends

class SfxStateCache
 

Detailed Description

Definition at line 37 of file statcach.hxx.

Constructor & Destructor Documentation

◆ BindDispatch_Impl()

BindDispatch_Impl::BindDispatch_Impl ( css::uno::Reference< css::frame::XDispatch >  xDisp,
css::util::URL  aURL,
SfxStateCache pStateCache,
const SfxSlot pSlot 
)

Definition at line 51 of file statcach.cxx.

References aStatus, aURL, DBG_ASSERT, pCache, pS, and pSlot.

Member Function Documentation

◆ Dispatch()

sal_Int16 BindDispatch_Impl::Dispatch ( const css::uno::Sequence< css::beans::PropertyValue > &  aProps,
bool  bForceSynchron 
)

Definition at line 163 of file statcach.cxx.

References aEvent, aStatus, aURL, and xDisp.

◆ disposing()

void SAL_CALL BindDispatch_Impl::disposing ( const css::lang::EventObject &  Source)
overridevirtual

Definition at line 61 of file statcach.cxx.

References aURL, and xDisp.

◆ GetStatus()

const css::frame::FeatureStateEvent & BindDispatch_Impl::GetStatus ( ) const
inline

Definition at line 55 of file statcach.hxx.

References aStatus.

◆ Release()

void BindDispatch_Impl::Release ( )

Definition at line 145 of file statcach.cxx.

References aURL, pCache, TOOLS_WARN_EXCEPTION, and xDisp.

◆ statusChanged()

void SAL_CALL BindDispatch_Impl::statusChanged ( const css::frame::FeatureStateEvent &  Event)
overridevirtual

Friends And Related Function Documentation

◆ SfxStateCache

friend class SfxStateCache
friend

Definition at line 39 of file statcach.hxx.

Member Data Documentation

◆ aStatus

css::frame::FeatureStateEvent BindDispatch_Impl::aStatus
private

Definition at line 42 of file statcach.hxx.

Referenced by BindDispatch_Impl(), Dispatch(), GetStatus(), and statusChanged().

◆ aURL

css::util::URL BindDispatch_Impl::aURL
private

Definition at line 41 of file statcach.hxx.

Referenced by Dispatch(), disposing(), and Release().

◆ pCache

SfxStateCache* BindDispatch_Impl::pCache
private

Definition at line 43 of file statcach.hxx.

Referenced by BindDispatch_Impl(), Release(), and statusChanged().

◆ pSlot

const SfxSlot* BindDispatch_Impl::pSlot
private

Definition at line 44 of file statcach.hxx.

Referenced by BindDispatch_Impl(), and statusChanged().

◆ xDisp

css::uno::Reference< css::frame::XDispatch > BindDispatch_Impl::xDisp
private

Definition at line 40 of file statcach.hxx.

Referenced by Dispatch(), disposing(), and Release().


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