Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
Callback.h File Reference
#include "QueryResult.h"
#include "Threading/Future.h"
Include dependency graph for Callback.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  QueryCallback< Result, ParamType, chain >
class  QueryCallback_2< Result, ParamType1, ParamType2, chain >

Macros

#define CALLBACK_STAGE_INVALID   uint8(-1)

Typedefs

typedef Skyfire::Future< PreparedQueryResultPreparedQueryResultFuture
typedef Skyfire::Future< QueryResultQueryResultFuture

Macro Definition Documentation

◆ CALLBACK_STAGE_INVALID

#define CALLBACK_STAGE_INVALID   uint8(-1)

A simple template using Skyfire::Future to manage callbacks from the thread and object that issued the request. <ParamType> is variable type of parameter that is used as parameter for the callback function.

Definition at line 19 of file Callback.h.

Referenced by QueryCallback< Result, ParamType, chain >::QueryCallback(), and QueryCallback_2< Result, ParamType1, ParamType2, chain >::QueryCallback_2().

Typedef Documentation

◆ PreparedQueryResultFuture

◆ QueryResultFuture

Definition at line 12 of file Callback.h.