Collage  0.6.1
Public Member Functions | Public Attributes
co::CommandFunc< T > Class Template Reference

A wrapper to register a function callback on an object instance. More...

#include <commandFunc.h>

+ Collaboration diagram for co::CommandFunc< T >:

List of all members.

Public Member Functions

 CommandFunc (T *object, bool(T::*func)(Command &))
template<typename O >
 CommandFunc (const CommandFunc< O > &from)
bool operator() (Command &command)
void clear ()
bool isValid () const

Public Attributes

T * _object
bool(T::* _func )(Command &)

Detailed Description

template<typename T>
class co::CommandFunc< T >

A wrapper to register a function callback on an object instance.

This wrapper is used by the Dispatcher to register and save callback methods of derived classes.

Definition at line 36 of file commandFunc.h.


The documentation for this class was generated from the following file:
Generated on Mon Nov 26 2012 14:41:44 for Collage 0.6.1 by  doxygen 1.7.6.1