OSVR-Core  0.6-1962-g59773924
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
com_osvr_example_Configured.cpp File Reference

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. 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>

Go to the source code of this file.

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

Definition in file com_osvr_example_Configured.cpp.

Function Documentation

OSVR_PLUGIN ( com_osvr_example_Configured  )

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

Definition at line 124 of file com_osvr_example_Configured.cpp.