OSVR-Core
Classes | Namespaces | Typedefs | Functions
ClientContext.h File Reference

Header. More...

#include <osvr/Common/Export.h>
#include <osvr/Common/ClientContext_fwd.h>
#include <osvr/Common/ClientInterfacePtr.h>
#include <osvr/Common/PathTree_fwd.h>
#include <osvr/Common/Transform_fwd.h>
#include <osvr/Common/ClientInterfaceFactory.h>
#include <osvr/Util/KeyedOwnershipContainer.h>
#include <osvr/Util/UniquePtr.h>
#include <osvr/Util/SharedPtr.h>
#include <osvr/Util/LogLevel.h>
#include <osvr/Util/Logger.h>
#include <boost/noncopyable.hpp>
#include <boost/any.hpp>
#include <string>
#include <vector>
#include <map>

Go to the source code of this file.

Classes

struct  OSVR_ClientContextObject
 
class  osvr::common::detail::ClientContextDeleter
 Deleter for use with std::unique_ptr. More...
 

Namespaces

 osvr
 The main namespace for all C++ elements of the framework, internal and external.
 
 osvr::common
 Handles spatial transformations.
 

Typedefs

template<typename T = ClientContext>
using osvr::common::ClientContextUniquePtr = unique_ptr< T, ClientContextDeleter >
 Template alias for a ClientContext unique_ptr with the correct deleter class. More...
 
using osvr::common::ClientContextSharedPtr = shared_ptr< ClientContext >
 

Functions

OSVR_COMMON_EXPORT void osvr::common::deleteContext (ClientContext *ctx)
 Use the stored deleter to appropriately delete the client context. More...
 
template<typename T , typename... Args>
Tosvr::common::makeContext (Args... args)
 Create a subclass object of ClientContext, setting the deleter appropriately by passing it as the last parameter. More...
 
template<typename T >
ClientContextSharedPtr osvr::common::wrapSharedContext (T *context)
 Wrap a client context pointer in a shared pointer with the correct custom deleter. More...
 

Detailed Description

Header.

Date
2014
Author
Sensics, Inc. http://sensics.com/osvr