RADLib
RADical C++ application framework
RADCore::EventBackend Class Reference

Low-level raw handler collection used internally by typed Event. More...

#include <RADCore.h>

Public Types

using RawTask = std::function< void()>
 Raw no-argument task type. More...
 

Public Member Functions

void addRawHandler (size_t id, RawTask task)
 Adds a raw handler by id. More...
 
void removeRawHandler (size_t id)
 Removes a raw handler by id. More...
 
void invokeAll ()
 Invokes all raw handlers. More...
 

Detailed Description

Low-level raw handler collection used internally by typed Event.

Member Typedef Documentation

◆ RawTask

using RADCore::EventBackend::RawTask = std::function<void()>

Raw no-argument task type.

Member Function Documentation

◆ addRawHandler()

void RADCore::EventBackend::addRawHandler ( size_t  id,
RawTask  task 
)

Adds a raw handler by id.

◆ invokeAll()

void RADCore::EventBackend::invokeAll ( )

Invokes all raw handlers.

◆ removeRawHandler()

void RADCore::EventBackend::removeRawHandler ( size_t  id)

Removes a raw handler by id.


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