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

Helper struct to generate the various event queues. More...

#include <dispatcher.hpp>

Public Member Functions

 signal_queue ()
 
void connect_signal (const ui_event event, const queue_position position, const T &signal)
 
void disconnect_signal (const ui_event event, const queue_position position, const T &signal)
 

Public Attributes

std::map< ui_event, signal_type< T > > queue
 

Detailed Description

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

Helper struct to generate the various event queues.

Definition at line 769 of file dispatcher.hpp.

Constructor & Destructor Documentation

◆ signal_queue()

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

Definition at line 771 of file dispatcher.hpp.

Member Function Documentation

◆ connect_signal()

template<class T>
void gui2::event::dispatcher::signal_queue< T >::connect_signal ( const ui_event  event,
const queue_position  position,
const T &  signal 
)
inline

Definition at line 777 of file dispatcher.hpp.

Referenced by gui2::event::dispatcher::connect_signal().

◆ disconnect_signal()

template<class T>
void gui2::event::dispatcher::signal_queue< T >::disconnect_signal ( const ui_event  event,
const queue_position  position,
const T &  signal 
)
inline

Definition at line 805 of file dispatcher.hpp.

Referenced by gui2::event::dispatcher::disconnect_signal().

Member Data Documentation

◆ queue

template<class T>
std::map<ui_event, signal_type<T> > gui2::event::dispatcher::signal_queue< T >::queue

Definition at line 775 of file dispatcher.hpp.


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