OSVR-Core
Public Member Functions | List of all members
osvr::client::ClientInterfaceObjectManager Class Reference

Class hiding the details of the interaction of the path tree and interface objects/osvr::client::InterfaceTree. More...

#include <ClientInterfaceObjectManager.h>

Public Member Functions

OSVR_CLIENT_EXPORT ClientInterfaceObjectManager (common::PathTreeOwner &tree, RemoteHandlerFactory &handlerFactory, common::ClientContext &ctx)
 
ClientInterfaceObjectManageroperator= (ClientInterfaceObjectManager const &)=delete
 
OSVR_CLIENT_EXPORT void addInterface (common::ClientInterfacePtr const &iface, bool verboseFailure=true)
 
OSVR_CLIENT_EXPORT void releaseInterface (common::ClientInterfacePtr const &iface)
 
OSVR_CLIENT_EXPORT void updateHandlers ()
 run update on all remote handlers
 

Detailed Description

Class hiding the details of the interaction of the path tree and interface objects/osvr::client::InterfaceTree.

Designed to pull out a chunk of functionality from individual ClientContext implementations for sharing.

I tend to hate classes named "...Manager", but it seemed like the most suitable name at the time. Refactor to rename is welcome.

Member Function Documentation

§ addInterface()

void osvr::client::ClientInterfaceObjectManager::addInterface ( common::ClientInterfacePtr const &  iface,
bool  verboseFailure = true 
)
Parameters
verboseFailureWhether we should allow verbose printing of messages in case this interface doesn't immediately resolve to a source. For instance, you'd want this to be "false" when setting up an analysis plugin context ahead of its autodetected sources.

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