ROSE 0.11.145.263
|
struct DispatchHandler
Base class for any handlers passed to dispatch
This templated class should be used as a BaseClass for Handlers passed to dispatch. "handle" functions will have to be implemented for each possible type to be handled. _ReturnType
holds any data that should be returned from the handlers.
Definition at line 185 of file sageGeneric.h.
#include <sageInterface/sageGeneric.h>
Public Types | |
using | ReturnType = _ReturnType |
using | Base = DispatchHandler< ReturnType > |
Public Member Functions | |
DispatchHandler (ReturnType defaultval) | |
operator ReturnType () && | |
Protected Attributes | |
ReturnType | res |
using sg::DispatchHandler< _ReturnType >::ReturnType = _ReturnType |
Definition at line 187 of file sageGeneric.h.
using sg::DispatchHandler< _ReturnType >::Base = DispatchHandler<ReturnType> |
Definition at line 188 of file sageGeneric.h.
|
inline |
Definition at line 190 of file sageGeneric.h.
|
inlineexplicit |
Definition at line 201 of file sageGeneric.h.
|
inline |
Definition at line 205 of file sageGeneric.h.
|
protected |
Definition at line 207 of file sageGeneric.h.