OSVR-Core
Macros
InterfaceStateC.cpp File Reference

Implementation. More...

#include <osvr/ClientKit/InterfaceStateC.h>
#include <osvr/Common/ClientInterface.h>

Macros

#define OSVR_CALLBACK_METHODS(TYPE)
 

Detailed Description

Implementation.

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

Macro Definition Documentation

§ OSVR_CALLBACK_METHODS

#define OSVR_CALLBACK_METHODS (   TYPE)
Value:
OSVR_ReturnCode osvrGet##TYPE##State(OSVR_ClientInterface iface, \
struct OSVR_TimeValue *timestamp, \
OSVR_##TYPE##State *state) { \
bool hasState = \
iface->getState<OSVR_##TYPE##Report>(*timestamp, *state); \
}
#define OSVR_RETURN_FAILURE
The "failure" value for an OSVR_ReturnCode.
Definition: ReturnCodesC.h:47
#define OSVR_RETURN_SUCCESS
The "success" value for an OSVR_ReturnCode.
Definition: ReturnCodesC.h:45
Standardized, portable parallel to struct timeval for representing both absolute times and time inter...
Definition: TimeValueC.h:81
Definition: ClientInterface.h:49