LibreOffice Module ucbhelper (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ucbhelper::Content_Impl Class Reference
Inheritance diagram for ucbhelper::Content_Impl:
[legend]
Collaboration diagram for ucbhelper::Content_Impl:
[legend]

Public Member Functions

 Content_Impl ()
 
 Content_Impl (const Reference< XComponentContext > &rCtx, const Reference< XContent > &rContent, const Reference< XCommandEnvironment > &rEnv)
 
virtual ~Content_Impl () override
 
const OUString & getURL () const
 
Reference< XContent > getContent ()
 
Reference< XCommandProcessor > getCommandProcessor ()
 
Reference< XComponentContext > const & getComponentContext () const
 
Any executeCommand (const Command &rCommand)
 
const Reference< XCommandEnvironment > & getEnvironment () const
 
void setEnvironment (const Reference< XCommandEnvironment > &xNewEnv)
 
void inserted ()
 
- Public Member Functions inherited from salhelper::SimpleReferenceObject
 SimpleReferenceObject ()
 
void acquire ()
 
void release ()
 

Private Member Functions

void reinit (const Reference< XContent > &xContent)
 
void disposing (const EventObject &Source)
 
const Reference< XContent > & getContent_NoLock ()
 
const OUString & getURL_NoLock () const
 

Private Attributes

friend ContentEventListener_Impl
 
OUString m_aURL
 
Reference< XComponentContext > m_xCtx
 
Reference< XContent > m_xContent
 
Reference< XCommandProcessor > m_xCommandProcessor
 
Reference< XCommandEnvironment > m_xEnv
 
Reference< XContentEventListener > m_xContentEventListener
 
std::mutex m_aMutex
 

Additional Inherited Members

- Static Public Member Functions inherited from salhelper::SimpleReferenceObject
static void * operator new (std::size_t nSize)
 
static void * operator new (std::size_t nSize, std::nothrow_t const &rNothrow)
 
static void operator delete (void *pPtr)
 
static void operator delete (void *pPtr, std::nothrow_t const &rNothrow)
 
- Protected Member Functions inherited from salhelper::SimpleReferenceObject
virtual ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE
 
- Protected Attributes inherited from salhelper::SimpleReferenceObject
oslInterlockedCount m_nCount
 

Detailed Description

Definition at line 152 of file content.cxx.

Constructor & Destructor Documentation

◆ Content_Impl() [1/2]

ucbhelper::Content_Impl::Content_Impl ( )
inline

Definition at line 171 of file content.cxx.

◆ Content_Impl() [2/2]

ucbhelper::Content_Impl::Content_Impl ( const Reference< XComponentContext > &  rCtx,
const Reference< XContent > &  rContent,
const Reference< XCommandEnvironment > &  rEnv 
)

◆ ~Content_Impl()

ucbhelper::Content_Impl::~Content_Impl ( )
overridevirtual

Definition at line 1130 of file content.cxx.

References m_xContent, and m_xContentEventListener.

Member Function Documentation

◆ disposing()

void ucbhelper::Content_Impl::disposing ( const EventObject &  Source)
private

Definition at line 1145 of file content.cxx.

References m_aMutex, m_aURL, m_xCommandProcessor, m_xContent, m_xContentEventListener, and Source.

◆ executeCommand()

Any ucbhelper::Content_Impl::executeCommand ( const Command &  rCommand)

Definition at line 1257 of file content.cxx.

References Any, getCommandProcessor(), and m_xEnv.

◆ getCommandProcessor()

Reference< XCommandProcessor > ucbhelper::Content_Impl::getCommandProcessor ( )

Definition at line 1243 of file content.cxx.

References getContent_NoLock(), m_aMutex, and m_xCommandProcessor.

Referenced by executeCommand().

◆ getComponentContext()

Reference< XComponentContext > const & ucbhelper::Content_Impl::getComponentContext ( ) const
inline

Definition at line 181 of file content.cxx.

References m_xCtx.

Referenced by getContent_NoLock().

◆ getContent()

Reference< XContent > ucbhelper::Content_Impl::getContent ( )

Definition at line 1198 of file content.cxx.

References getContent_NoLock(), m_aMutex, m_aURL, and m_xContent.

◆ getContent_NoLock()

const Reference< XContent > & ucbhelper::Content_Impl::getContent_NoLock ( )
private

Definition at line 1208 of file content.cxx.

References getComponentContext(), m_aURL, m_xContent, and m_xContentEventListener.

Referenced by getCommandProcessor(), and getContent().

◆ getEnvironment()

const Reference< XCommandEnvironment > & ucbhelper::Content_Impl::getEnvironment ( ) const
inline

Definition at line 1269 of file content.cxx.

References m_xEnv.

◆ getURL()

const OUString & ucbhelper::Content_Impl::getURL ( ) const

Definition at line 1174 of file content.cxx.

References getURL_NoLock(), m_aMutex, m_aURL, and m_xContent.

Referenced by Content_Impl().

◆ getURL_NoLock()

const OUString & ucbhelper::Content_Impl::getURL_NoLock ( ) const
private

Definition at line 1186 of file content.cxx.

References m_aURL, and m_xContent.

Referenced by getURL(), and reinit().

◆ inserted()

void ucbhelper::Content_Impl::inserted ( )

Definition at line 1283 of file content.cxx.

References m_aMutex, and m_aURL.

◆ reinit()

void ucbhelper::Content_Impl::reinit ( const Reference< XContent > &  xContent)
private

◆ setEnvironment()

void ucbhelper::Content_Impl::setEnvironment ( const Reference< XCommandEnvironment > &  xNewEnv)
inline

Definition at line 1275 of file content.cxx.

References m_aMutex, and m_xEnv.

Member Data Documentation

◆ ContentEventListener_Impl

friend ucbhelper::Content_Impl::ContentEventListener_Impl
private

Definition at line 154 of file content.cxx.

Referenced by Content_Impl().

◆ m_aMutex

std::mutex ucbhelper::Content_Impl::m_aMutex
mutableprivate

◆ m_aURL

OUString ucbhelper::Content_Impl::m_aURL
mutableprivate

Definition at line 156 of file content.cxx.

Referenced by disposing(), getContent(), getContent_NoLock(), getURL(), getURL_NoLock(), and inserted().

◆ m_xCommandProcessor

Reference< XCommandProcessor > ucbhelper::Content_Impl::m_xCommandProcessor
private

Definition at line 159 of file content.cxx.

Referenced by disposing(), getCommandProcessor(), and reinit().

◆ m_xContent

Reference< XContent > ucbhelper::Content_Impl::m_xContent
private

◆ m_xContentEventListener

Reference< XContentEventListener > ucbhelper::Content_Impl::m_xContentEventListener
private

Definition at line 161 of file content.cxx.

Referenced by Content_Impl(), disposing(), getContent_NoLock(), reinit(), and ~Content_Impl().

◆ m_xCtx

Reference< XComponentContext > ucbhelper::Content_Impl::m_xCtx
private

Definition at line 157 of file content.cxx.

◆ m_xEnv

Reference< XCommandEnvironment > ucbhelper::Content_Impl::m_xEnv
private

Definition at line 160 of file content.cxx.

Referenced by executeCommand(), getEnvironment(), and setEnvironment().


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