Implementation. More...
#include <osvr/PluginKit/PluginRegistrationC.h>#include "HandleNullContext.h"#include <osvr/Util/Verbosity.h>#include <osvr/PluginHost/PluginSpecificRegistrationContext.h>#include <iostream>Go to the source code of this file.
Functions | |
| OSVR_ReturnCode | osvrPluginRegisterHardwareDetectCallback (OSVR_PluginRegContext ctx, OSVR_HardwareDetectCallback detectCallback, void *userData) |
| Register a callback in your plugin to be notified when hardware should be detected again. More... | |
| OSVR_ReturnCode | osvrRegisterDriverInstantiationCallback (OSVR_PluginRegContext ctx, const char *name, OSVR_DriverInstantiationCallback cb, void *userData) |
| Register an instantiation callback (constructor) for a driver type. The given constructor may be called with a string containing configuration information, the format of which you should document with your plugin. JSON is recommended. More... | |
| OSVR_ReturnCode | osvrPluginRegisterDataWithDeleteCallback (OSVR_PluginRegContext ctx, OSVR_PluginDataDeleteCallback deleteCallback, void *pluginData) |
| Register plugin data along with an appropriate deleter callback. More... | |
| void | osvrPluginLog (OSVR_PluginRegContext ctx, OSVR_LogLevel severity, const char *message) |
| Log a message to the plugin's log channel. More... | |