Inviwo  0.9.10.1
Inviwo documentation
inviwo::Dispatcher< C > Class Template Referencefinal

#include <dispatcher.h>

+ Inheritance diagram for inviwo::Dispatcher< C >:

Public Types

using Function = C
 
using Callback = std::function< C >
 
using Handle = std::shared_ptr< std::function< C > >
 

Public Member Functions

template<typename T >
std::shared_ptr< std::function< C > > add (T &&callback)
 
template<typename... A>
void invoke (A &&... args)
 

Detailed Description

template<typename C>
class inviwo::Dispatcher< C >

Dispatches function on a number of callbacks and cleans up callbacks when they are dead.


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