Nui
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Microsoft::WRL::EventSource< TDelegateInterface, TEventSourceOptions > Class Template Reference

#include <event.h>

Collaboration diagram for Microsoft::WRL::EventSource< TDelegateInterface, TEventSourceOptions >:
Collaboration graph
[legend]

Public Member Functions

 EventSource () throw ()
 
HRESULT Add (_In_opt_ TDelegateInterface *delegateInterface, _Out_ EventRegistrationToken *token) throw ()
 
HRESULT Remove (EventRegistrationToken token) throw ()
 
_Check_return_ HRESULT InvokeAll () throw ()
 
template<typename T0 >
_Check_return_ HRESULT InvokeAll (T0 arg0) throw ()
 
template<typename T0 , typename T1 >
_Check_return_ HRESULT InvokeAll (T0 arg0, T1 arg1) throw ()
 
template<typename T0 , typename T1 , typename T2 >
_Check_return_ HRESULT InvokeAll (T0 arg0, T1 arg1, T2 arg2) throw ()
 
template<typename T0 , typename T1 , typename T2 , typename T3 >
_Check_return_ HRESULT InvokeAll (T0 arg0, T1 arg1, T2 arg2, T3 arg3) throw ()
 
template<typename T0 , typename T1 , typename T2 , typename T3 , typename T4 >
_Check_return_ HRESULT InvokeAll (T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4) throw ()
 
template<typename T0 , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 >
_Check_return_ HRESULT InvokeAll (T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5) throw ()
 
template<typename T0 , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 >
_Check_return_ HRESULT InvokeAll (T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6) throw ()
 
template<typename T0 , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 >
_Check_return_ HRESULT InvokeAll (T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7) throw ()
 
template<typename T0 , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 >
_Check_return_ HRESULT InvokeAll (T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8) throw ()
 
template<typename T0 , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 , typename T9 >
_Check_return_ HRESULT InvokeAll (T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9) throw ()
 
size_t GetSize () const throw ()
 

Protected Member Functions

HRESULT Add (_In_opt_ TDelegateInterface *delegateInterface, _In_opt_ void *bucketAssist, _Out_ EventRegistrationToken *token) throw ()
 

Protected Attributes

ComPtr< Details::EventTargetArray > targets_
 
Wrappers::SRWLock targetsPointerLock_
 
Wrappers::SRWLock addRemoveLock_
 

Constructor & Destructor Documentation

◆ EventSource()

template<typename TDelegateInterface , typename TEventSourceOptions = InvokeModeOptions<FireAll>>
Microsoft::WRL::EventSource< TDelegateInterface, TEventSourceOptions >::EventSource ( )
throw (
)
inline

Member Function Documentation

◆ Add() [1/2]

template<typename TDelegateInterface , typename TEventSourceOptions = InvokeModeOptions<FireAll>>
HRESULT Microsoft::WRL::EventSource< TDelegateInterface, TEventSourceOptions >::Add ( _In_opt_ TDelegateInterface *  delegateInterface,
_In_opt_ void *  bucketAssist,
_Out_ EventRegistrationToken token 
)
throw (
)
inlineprotected

◆ Add() [2/2]

template<typename TDelegateInterface , typename TEventSourceOptions = InvokeModeOptions<FireAll>>
HRESULT Microsoft::WRL::EventSource< TDelegateInterface, TEventSourceOptions >::Add ( _In_opt_ TDelegateInterface *  delegateInterface,
_Out_ EventRegistrationToken token 
)
throw (
)
inline

◆ GetSize()

template<typename TDelegateInterface , typename TEventSourceOptions = InvokeModeOptions<FireAll>>
size_t Microsoft::WRL::EventSource< TDelegateInterface, TEventSourceOptions >::GetSize ( ) const
throw (
)
inline

◆ InvokeAll() [1/11]

template<typename TDelegateInterface , typename TEventSourceOptions = InvokeModeOptions<FireAll>>
_Check_return_ HRESULT Microsoft::WRL::EventSource< TDelegateInterface, TEventSourceOptions >::InvokeAll ( )
throw (
)
inline

◆ InvokeAll() [2/11]

template<typename TDelegateInterface , typename TEventSourceOptions = InvokeModeOptions<FireAll>>
template<typename T0 >
_Check_return_ HRESULT Microsoft::WRL::EventSource< TDelegateInterface, TEventSourceOptions >::InvokeAll ( T0  arg0)
throw (
)
inline

◆ InvokeAll() [3/11]

template<typename TDelegateInterface , typename TEventSourceOptions = InvokeModeOptions<FireAll>>
template<typename T0 , typename T1 >
_Check_return_ HRESULT Microsoft::WRL::EventSource< TDelegateInterface, TEventSourceOptions >::InvokeAll ( T0  arg0,
T1  arg1 
)
throw (
)
inline

◆ InvokeAll() [4/11]

template<typename TDelegateInterface , typename TEventSourceOptions = InvokeModeOptions<FireAll>>
template<typename T0 , typename T1 , typename T2 >
_Check_return_ HRESULT Microsoft::WRL::EventSource< TDelegateInterface, TEventSourceOptions >::InvokeAll ( T0  arg0,
T1  arg1,
T2  arg2 
)
throw (
)
inline

◆ InvokeAll() [5/11]

template<typename TDelegateInterface , typename TEventSourceOptions = InvokeModeOptions<FireAll>>
template<typename T0 , typename T1 , typename T2 , typename T3 >
_Check_return_ HRESULT Microsoft::WRL::EventSource< TDelegateInterface, TEventSourceOptions >::InvokeAll ( T0  arg0,
T1  arg1,
T2  arg2,
T3  arg3 
)
throw (
)
inline

◆ InvokeAll() [6/11]

template<typename TDelegateInterface , typename TEventSourceOptions = InvokeModeOptions<FireAll>>
template<typename T0 , typename T1 , typename T2 , typename T3 , typename T4 >
_Check_return_ HRESULT Microsoft::WRL::EventSource< TDelegateInterface, TEventSourceOptions >::InvokeAll ( T0  arg0,
T1  arg1,
T2  arg2,
T3  arg3,
T4  arg4 
)
throw (
)
inline

◆ InvokeAll() [7/11]

template<typename TDelegateInterface , typename TEventSourceOptions = InvokeModeOptions<FireAll>>
template<typename T0 , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 >
_Check_return_ HRESULT Microsoft::WRL::EventSource< TDelegateInterface, TEventSourceOptions >::InvokeAll ( T0  arg0,
T1  arg1,
T2  arg2,
T3  arg3,
T4  arg4,
T5  arg5 
)
throw (
)
inline

◆ InvokeAll() [8/11]

template<typename TDelegateInterface , typename TEventSourceOptions = InvokeModeOptions<FireAll>>
template<typename T0 , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 >
_Check_return_ HRESULT Microsoft::WRL::EventSource< TDelegateInterface, TEventSourceOptions >::InvokeAll ( T0  arg0,
T1  arg1,
T2  arg2,
T3  arg3,
T4  arg4,
T5  arg5,
T6  arg6 
)
throw (
)
inline

◆ InvokeAll() [9/11]

template<typename TDelegateInterface , typename TEventSourceOptions = InvokeModeOptions<FireAll>>
template<typename T0 , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 >
_Check_return_ HRESULT Microsoft::WRL::EventSource< TDelegateInterface, TEventSourceOptions >::InvokeAll ( T0  arg0,
T1  arg1,
T2  arg2,
T3  arg3,
T4  arg4,
T5  arg5,
T6  arg6,
T7  arg7 
)
throw (
)
inline

◆ InvokeAll() [10/11]

template<typename TDelegateInterface , typename TEventSourceOptions = InvokeModeOptions<FireAll>>
template<typename T0 , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 >
_Check_return_ HRESULT Microsoft::WRL::EventSource< TDelegateInterface, TEventSourceOptions >::InvokeAll ( T0  arg0,
T1  arg1,
T2  arg2,
T3  arg3,
T4  arg4,
T5  arg5,
T6  arg6,
T7  arg7,
T8  arg8 
)
throw (
)
inline

◆ InvokeAll() [11/11]

template<typename TDelegateInterface , typename TEventSourceOptions = InvokeModeOptions<FireAll>>
template<typename T0 , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 , typename T9 >
_Check_return_ HRESULT Microsoft::WRL::EventSource< TDelegateInterface, TEventSourceOptions >::InvokeAll ( T0  arg0,
T1  arg1,
T2  arg2,
T3  arg3,
T4  arg4,
T5  arg5,
T6  arg6,
T7  arg7,
T8  arg8,
T9  arg9 
)
throw (
)
inline

◆ Remove()

template<typename TDelegateInterface , typename TEventSourceOptions = InvokeModeOptions<FireAll>>
HRESULT Microsoft::WRL::EventSource< TDelegateInterface, TEventSourceOptions >::Remove ( EventRegistrationToken  token)
throw (
)
inline

Member Data Documentation

◆ addRemoveLock_

template<typename TDelegateInterface , typename TEventSourceOptions = InvokeModeOptions<FireAll>>
Wrappers::SRWLock Microsoft::WRL::EventSource< TDelegateInterface, TEventSourceOptions >::addRemoveLock_
protected

◆ targets_

template<typename TDelegateInterface , typename TEventSourceOptions = InvokeModeOptions<FireAll>>
ComPtr<Details::EventTargetArray> Microsoft::WRL::EventSource< TDelegateInterface, TEventSourceOptions >::targets_
protected

◆ targetsPointerLock_

template<typename TDelegateInterface , typename TEventSourceOptions = InvokeModeOptions<FireAll>>
Wrappers::SRWLock Microsoft::WRL::EventSource< TDelegateInterface, TEventSourceOptions >::targetsPointerLock_
protected

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