#include </home/jenkins/root/workspace/OSVR-Core-Docs/plugins/videoimufusion/VideoIMUFusionDevice.h>
Public Member Functions | |
VideoIMUFusionDevice (OSVR_PluginRegContext ctx, std::string const &name, std::string const &imuPath, std::string const &videoPath, VideoIMUFusionParams const ¶ms=VideoIMUFusionParams()) | |
~VideoIMUFusionDevice () | |
OSVR_ReturnCode | update () |
Wrapper for VideoIMUFusion that handles the specifics of being an analysis plugin. Forwards events to the nested VideoIMUFusion instance, and reports its state as appropriate.
Definition at line 44 of file VideoIMUFusionDevice.h.
VideoIMUFusionDevice::VideoIMUFusionDevice | ( | OSVR_PluginRegContext | ctx, |
std::string const & | name, | ||
std::string const & | imuPath, | ||
std::string const & | videoPath, | ||
VideoIMUFusionParams const & | params = VideoIMUFusionParams() |
||
) |
Create the initialization options
Create the device token with the options
Send JSON descriptor
Register update callback
Set up to receive our input.
Definition at line 48 of file VideoIMUFusionDevice.cpp.
VideoIMUFusionDevice::~VideoIMUFusionDevice | ( | ) |
free the interfaces before the pointed-to function objects disappear.
Definition at line 86 of file VideoIMUFusionDevice.cpp.