LibreOffice Module comphelper (master) 1
Public Types | Public Member Functions | Private Attributes | List of all members
comphelper::EventHolder< EVENT_OBJECT > Class Template Referencefinal

AnyEvent derivee holding a foreign event instance. More...

#include <asyncnotification.hxx>

Inheritance diagram for comphelper::EventHolder< EVENT_OBJECT >:
[legend]
Collaboration diagram for comphelper::EventHolder< EVENT_OBJECT >:
[legend]

Public Types

typedef EVENT_OBJECT EventObjectType
 

Public Member Functions

 EventHolder (EventObjectType _aEvent)
 
const EventObjectTypegetEventObject () const
 
- Public Member Functions inherited from comphelper::AnyEvent
 AnyEvent ()
 
- Public Member Functions inherited from salhelper::SimpleReferenceObject
 SimpleReferenceObject ()
 
void acquire ()
 
void release ()
 

Private Attributes

EventObjectType const m_aEvent
 

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 comphelper::AnyEvent
virtual ~AnyEvent () override
 
- Protected Member Functions inherited from salhelper::SimpleReferenceObject
virtual ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE
 
- Protected Attributes inherited from salhelper::SimpleReferenceObject
oslInterlockedCount m_nCount
 

Detailed Description

template<typename EVENT_OBJECT>
class comphelper::EventHolder< EVENT_OBJECT >

AnyEvent derivee holding a foreign event instance.

Definition at line 202 of file asyncnotification.hxx.

Member Typedef Documentation

◆ EventObjectType

template<typename EVENT_OBJECT >
typedef EVENT_OBJECT comphelper::EventHolder< EVENT_OBJECT >::EventObjectType

Definition at line 205 of file asyncnotification.hxx.

Constructor & Destructor Documentation

◆ EventHolder()

template<typename EVENT_OBJECT >
comphelper::EventHolder< EVENT_OBJECT >::EventHolder ( EventObjectType  _aEvent)
inline

Definition at line 211 of file asyncnotification.hxx.

Member Function Documentation

◆ getEventObject()

template<typename EVENT_OBJECT >
const EventObjectType & comphelper::EventHolder< EVENT_OBJECT >::getEventObject ( ) const
inline

Definition at line 216 of file asyncnotification.hxx.

Member Data Documentation

◆ m_aEvent

template<typename EVENT_OBJECT >
EventObjectType const comphelper::EventHolder< EVENT_OBJECT >::m_aEvent
private

Definition at line 208 of file asyncnotification.hxx.


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