Library: Foundation
Package: Events
Header: Poco/FunctionDelegate.h
Wraps a C style function (or a C++ static fucntion) to be used as a delegate
Direct Base Classes: AbstractDelegate < TArgs >
All Base Classes: AbstractDelegate < TArgs >
Member Functions: clone, notify, operator =
typedef void (* NotifyMethod)(const void *, TArgs &);
FunctionDelegate(
NotifyMethod method
);
FunctionDelegate(
const FunctionDelegate & delegate
);
~FunctionDelegate();
AbstractDelegate < TArgs > * clone() const;
bool notify(
const void * sender,
TArgs & arguments
);
FunctionDelegate & operator = (
const FunctionDelegate & delegate
);
NotifyMethod _receiverMethod;