Darc Library
2012.11
|
#include <dc_function.h>
Public Types | |
typedef void(* | PFNTARGET )(void *) |
Public Member Functions | |
DC_StaticFunction (PFNTARGET _pfnTarget) | |
virtual | ~DC_StaticFunction () |
virtual bool | IsEqual (const IFunction *_rhs) const |
Determines if two functions are equal, i.e., have the same target. | |
virtual void | Call (void *_pParam) |
Template interface for function pointers (static class member or global function).
typedef void(* darc::DC_StaticFunction::PFNTARGET)(void *) |
darc::DC_StaticFunction::DC_StaticFunction | ( | PFNTARGET | _pfnTarget | ) | [inline] |
virtual darc::DC_StaticFunction::~DC_StaticFunction | ( | ) | [inline, virtual] |
virtual void darc::DC_StaticFunction::Call | ( | void * | _pParam | ) | [inline, virtual] |
Implements darc::IFunction.
virtual bool darc::DC_StaticFunction::IsEqual | ( | const IFunction * | _rhs | ) | const [inline, virtual] |
Determines if two functions are equal, i.e., have the same target.
Implements darc::IFunction.