A base class to derive functors from for the InlineFunctorProcessor system. More...
#include <InlineFunctor.h>
Inherits RakNet::Functor.
Protected Member Functions | |
virtual void | HandleResult (bool wasCancelled, void *context) |
Called from FunctionThread::CallResultHandlers with wasCancelled false OR Called from FunctionThread::StopThread or FunctionThread::~FunctionThread with wasCancelled true. | |
Protected Attributes | |
int | callDepth |
Tracks the call depth when this functor was pushed. It allows the system to return from functions in the correct order. | |
InlineFunctorProcessor * | ifp |
Pointer to the calling instance of InlineFunctorProcessor. | |
Friends | |
class | InlineFunctorProcessor |
A base class to derive functors from for the InlineFunctorProcessor system.
Definition at line 7 of file InlineFunctor.h.
void InlineFunctor::HandleResult | ( | bool | wasCancelled, | |
void * | context | |||
) | [protected, virtual] |
Called from FunctionThread::CallResultHandlers with wasCancelled false OR Called from FunctionThread::StopThread or FunctionThread::~FunctionThread with wasCancelled true.
[in] | wasCancelledTrue | if CallResultHandlers was called, false if StopThreads or CancelInputWithContext was called before Functor::Process() |
[in] | context | pointer passed to FunctionThread::Push::context |
Implements RakNet::Functor.
Definition at line 3 of file InlineFunctor.cpp.
friend class InlineFunctorProcessor [friend] |
Definition at line 18 of file InlineFunctor.h.
int InlineFunctor::callDepth [protected] |
Tracks the call depth when this functor was pushed. It allows the system to return from functions in the correct order.
Definition at line 14 of file InlineFunctor.h.
InlineFunctorProcessor* InlineFunctor::ifp [protected] |
Pointer to the calling instance of InlineFunctorProcessor.
Definition at line 17 of file InlineFunctor.h.