OSVR-Core
Public Member Functions | List of all members
VideoIMUFusionDevice Class Reference

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 &params=VideoIMUFusionParams())
 
 ~VideoIMUFusionDevice ()
 
OSVR_ReturnCode update ()
 

Detailed Description

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.

Constructor & Destructor Documentation

§ VideoIMUFusionDevice()

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::~VideoIMUFusionDevice ( )

free the interfaces before the pointed-to function objects disappear.


The documentation for this class was generated from the following files: