MCPcopy Create free account
hub / github.com/OSVR/OSVR-Core / ClientMainloopThread

Method ClientMainloopThread

apps/ClientMainloopThread.h:45–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43 typedef ClientMainloop::mutex_type mutex_type;
44 typedef ClientMainloop::lock_type lock_type;
45 ClientMainloopThread(osvr::clientkit::ClientContext &ctx,
46 bool startNow = false)
47 : m_run(false), m_started(false), m_mainloop(ctx) {
48 if (startNow) {
49 start();
50 }
51 }
52 void start() {
53 if (m_run || m_started) {
54 throw std::logic_error(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected