Sierra Toolkit Version of the Day
sierra::Callback< T > Class Template Reference

Class Callback ... More...

#include <Callback.hpp>

List of all members.

Public Types

typedef void(T::* F )()
 Member function signature.

Public Member Functions

 Callback (T &t, F f)
virtual ~Callback ()
virtual void operator() () const
 Member function operator() calls the member function on the object.

Detailed Description

template<typename T>
class sierra::Callback< T >

Class Callback ...

Definition at line 56 of file Callback.hpp.

Constructor & Destructor Documentation

template<typename T>
sierra::Callback< T >::Callback ( T &  t,
F  f 
) [inline]

Creates a new Callback instance.

ta T reference to the object.
fa F pointer to member function to call.

Definition at line 69 of file Callback.hpp.

template<typename T>
virtual sierra::Callback< T >::~Callback ( ) [inline, virtual]

Destroys a Callback instance.

Definition at line 78 of file Callback.hpp.

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines