wex v24.10.0
Public Member Functions | List of all members
wex::queue_thread< T >::event_handler Class Referenceabstract

This event handler class must be subclassed and passed in to the queue thread constructor (in order to process events of type T). More...

#include <wex/core/queue-thread.h>

Public Member Functions

virtual ~event_handler ()=default
 Destructor.
 
virtual void process (std::unique_ptr< T > &event)=0
 This method must be overridden to take care that the event is processed.
 

Detailed Description

template<typename T>
class wex::queue_thread< T >::event_handler

This event handler class must be subclassed and passed in to the queue thread constructor (in order to process events of type T).