LibreOffice Module ucbhelper (master) 1
|
This class provides a command info ( the complete implementation of the interface XCommandInfo ) for an object derived from class ucb::ContentImplHelper. More...
#include <contentinfo.hxx>
Public Member Functions | |
CommandProcessorInfo (css::uno::Reference< css::ucb::XCommandEnvironment > xEnv, ContentImplHelper *pContent) | |
virtual | ~CommandProcessorInfo () override |
virtual css::uno::Sequence< css::ucb::CommandInfo > SAL_CALL | getCommands () override |
virtual css::ucb::CommandInfo SAL_CALL | getCommandInfoByName (const OUString &Name) override |
virtual css::ucb::CommandInfo SAL_CALL | getCommandInfoByHandle (sal_Int32 Handle) override |
virtual sal_Bool SAL_CALL | hasCommandByName (const OUString &Name) override |
virtual sal_Bool SAL_CALL | hasCommandByHandle (sal_Int32 Handle) override |
void | reset () |
Private Member Functions | |
bool | queryCommand (std::u16string_view rName, css::ucb::CommandInfo &rCommand) |
bool | queryCommand (sal_Int32 nHandle, css::ucb::CommandInfo &rCommand) |
const css::uno::Sequence< css::ucb::CommandInfo > & | getCommandsImpl () |
Private Attributes | |
css::uno::Reference< css::ucb::XCommandEnvironment > | m_xEnv |
std::optional< css::uno::Sequence< css::ucb::CommandInfo > > | m_xCommands |
std::mutex | m_aMutex |
ContentImplHelper * | m_pContent |
This class provides a command info ( the complete implementation of the interface XCommandInfo ) for an object derived from class ucb::ContentImplHelper.
Definition at line 82 of file contentinfo.hxx.
ucbhelper::CommandProcessorInfo::CommandProcessorInfo | ( | css::uno::Reference< css::ucb::XCommandEnvironment > | xEnv, |
ContentImplHelper * | pContent | ||
) |
Definition at line 168 of file contentinfo.cxx.
|
overridevirtual |
Definition at line 178 of file contentinfo.cxx.
|
overridevirtual |
Definition at line 231 of file contentinfo.cxx.
References Handle, and queryCommand().
|
overridevirtual |
Definition at line 218 of file contentinfo.cxx.
References Name, and queryCommand().
|
overridevirtual |
Definition at line 187 of file contentinfo.cxx.
References getCommandsImpl(), and m_aMutex.
|
private |
Definition at line 193 of file contentinfo.cxx.
References ucbhelper::ContentImplHelper::getCommands(), m_pContent, m_xCommands, and m_xEnv.
Referenced by getCommands(), and queryCommand().
|
overridevirtual |
Definition at line 251 of file contentinfo.cxx.
References Handle, and queryCommand().
|
overridevirtual |
Definition at line 242 of file contentinfo.cxx.
References Name, and queryCommand().
|
private |
Definition at line 293 of file contentinfo.cxx.
References getCommandsImpl(), m_aMutex, m_xCommands, n, nCount, and nHandle.
|
private |
Definition at line 268 of file contentinfo.cxx.
References getCommandsImpl(), m_aMutex, m_xCommands, n, and nCount.
Referenced by getCommandInfoByHandle(), getCommandInfoByName(), hasCommandByHandle(), and hasCommandByName().
void ucbhelper::CommandProcessorInfo::reset | ( | ) |
Definition at line 261 of file contentinfo.cxx.
References m_aMutex, and m_xCommands.
|
private |
Definition at line 89 of file contentinfo.hxx.
Referenced by getCommands(), queryCommand(), and reset().
|
private |
Definition at line 90 of file contentinfo.hxx.
Referenced by getCommandsImpl().
|
private |
Definition at line 88 of file contentinfo.hxx.
Referenced by getCommandsImpl(), queryCommand(), and reset().
|
private |
Definition at line 86 of file contentinfo.hxx.
Referenced by getCommandsImpl().