Main Page Modules Namespaces C++ Classes Compound List File List Index
TNL: TNL::FunctorDecl< void(T::*)(A)> Struct Template Reference

# TNL::FunctorDecl< void(T::*)(A)> Struct Template Reference

`#include <tnlMethodDispatch.h>`

Inheritance diagram for TNL::FunctorDecl< void(T::*)(A)>:

### template<class T, class A>
struct TNL::FunctorDecl< void(T::*)(A)>

## Public Types

typedef void(T::*) | FuncPtr (A)

## Public Member Functions

| FunctorDecl (FuncPtr p)
void | set (A &_a)
void | read (BitStream &stream)
| Reads this Functor from a BitStream.
void | write (BitStream &stream)
| Writes this Functor to a BitStream.
void | dispatch (void *t)
| Dispatch the function represented by the Functor.

## Data Fields

FuncPtr | ptr
A | a

## Member Typedef Documentation

template<class T, class A>

typedef void(T::*) TNL::FunctorDecl< void(T::*)(A)>::FuncPtr(A)

## Constructor & Destructor Documentation

template<class T, class A>

TNL::FunctorDecl< void(T::*)(A)>::FunctorDecl | ( | FuncPtr | p | ) | `[inline]`

## Member Function Documentation

template<class T, class A>

void TNL::FunctorDecl< void(T::*)(A)>::set | ( | A & | _a | ) | `[inline]`

template<class T, class A>

void TNL::FunctorDecl< void(T::*)(A)>::read | ( | BitStream & | stream | ) | `[inline, virtual]`

Reads this Functor from a BitStream.

Implements TNL::Functor.

template<class T, class A>

void TNL::FunctorDecl< void(T::*)(A)>::write | ( | BitStream & | stream | ) | `[inline, virtual]`

Writes this Functor to a BitStream.

Implements TNL::Functor.

template<class T, class A>

void TNL::FunctorDecl< void(T::*)(A)>::dispatch | ( | void * | t | ) | `[inline, virtual]`

Dispatch the function represented by the Functor.

Implements TNL::Functor.

## Field Documentation

template<class T, class A>

FuncPtr TNL::FunctorDecl< void(T::*)(A)>::ptr

template<class T, class A>

A TNL::FunctorDecl< void(T::*)(A)>::a