openMSX
Public Member Functions | Static Public Member Functions | List of all members
openmsx::Event Class Reference

#include <Event.hh>

Public Member Functions

 Event ()=default
 
 Event (const Event &other)
 
 Event (Event &&other) noexcept
 
Eventoperator= (const Event &other)
 
Eventoperator= (Event &&other) noexcept
 
 ~Event ()
 
 operator bool () const
 
const RcEventgetPtr () const
 

Static Public Member Functions

template<typename T , typename ... Args>
static Event create (Args &&...args)
 

Detailed Description

Definition at line 28 of file Event.hh.

Constructor & Destructor Documentation

◆ Event() [1/3]

openmsx::Event::Event ( )
default

Referenced by create().

◆ Event() [2/3]

openmsx::Event::Event ( const Event other)
inline

Definition at line 34 of file Event.hh.

◆ Event() [3/3]

openmsx::Event::Event ( Event &&  other)
inlinenoexcept

Definition at line 35 of file Event.hh.

◆ ~Event()

openmsx::Event::~Event ( )
inline

Definition at line 38 of file Event.hh.

Member Function Documentation

◆ create()

template<typename T , typename ... Args>
Event openmsx::Event::create ( Args &&...  args)
static

Definition at line 585 of file Event.hh.

References Event(), openmsx::eventPool, and openmsx::eventPoolMutex.

◆ getPtr()

const RcEvent* openmsx::Event::getPtr ( ) const
inline

Definition at line 41 of file Event.hh.

◆ operator bool()

openmsx::Event::operator bool ( ) const
inlineexplicit

Definition at line 40 of file Event.hh.

◆ operator=() [1/2]

Event & openmsx::Event::operator= ( const Event other)
inline

Definition at line 597 of file Event.hh.

◆ operator=() [2/2]

Event & openmsx::Event::operator= ( Event &&  other)
inlinenoexcept

Definition at line 607 of file Event.hh.


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