frepple::utils::FunctorInstance< T, U > Class Template Reference
This class represents an object subscribing to a signal. More...
#include <utils.h>
Inheritance diagram for frepple::utils::FunctorInstance< T, U >:

Public Member Functions | |
FunctorInstance (U *u) | |
Static Public Member Functions | |
static void | connect (U *u, const Signal a) |
static void | disconnect (U *u, const Signal a) |
Detailed Description
template<class T, class U>
class frepple::utils::FunctorInstance< T, U >
This class represents an object subscribing to a signal.
When the signal callback is triggered the method callback() on the instance object will be called.
Constructor & Destructor Documentation
template<class T, class U>
frepple::utils::FunctorInstance< T, U >::FunctorInstance | ( | U * | u | ) | [inline] |
Member Function Documentation
template<class T, class U>
static void frepple::utils::FunctorInstance< T, U >::connect | ( | U * | u, |
const Signal | a | ||
) | [inline, static] |
template<class T, class U>
static void frepple::utils::FunctorInstance< T, U >::disconnect | ( | U * | u, |
const Signal | a | ||
) | [inline, static] |
The documentation for this class was generated from the following file:
Documentation generated for frePPLe by
