![]() |
Lumiera 0.pre.04
»edit your freedom«
|
#include "steam/mobject/session/session-service-fetch.hpp"
Implementation-level service for resolving an Placement-ID.
Usually, this service is backed by the PlacementIndex of the current session – however, for the purpose of unit testing, this index may be overlaid temporarily, by using the SessionServiceMockIndex API.
Definition at line 53 of file session-service-fetch.hpp.
Static Public Member Functions | |
| static PlacementMO & | resolveID (PlacementMO::ID const &) |
| actually retrieve a Placement tracked by the index. | |
| static bool | isRegisteredID (PlacementMO::ID const &) |
| verify the given placement-ID (hash) is valid, by checking if it refers to a Placement instance currently registered with the PlacementIndex of the active Session. | |
| static bool | isAccessible () |
| is the element-fetch service usable? Effectively this means: is the session up? | |
|
static |
actually retrieve a Placement tracked by the index.
| placementID | hash-ID, typically from a PlacementRef |
| error::Invalid | if the ID isn't resolvable |
Definition at line 86 of file session-services.cpp.
Referenced by PlacementRef< MX >::access().
Here is the caller graph for this function:
|
static |
verify the given placement-ID (hash) is valid, by checking if it refers to a Placement instance currently registered with the PlacementIndex of the active Session.
Definition at line 69 of file session-services.cpp.
Referenced by PlacementRef< MX >::checkValidity().
Here is the caller graph for this function:
|
static |
is the element-fetch service usable? Effectively this means: is the session up?
Definition at line 58 of file session-services.cpp.
References Session::current, Session::initFlag, and SessManager::isUp().
Referenced by PlacementRef< MX >::checkValidity().
Here is the call graph for this function:
Here is the caller graph for this function:
Collaboration diagram for SessionServiceFetch: