OSVR Framework (Internal Development Docs)  0.6-1962-g59773924
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
VideoIMUFusionDevice Class Reference

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

Definition at line 44 of file VideoIMUFusionDevice.h.

Constructor & Destructor Documentation

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.


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