OpenAssetIO
An abstract API for generalising interactions between a host application and an asset management system
|
The HostSession is a manager-facing class that represents a discrete API session started by a host in order to communicate with a manager. More...
#include <HostSession.hpp>
Public Types | |
using | Ptr = HostSessionPtr |
using | ConstPtr = HostSessionConstPtr |
Public Member Functions | |
const HostPtr & | host () const |
const log::LoggerInterfacePtr & | logger () const |
Static Public Member Functions | |
static HostSessionPtr | make (HostPtr host, log::LoggerInterfacePtr logger) |
Constructs a new HostSession holding the supplied host. More... | |
The HostSession is a manager-facing class that represents a discrete API session started by a host in order to communicate with a manager.
Any generalised API interactions a Manager may wish to make with a Host should be performed through the HostSession instance supplied with any ManagerInterface entrypoint. These objects should not be directly constructed, cached or otherwise persisted by a Manager.
The HostSession provides access to:
using ConstPtr = HostSessionConstPtr |
using Ptr = HostSessionPtr |
const HostPtr& host | ( | ) | const |
const log::LoggerInterfacePtr& logger | ( | ) | const |
|
static |
Constructs a new HostSession holding the supplied host.
Copyright 2013-2023 The Foundry Visionmongers Ltd. OpenAssetIO is released under the Apache 2.0 License