OSVR-Core
Functions
com_osvr_example_Configured.cpp File Reference

Sample plugin that accepts configuration of its device from the server. More...

#include <osvr/PluginKit/PluginKit.h>
#include <osvr/PluginKit/AnalogInterfaceC.h>
#include <osvr/PluginKit/ButtonInterfaceC.h>
#include <osvr/PluginKit/TrackerInterfaceC.h>
#include "com_osvr_example_Configured_json.h"
#include <json/value.h>
#include <json/reader.h>
#include <iostream>
#include <chrono>
#include <thread>

Functions

 OSVR_PLUGIN (com_osvr_example_Configured)
 

Detailed Description

Sample plugin that accepts configuration of its device from the server.

See osvr_server_config.ConfiguredPlugin.sample.json for how to load a plugin like this.

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

Function Documentation

§ OSVR_PLUGIN()

OSVR_PLUGIN ( com_osvr_example_Configured  )

Tell the core we're available to create a device object.