class event


class event

Description

This is the base class of all GUI event classes.

Public Member Functions

explicit
event (
    event_type initial_event_type
)
noexcept

Constructs an event with the given event type.

Parameters:
  • initial_event_type:

    The type of this event.

event (
    const event& other
)

Copy-constructs an event from an existing one.

Parameters:
  • other:

    The event to copy from.

event&
operator = (
    const event& other
)

Copy-assigns an event into this one.

Parameters:
  • other:

    The event to copy from.

event (
    event&& other
)
noexcept

Move-constructs an event from an existing one.

Parameters:
  • other:

    The event to move from.

event&
operator = (
    event&& other
)
noexcept

Move-assigns an event into this one.

Parameters:
  • other:

    The event to move from.

event_type
get_event_type ()
const noexcept

Returns the event type of this event.



Copyright © 2022-2025 Daniel T. McGinnis

CCL was first published in 2022, and is still actively maintained.

This website was first published in 2022, and is still actively maintained.

This specific web page was first published in 2023.