Gamp v0.0.7-36-g24b1eb6
Gamp: Graphics, Audio, Multimedia and Processing
Loading...
Searching...
No Matches
gamp::wt::event::WTEvent Class Reference

#include <Event.hpp>

Inheritance diagram for gamp::wt::event::WTEvent:
Collaboration diagram for gamp::wt::event::WTEvent:

Public Member Functions

 WTEvent (uint16_t type, const jau::fraction_timespec &when, const WindowRef &source) noexcept
 
constexpr bool consumed () const noexcept
 Consumed events will stop traversing through listener.
 
constexpr void setConsumed (bool v) noexcept
 Consumed events will stop traversing through listener.
 
constexpr const WindowWeakPtrsource () const noexcept
 
std::string toString () const noexcept
 
constexpr uint16_t type () const noexcept
 
constexpr const jau::fraction_timespecwhen () const noexcept
 

Detailed Description

Definition at line 72 of file Event.hpp.

Constructor & Destructor Documentation

◆ WTEvent()

gamp::wt::event::WTEvent::WTEvent ( uint16_t type,
const jau::fraction_timespec & when,
const WindowRef & source )
inlinenoexcept

Definition at line 80 of file Event.hpp.

Member Function Documentation

◆ type()

uint16_t gamp::wt::event::WTEvent::type ( ) const
inlineconstexprnoexcept

Definition at line 83 of file Event.hpp.

Here is the caller graph for this function:

◆ when()

const jau::fraction_timespec & gamp::wt::event::WTEvent::when ( ) const
inlineconstexprnoexcept
Examples
GearsES2.cpp, GraphShapes01.cpp, Primitives02.cpp, and RedSquareES2.cpp.

Definition at line 84 of file Event.hpp.

Here is the caller graph for this function:

◆ source()

const WindowWeakPtr & gamp::wt::event::WTEvent::source ( ) const
inlineconstexprnoexcept
Examples
GearsES2.cpp, GraphShapes01.cpp, Primitives02.cpp, and RedSquareES2.cpp.

Definition at line 85 of file Event.hpp.

Here is the caller graph for this function:

◆ consumed()

bool gamp::wt::event::WTEvent::consumed ( ) const
inlineconstexprnoexcept

Consumed events will stop traversing through listener.

Definition at line 88 of file Event.hpp.

Here is the caller graph for this function:

◆ setConsumed()

void gamp::wt::event::WTEvent::setConsumed ( bool v)
inlineconstexprnoexcept

Consumed events will stop traversing through listener.

Definition at line 90 of file Event.hpp.

◆ toString()

std::string gamp::wt::event::WTEvent::toString ( ) const
inlinenoexcept

Definition at line 91 of file Event.hpp.

Here is the caller graph for this function:

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