implements the XScriptListener interface, is used by FormScriptingEnvironment
More...
|
static bool | impl_allowAsynchronousCall_nothrow (const OUString &_rListenerType, const OUString &_rMethodName) |
| determines whether calling a given method at a given listener interface can be done asynchronously More...
|
|
implements the XScriptListener interface, is used by FormScriptingEnvironment
Definition at line 73 of file fmscriptingenv.cxx.
◆ FormScriptListener()
◆ ~FormScriptListener()
svxform::FormScriptListener::~FormScriptListener |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ approveFiring()
Any SAL_CALL svxform::FormScriptListener::approveFiring |
( |
const ScriptEvent & |
aEvent | ) |
|
|
overridevirtual |
◆ DECL_LINK()
svxform::FormScriptListener::DECL_LINK |
( |
OnAsyncScriptEvent |
, |
|
|
void * |
, |
|
|
void |
|
|
) |
| |
|
private |
◆ dispose()
void svxform::FormScriptListener::dispose |
( |
void |
| ) |
|
◆ disposing()
void SAL_CALL svxform::FormScriptListener::disposing |
( |
const EventObject & |
Source | ) |
|
|
overridevirtual |
◆ firing()
void SAL_CALL svxform::FormScriptListener::firing |
( |
const ScriptEvent & |
aEvent | ) |
|
|
overridevirtual |
◆ impl_allowAsynchronousCall_nothrow()
bool svxform::FormScriptListener::impl_allowAsynchronousCall_nothrow |
( |
const OUString & |
_rListenerType, |
|
|
const OUString & |
_rMethodName |
|
) |
| |
|
staticprivate |
determines whether calling a given method at a given listener interface can be done asynchronously
- Parameters
-
_rListenerType | the name of the UNO type whose method is to be checked |
_rMethodName | the name of the method at the interface determined by _rListenerType |
- Returns
- <TRUE> if and only if the method is declared
oneway
, i.e. can be called asynchronously
Definition at line 143 of file fmscriptingenv.cxx.
Referenced by firing().
◆ impl_doFireScriptEvent_nothrow()
void svxform::FormScriptListener::impl_doFireScriptEvent_nothrow |
( |
std::unique_lock< std::mutex > & |
_rGuard, |
|
|
const ScriptEvent & |
_rEvent, |
|
|
Any * |
_pSynchronousResult |
|
) |
| |
|
private |
fires the given script event in a thread-safe manner
This methods calls our script executor's doFireScriptEvent, with previously releasing the given mutex guard, but ensuring that our script executor is not deleted between this release and the actual call.
- Parameters
-
_rGuard | a clearable guard to our mutex. Must be the only active guard to our mutex. |
_rEvent | the event to fire |
_pSynchronousResult | a place to take a possible result of the script call. |
@precond m_pScriptExecutor is not <NULL>.
Definition at line 679 of file fmscriptingenv.cxx.
References svxform::FormScriptingEnvironment::doFireScriptEvent(), and m_pScriptExecutor.
Referenced by approveFiring(), and firing().
◆ impl_isDisposed_nothrow()
bool svxform::FormScriptListener::impl_isDisposed_nothrow |
( |
| ) |
const |
|
inlineprivate |
◆ m_aMutex
◆ m_pScriptExecutor
The documentation for this class was generated from the following file: