OSVR Framework (Internal Development Docs)  0.6-1962-g59773924
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
AnalysisPluginKitC.cpp File Reference

Implementation. More...

Go to the source code of this file.

Macros

#define OSVR_VALIDATE_OUTPUT_PTR(X, DESC)
 

Functions

OSVR_ReturnCode osvrAnalysisSyncInit (OSVR_PluginRegContext ctx, const char *name, OSVR_DeviceInitOptions options, OSVR_DeviceToken *device, OSVR_ClientContext *clientCtx)
 Initialize a synchronous analysis device token with the options specified, also returning the associated client context. More...
 

Detailed Description

Implementation.

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

Definition in file AnalysisPluginKitC.cpp.

Macro Definition Documentation

#define OSVR_VALIDATE_OUTPUT_PTR (   X,
  DESC 
)
Value:
OSVR_UTIL_MULTILINE_BEGIN \
if (nullptr == (X)) { \
OSVR_DEV_VERBOSE("Passed a null pointer for output parameter " #X \
", " DESC "!"); \
} \
#define OSVR_RETURN_FAILURE
The "failure" value for an OSVR_ReturnCode.
Definition: ReturnCodesC.h:47
#define OSVR_UTIL_MULTILINE_END
Macro for the end of a multi-line macro expansion.
Definition: MacroToolsC.h:59
Todo:
move this into a shared header between here and ClientKit/DisplayC.cpp

Definition at line 43 of file AnalysisPluginKitC.cpp.