|
OSVR-Core
|
Wrapper for VideoIMUFusion that handles the specifics of being an analysis plugin. More...
#include <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.
| 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.
| VideoIMUFusionDevice::~VideoIMUFusionDevice | ( | ) |
free the interfaces before the pointed-to function objects disappear.
1.8.12