CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
CeresEngine::ExecutionContext::Service< T > Class Template Reference

More...

#include <CeresEngine/Foundation/Threading/ExecutionContext.hpp>

Inheritance diagram for CeresEngine::ExecutionContext::Service< T >:

Public Member Functions

ExecutionContextgetExecutionContext () noexcept
 Returns the execution context to which the service is attached to.
 
AnyExecutor getExecutor () noexcept
 Returns an executor that run execute scheduled commands on the context.
 

Static Public Attributes

static const ID id
 

Detailed Description

template<typename T>
class CeresEngine::ExecutionContext::Service< T >

Member Function Documentation

◆ getExecutionContext()

template<typename T >
ExecutionContext & CeresEngine::ExecutionContext::Service< T >::getExecutionContext ( )
noexcept

Returns the execution context to which the service is attached to.

◆ getExecutor()

template<typename T >
TAnyExecutor CeresEngine::ExecutionContext::Service< T >::getExecutor ( )
noexcept

Returns an executor that run execute scheduled commands on the context.

Member Data Documentation

◆ id

template<typename T >
const ID CeresEngine::ExecutionContext::Service< T >::id
inlinestatic

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