Lumiera
0.pre.03
»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 62 of file session-service-fetch.hpp.
Static Public Member Functions | |
static bool | isAccessible () |
is the element-fetch service usable? Effectively this means: is the session up? | |
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. More... | |
static PlacementMO & | resolveID (PlacementMO::ID const &) |
actually retrieve a Placement tracked by the index. More... | |
|
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 95 of file session-services.cpp.
|
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 78 of file session-services.cpp.
Referenced by PlacementRef< MObject >::operator->().