scim::FunctionSlot0< R > Class Template Reference
[SignalSlotSignalSlot]

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

#include <scim_slot.h>

Inherits scim::Slot0< R >< R >.

List of all members.

Public Member Functions

 FunctionSlot0 (PF function)
virtual R call () const


Detailed Description

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

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


Constructor & Destructor Documentation

template<typename R>
scim::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 scim::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 scim::Slot0< R >.


The documentation for this class was generated from the following file:
Generated on Sat Jun 21 21:12:58 2008 for scim by  doxygen 1.4.7