Lumiera 0.pre.04~rc.1
»edit your freedom«
Loading...
Searching...
No Matches
SessionServices< APIS, FRONT, SESS > Class Template Reference

#include "steam/mobject/session/session-services.hpp"

Description

template<typename APIS, class FRONT, class SESS>
class steam::mobject::session::SessionServices< APIS, FRONT, SESS >

Collection of configured implementation-level services to provide by the Session.

An instance of this template is created on top of SessionImpl, configured such as to inherit from all the concrete services to be exposed for use by Steam-Layer's internals.

Parameters
APISsequence of API types to implement
FRONTtype of the frontend used for access
SESSthe basic session implementation

Definition at line 111 of file session-services.hpp.

Static Public Attributes

static FRONT & current
 intended to be hard-wired to SessManagerImpl singleton
 

Public Member Functions

template<class API >
API & get ()
 access an service by explicit downcast.
 

Member Function Documentation

◆ get()

template<typename APIS , class FRONT , class SESS >
template<class API >
API & get ( )
inline

access an service by explicit downcast.

Warning
this function is dangerous; never store the returned reference, as the referred object might go away due to session close/reset/load

Definition at line 126 of file session-services.hpp.

Referenced by WrappedStandardExeBuilder::invokeOriginalBuilder().

+ Here is the caller graph for this function:

Member Data Documentation

◆ current

template<typename APIS , class FRONT , class SESS >
FRONT& current
static

intended to be hard-wired to SessManagerImpl singleton

Definition at line 118 of file session-services.hpp.

+ Inheritance diagram for SessionServices< APIS, FRONT, SESS >:
+ Collaboration diagram for SessionServices< APIS, FRONT, SESS >:

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