OSVR-Core
|
Implementation. More...
#include <osvr/PluginKit/DeviceInterfaceC.h>
#include <osvr/PluginKit/PluginRegistration.h>
#include <osvr/PluginHost/RegistrationContext.h>
#include <osvr/Connection/DeviceToken.h>
#include <osvr/Connection/MessageType.h>
#include <osvr/Connection/Connection.h>
#include <osvr/Connection/DeviceInitObject.h>
#include <osvr/Util/Verbosity.h>
#include "HandleNullContext.h"
#include <boost/thread.hpp>
#include <string>
Functions | |
OSVR_DeviceInitOptions | osvrDeviceCreateInitOptions (OSVR_IN_PTR OSVR_PluginRegContext ctx) |
Create a OSVR_DeviceInitOptions object. More... | |
OSVR_ReturnCode | osvrDeviceSendData (OSVR_IN_PTR OSVR_DeviceToken dev, OSVR_IN_PTR OSVR_MessageType msg, OSVR_IN_READS(len) const char *bytestream, OSVR_IN size_t len) |
OSVR_ReturnCode | osvrDeviceSendTimestampedData (OSVR_IN_PTR OSVR_DeviceToken dev, OSVR_IN_PTR OSVR_TimeValue *timestamp, OSVR_IN_PTR OSVR_MessageType msg, OSVR_IN_READS(len) const char *bytestream, OSVR_IN size_t len) |
OSVR_ReturnCode | osvrDeviceSendJsonDescriptor (OSVR_IN_PTR OSVR_DeviceToken dev, const char *json, OSVR_IN size_t len) |
OSVR_ReturnCode | osvrDeviceRegisterMessageType (OSVR_IN_PTR OSVR_PluginRegContext ctx, OSVR_IN_STRZ const char *name, OSVR_OUT_PTR OSVR_MessageType *msgtype) |
OSVR_ReturnCode | osvrDeviceSyncInit (OSVR_IN_PTR OSVR_PluginRegContext ctx, OSVR_IN_STRZ const char *name, OSVR_OUT_PTR OSVR_DeviceToken *device) |
OSVR_ReturnCode | osvrDeviceSyncInitWithOptions (OSVR_IN_PTR OSVR_PluginRegContext, OSVR_IN_STRZ const char *name, OSVR_IN_PTR OSVR_DeviceInitOptions options, OSVR_OUT_PTR OSVR_DeviceToken *device) |
OSVR_ReturnCode | osvrDeviceRegisterUpdateCallback (OSVR_IN_PTR OSVR_DeviceToken dev, OSVR_IN OSVR_DeviceUpdateCallback updateCallback, OSVR_IN_OPT void *userData) |
OSVR_ReturnCode | osvrDeviceAsyncInit (OSVR_IN_PTR OSVR_PluginRegContext ctx, OSVR_IN_STRZ const char *name, OSVR_OUT_PTR OSVR_DeviceToken *device) |
OSVR_ReturnCode | osvrDeviceAsyncInitWithOptions (OSVR_IN_PTR OSVR_PluginRegContext, OSVR_IN_STRZ const char *name, OSVR_IN_PTR OSVR_DeviceInitOptions options, OSVR_OUT_PTR OSVR_DeviceToken *device) |
OSVR_ReturnCode | osvrDeviceMicrosleep (OSVR_IN uint64_t microseconds) |
Request a thread sleep for at least the given number of microseconds. More... | |
Implementation.