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

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

`#include <tnlMethodDispatch.h>`

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

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

## Public Types

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

## Public Member Functions

| FunctorDecl (FuncPtr p)
void | set ()
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

## Member Typedef Documentation

template<class T>

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

## Constructor & Destructor Documentation

template<class T>

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

## Member Function Documentation

template<class T>

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

template<class T>

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

Reads this Functor from a BitStream.

Implements TNL::Functor.

template<class T>

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

Writes this Functor to a BitStream.

Implements TNL::Functor.

template<class T>

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

Dispatch the function represented by the Functor.

Implements TNL::Functor.

## Field Documentation

template<class T>

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