OSVR-Core
Public Types | Public Member Functions | List of all members
ClientMainloop Class Reference

Simple class to handle running a client mainloop in another thread, but easily pausable. More...

#include <ClientMainloop.h>

Inheritance diagram for ClientMainloop:

Public Types

typedef boost::recursive_mutex mutex_type
 
typedef boost::unique_lock< mutex_type > lock_type
 
typedef boost::recursive_mutex mutex_type
 
typedef boost::unique_lock< mutex_type > lock_type
 

Public Member Functions

 ClientMainloop (osvr::clientkit::ClientContext &ctx)
 
void mainloop ()
 
mutex_type & getMutex ()
 
 ClientMainloop (osvr::clientkit::ClientContext &ctx)
 
void mainloop ()
 
mutex_type & getMutex ()
 

Detailed Description

Simple class to handle running a client mainloop in another thread, but easily pausable.


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