The Battle for Wesnoth  1.15.12+dev
Public Member Functions | Public Attributes | List of all members
gui2::event::dispatcher::signal_type< T > Struct Template Reference

Helper struct to generate the various signal types. More...

#include <dispatcher.hpp>

Public Member Functions

 signal_type ()
 
bool empty (const dispatcher::event_queue_type queue_type) const
 Checks whether the queue of a given type is empty. More...
 

Public Attributes

std::list< T > pre_child
 
std::list< T > child
 
std::list< T > post_child
 

Detailed Description

template<class T>
struct gui2::event::dispatcher::signal_type< T >

Helper struct to generate the various signal types.

Definition at line 850 of file dispatcher.hpp.

Constructor & Destructor Documentation

◆ signal_type()

template<class T>
gui2::event::dispatcher::signal_type< T >::signal_type ( )
inline

Definition at line 852 of file dispatcher.hpp.

Member Function Documentation

◆ empty()

template<class T>
bool gui2::event::dispatcher::signal_type< T >::empty ( const dispatcher::event_queue_type  queue_type) const
inline

Checks whether the queue of a given type is empty.

Parameters
queue_typeThe queue to check. This may be one or more types OR'd together (event_queue_type is bit-unique).
Returns
True if ALL the matching queues are empty, or false if any of the matching queues is NOT empty.

Definition at line 869 of file dispatcher.hpp.

Member Data Documentation

◆ child

template<class T>
std::list<T> gui2::event::dispatcher::signal_type< T >::child

◆ post_child

template<class T>
std::list<T> gui2::event::dispatcher::signal_type< T >::post_child

◆ pre_child

template<class T>
std::list<T> gui2::event::dispatcher::signal_type< T >::pre_child

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