Protected Member Functions | Protected Attributes | Friends

InlineFunctor Class Reference

A base class to derive functors from for the InlineFunctorProcessor system. More...

#include <InlineFunctor.h>

Inherits RakNet::Functor.

Collaboration diagram for InlineFunctor:
Collaboration graph
[legend]

List of all members.

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.
InlineFunctorProcessorifp
 Pointer to the calling instance of InlineFunctorProcessor.

Friends

class InlineFunctorProcessor

Detailed Description

A base class to derive functors from for the InlineFunctorProcessor system.

Definition at line 7 of file InlineFunctor.h.


Member Function Documentation

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.

Parameters:
[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.

Here is the call graph for this function:


Friends And Related Function Documentation

friend class InlineFunctorProcessor [friend]

Definition at line 18 of file InlineFunctor.h.


Member Data Documentation

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.

Pointer to the calling instance of InlineFunctorProcessor.

Definition at line 17 of file InlineFunctor.h.


The documentation for this class was generated from the following files: