25 #ifndef INCLUDED_GenericConnectionDevice_h_GUID_411E730D_4ACA_4385_77C9_05A84863E786 26 #define INCLUDED_GenericConnectionDevice_h_GUID_411E730D_4ACA_4385_77C9_05A84863E786 34 #include <boost/assert.hpp> 40 namespace connection {
45 std::function<OSVR_ReturnCode()> update)
49 std::function<OSVR_ReturnCode()> update)
55 const char *,
size_t) {
56 BOOST_ASSERT_MSG(
false,
"Never called!");
60 std::function<OSVR_ReturnCode()> m_update;
65 #endif // INCLUDED_GenericConnectionDevice_h_GUID_411E730D_4ACA_4385_77C9_05A84863E786 Header declaring a type and values for simple C return codes.
virtual void m_process()
(Subclass implementation) Process messages.
Definition: GenericConnectionDevice.h:53
The main namespace for all C++ elements of the framework, internal and external.
Definition: namespace_osvr.dox:3
OSVR_CONNECTION_EXPORT ConnectionDevice(std::string const &name)
Constructor for use by derived classes only.
Definition: ConnectionDevice.cpp:48
virtual void m_sendData(util::time::TimeValue const &, MessageType *, const char *, size_t)
(Subclass implementation) Send message.
Definition: GenericConnectionDevice.h:54
Base class for connection-specific message type registration.
Definition: MessageType.h:38
Base class for connection-specific device data, owned by a DeviceToken.
Definition: ConnectionDevice.h:46
Standardized, portable parallel to struct timeval for representing both absolute times and time inter...
Definition: TimeValueC.h:81
ConnectionDevice implementation for advanced devices.
Definition: GenericConnectionDevice.h:42