neoGFX
Cross-platform C++ app/game engine
neolib::event_handle Class Reference

#include <event.hpp>

Classes

struct  no_control
 

Public Member Functions

 event_handle (i_event_control &aControl, cookie aId)
 
 event_handle (const event_handle &aOther)
 
 event_handle (event_handle &&aOther)
 
 ~event_handle ()
 
event_handleoperator= (const event_handle &aRhs)
 
event_handleoperator= (event_handle &&aRhs)
 
bool have_control () const
 
i_event_controlcontrol () const
 
cookie id () const
 
bool primary () const
 
event_handleoperator~ ()
 
event_handleoperator! ()
 

Detailed Description

Definition at line 56 of file event.hpp.

Constructor & Destructor Documentation

◆ event_handle() [1/3]

neolib::event_handle::event_handle ( i_event_control aControl,
cookie  aId 
)
inline

Definition at line 61 of file event.hpp.

◆ event_handle() [2/3]

neolib::event_handle::event_handle ( const event_handle aOther)
inline

Definition at line 67 of file event.hpp.

◆ event_handle() [3/3]

neolib::event_handle::event_handle ( event_handle &&  aOther)
inline

Definition at line 73 of file event.hpp.

◆ ~event_handle()

neolib::event_handle::~event_handle ( )
inline

Definition at line 79 of file event.hpp.

Member Function Documentation

◆ control()

i_event_control& neolib::event_handle::control ( ) const
inline

Definition at line 119 of file event.hpp.

◆ have_control()

bool neolib::event_handle::have_control ( ) const
inline

Definition at line 115 of file event.hpp.

◆ id()

cookie neolib::event_handle::id ( ) const
inline

Definition at line 125 of file event.hpp.

◆ operator!()

event_handle& neolib::event_handle::operator! ( )
inline

Definition at line 139 of file event.hpp.

◆ operator=() [1/2]

event_handle& neolib::event_handle::operator= ( const event_handle aRhs)
inline

Definition at line 89 of file event.hpp.

◆ operator=() [2/2]

event_handle& neolib::event_handle::operator= ( event_handle &&  aRhs)
inline

Definition at line 102 of file event.hpp.

◆ operator~()

event_handle& neolib::event_handle::operator~ ( )
inline

Definition at line 133 of file event.hpp.

◆ primary()

bool neolib::event_handle::primary ( ) const
inline

Definition at line 129 of file event.hpp.


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