LibreOffice Module vcl (master)  1
Public Member Functions | Private Attributes | List of all members
VersionedEvent Class Reference

#include <saltimer.hxx>

Inheritance diagram for VersionedEvent:
[legend]

Public Member Functions

 VersionedEvent ()
 
sal_Int32 GetNextEventVersion ()
 
void InvalidateEvent ()
 
bool ExistsValidEvent () const
 
bool IsValidEventVersion (const sal_Int32 nEventVersion) const
 

Private Attributes

sal_Int32 m_nEventVersion
 The "additional event data" members on macOS are integers, so we can't use an unsigned integer and rely on the defined unsigned overflow in InvalidateEvent(). More...
 
bool m_bIsValidVersion
 

Detailed Description

Definition at line 58 of file saltimer.hxx.

Constructor & Destructor Documentation

VersionedEvent::VersionedEvent ( )
inline

Definition at line 69 of file saltimer.hxx.

Member Function Documentation

bool VersionedEvent::ExistsValidEvent ( ) const
inline

Definition at line 90 of file saltimer.hxx.

References m_bIsValidVersion.

Referenced by WinSalTimer::HasTimerElapsed().

sal_Int32 VersionedEvent::GetNextEventVersion ( )
inline

Definition at line 71 of file saltimer.hxx.

References InvalidateEvent(), and m_nEventVersion.

void VersionedEvent::InvalidateEvent ( )
inline

Definition at line 78 of file saltimer.hxx.

References m_nEventVersion, and SAL_MAX_INT32.

Referenced by GetNextEventVersion().

bool VersionedEvent::IsValidEventVersion ( const sal_Int32  nEventVersion) const
inline

Definition at line 95 of file saltimer.hxx.

References m_nEventVersion.

Member Data Documentation

bool VersionedEvent::m_bIsValidVersion
private

Definition at line 66 of file saltimer.hxx.

Referenced by ExistsValidEvent().

sal_Int32 VersionedEvent::m_nEventVersion
private

The "additional event data" members on macOS are integers, so we can't use an unsigned integer and rely on the defined unsigned overflow in InvalidateEvent().

Definition at line 65 of file saltimer.hxx.

Referenced by GetNextEventVersion(), InvalidateEvent(), and IsValidEventVersion().


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