Skip to content

sg::DispatchHandler

Base class for any handlers passed to dispatch

Synopsis

Declared in <SageIII/sageInterface/sageGeneric.h>

template<class _ReturnType>
struct DispatchHandler;

Types

Member Functions

Name

Description

DispatchHandler [constructor]

Constructors

operator ReturnType

Conversion to ReturnType

Protected Data Members

Name

res

Description

struct DispatchHandler

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.

Template Parameters

Name

Description

_ReturnType

Return type for the handlers.

Created with MrDocs