OSVR Framework (Internal Development Docs)  0.6-1962-g59773924
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
osvr::client::InternalInterfaceOwner Class Reference

Class that should be used for all internally-used client interface objects as it handles ownership with respect to the client context properly. More...

#include <osvr/Client/InternalInterfaceOwner.h>

Public Types

typedef
osvr::common::ClientInterface 
contained_type
 
typedef contained_typereference
 
typedef contained_typepointer
 

Public Member Functions

 InternalInterfaceOwner ()
 Empty constructor.
 
 InternalInterfaceOwner (common::ClientContext *ctx, OSVR_ClientInterface iface)
 Constructor.
 
 InternalInterfaceOwner (common::ClientContext *ctx, common::ClientInterfacePtr const &iface)
 Constructor that keeps an additional reference to the interface.
 
 InternalInterfaceOwner (common::ClientContext *ctx, const char path[])
 Constructor from a context and path.
 
 InternalInterfaceOwner (InternalInterfaceOwner const &)=delete
 non-copyable
 
InternalInterfaceOwneroperator= (InternalInterfaceOwner const &)=delete
 non-assignable
 
 InternalInterfaceOwner (InternalInterfaceOwner &&other)
 move constructible
 
InternalInterfaceOwneroperator= (InternalInterfaceOwner &&other)
 move-assignable
 
 operator bool () const
 Check to see if valid.
 
 ~InternalInterfaceOwner ()
 Destructor - frees interface.
 
Act like a pointer
reference operator* () const
 
pointer operator-> () const
 

Detailed Description

Class that should be used for all internally-used client interface objects as it handles ownership with respect to the client context properly.

Definition at line 45 of file InternalInterfaceOwner.h.


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