CEGUI::FunctorReferenceBinder< T > Struct Template Reference
Class that enables the creation of a reference binding for a functor object to be used as a callback slot. Wrap your functor with this to enable the use of an object reference when subscribing to an event signal (as opposed to the functor object being copied, or using a pointer).
More...
List of all members.
|
Public Member Functions |
| FunctorReferenceBinder (T &functor) |
Public Attributes |
T & | d_functor |
Detailed Description
template<typename T>
struct CEGUI::FunctorReferenceBinder< T >
Class that enables the creation of a reference binding for a functor object to be used as a callback slot. Wrap your functor with this to enable the use of an object reference when subscribing to an event signal (as opposed to the functor object being copied, or using a pointer).