bool getStatus() const
Returns true if we are started up and fully connected (path tree received, etc.)
Header for basic internal log reference. To actually log to the produced loggers, include
OSVR_ReturnCode osvrClientCheckStatus(OSVR_ClientContext ctx)
Checks to see if the client context is fully started up and connected properly to a server...
OSVR_ReturnCode osvrClientShutdown(OSVR_ClientContext ctx)
Shutdown the library.
#define OSVR_RETURN_FAILURE
The "failure" value for an OSVR_ReturnCode.
#define OSVR_RETURN_SUCCESS
The "success" value for an OSVR_ReturnCode.
OSVR_ReturnCode osvrClientUpdate(OSVR_ClientContext ctx)
Updates the state of the context - call regularly in your mainloop.
OSVR_LogLevel
Log message severity levels.
void osvrClientLog(OSVR_ClientContext ctx, OSVR_LogLevel severity, const char *message)
Log a message from the client.
void log(osvr::util::log::LogLevel severity, const char *message)
Logs a message from the client.
boost::optional< std::string > getEnvironmentVariable(std::string const &var)
Gets an environment variable's value. On systems that don't distinguish between having a variable def...
Internal, configured header file for verbosity macros.
void deleteContext(ClientContext *ctx)
Use the stored deleter to appropriately delete the client context.
void update()
System-wide update method.