OSVR-Core
Macros | Functions
Skeleton.c File Reference

Implementation. More...

#include <osvr/ClientKit/ContextC.h>
#include <osvr/ClientKit/InterfaceC.h>
#include <osvr/ClientKit/InterfaceCallbackC.h>
#include <osvr/ClientKit/InterfaceStateC.h>
#include <osvr/ClientKit/SkeletonC.h>
#include <stdio.h>

Macros

#define NAME_BUFFER_SIZE   10000
 
#define MAX_CALLBACKS_TO_REPORT   10
 
#define CHECK_RC(rc)
 

Functions

void mySkeletonCallback (void *userdata, const OSVR_TimeValue *timestamp, const OSVR_SkeletonReport *report)
 
int main ()
 

Detailed Description

Implementation.

Date
2015
Author
Sensics, Inc. http://sensics.com/osvr

Macro Definition Documentation

§ CHECK_RC

#define CHECK_RC (   rc)
Value:
if (rc == OSVR_RETURN_FAILURE) { \
printf("OSVR call failed"); \
if (ctx) { \
osvrClientShutdown(ctx); \
} \
return -1; \
}
#define OSVR_RETURN_FAILURE
The "failure" value for an OSVR_ReturnCode.
Definition: ReturnCodesC.h:47