Header.
More...
Go to the source code of this file.
|
| osvr |
| The main namespace for all C++ elements of the framework, internal and external.
|
|
| osvr::common |
| Handles spatial transformations.
|
|
|
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 > |
|
|
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> |
T * | osvr::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...
|
|
Header.
- Date
- 2014
- Author
- Sensics, Inc. http://sensics.com/osvr