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

Class Callback ... More...

#include <Callback.hpp>

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 24 of file Callback.hpp.

Constructor & Destructor Documentation

◆ Callback()

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

Creates a new Callback instance.

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

Definition at line 69 of file Callback.hpp.

◆ ~Callback()

template<typename T>
virtual sierra::Callback< T >::~Callback ( )
inlinevirtual

Destroys a Callback instance.

Definition at line 78 of file Callback.hpp.


The documentation for this class was generated from the following file: