25 #ifndef INCLUDED_AsyncDeviceToken_h_GUID_654218B0_3900_4B89_E86F_D314EB6C0ABF 26 #define INCLUDED_AsyncDeviceToken_h_GUID_654218B0_3900_4B89_E86F_D314EB6C0ABF 34 #include <boost/thread.hpp> 41 namespace connection {
47 void signalShutdown();
48 void signalAndWaitForShutdown();
54 void m_setUpdateCallback(DeviceUpdateCallback
const &cb)
override;
60 util::GuardPtr m_getSendGuard()
override;
64 void m_connectionInteract()
override;
66 void m_stopThreads()
override;
68 void m_ensureThreadStarted();
69 DeviceUpdateCallback m_cb;
70 unique_ptr<boost::thread> m_callbackThread;
79 #endif // INCLUDED_AsyncDeviceToken_h_GUID_654218B0_3900_4B89_E86F_D314EB6C0ABF Definition: AsyncDeviceToken.h:42
A DeviceToken connects the generic device interaction code in PluginKit's C API with the workings of ...
Definition: DeviceToken.h:56
The main namespace for all C++ elements of the framework, internal and external.
Definition: namespace_osvr.dox:3
Header providing a templated functor wrapping the holding and calling of function pointer and userdat...
Base class for connection-specific message type registration.
Definition: MessageType.h:38
Internal class handling the synchronization of an asynchronous thread wishing to communicate that has...
Definition: AsyncAccessControl.h:45
Definition: RunLoopManagerBoost.h:44
Standardized, portable parallel to struct timeval for representing both absolute times and time inter...
Definition: TimeValueC.h:81