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::VersionedEvent ( )
inline

Definition at line 69 of file saltimer.hxx.

Member Function Documentation

◆ ExistsValidEvent()

bool VersionedEvent::ExistsValidEvent ( ) const
inline

Definition at line 90 of file saltimer.hxx.

References m_bIsValidVersion.

Referenced by WinSalTimer::HasTimerElapsed().

◆ GetNextEventVersion()

sal_Int32 VersionedEvent::GetNextEventVersion ( )
inline

Definition at line 71 of file saltimer.hxx.

References InvalidateEvent(), m_bIsValidVersion, and m_nEventVersion.

◆ InvalidateEvent()

void VersionedEvent::InvalidateEvent ( )
inline

Definition at line 78 of file saltimer.hxx.

References m_bIsValidVersion, m_nEventVersion, and SAL_MAX_INT32.

Referenced by GetNextEventVersion().

◆ IsValidEventVersion()

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

Definition at line 95 of file saltimer.hxx.

References m_bIsValidVersion, and m_nEventVersion.

Member Data Documentation

◆ m_bIsValidVersion

bool VersionedEvent::m_bIsValidVersion
private

◆ m_nEventVersion

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: