Reference Manual
Inti Logo
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members

Inti::FunctionSlot0< R > Class Template Reference

A slot template for static functions taking no arguments and returning a value of type R. More...

#include <inti/slot.h>

Inheritance diagram for Inti::FunctionSlot0< R >:

Inti::Slot0< R > Inti::Slot Inti::ReferencedObject Inti::ReferencedBase List of all members.

Public Member Functions


Detailed Description

template<typename R>
class Inti::FunctionSlot0< R >

A slot template for static functions taking no arguments and returning a value of type R.


Constructor & Destructor Documentation

template<typename R>
Inti::FunctionSlot0< R >::FunctionSlot0 PF  function  )  [inline]
 

Construct a new function slot for a static function.

Parameters:
function Static function with the signature R (*PF)().


Member Function Documentation

template<typename R>
virtual R Inti::FunctionSlot0< R >::call  )  const [inline, virtual]
 

Calls the function connected to this slot.

Returns:
A value of type R returned by the called function.

Implements Inti::Slot0< R >.


The documentation for this class was generated from the following file: Main Page - Footer


Generated on Sun Sep 14 20:08:06 2003 for Inti by doxygen 1.3.2 written by Dimitri van Heesch, © 1997-2002