Lumiera  0.pre.03
»edit your freedom«
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 120 of file session-services.hpp.

Public Member Functions

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

Static Public Attributes

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

Member Function Documentation

◆ get()

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 135 of file session-services.hpp.

Referenced by WrappedStandardExeBuilder::__call__().

+ Here is the caller graph for this function:
+ 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: