OSVR-Core
Functions
directx_camera_server.cpp File Reference

Implementation. More...

#include "directx_camera_server.h"
#include "ConnectTwoFilters.h"
#include "NullRenderFilter.h"
#include "PropertyBagHelper.h"
#include "dibsize.h"
#include "directx_samplegrabber_callback.h"
#include <osvr/Util/WideToUTF8.h>
#include <chrono>
#include <cmath>
#include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

Functions

template<typename T >
void checkForConstructionError (T const &ptr, const char objName[])
 Checks something to see if it's false-ish, printing a message and throwing an exception if it is. More...
 
std::string getDevicePath (PropertyBagHelper &prop)
 
std::string getDeviceHumanDesc (PropertyBagHelper &prop)
 
template<typename T >
bool didConstructionFail (T const &ptr, const char objName[])
 Checks something to see if it's false-ish, printing a message and throwing an exception if it is. More...
 
template<typename F >
comutils::Ptr< IMoniker > find_first_capture_device_where (F &&f)
 
bool setBufferLatency (ICaptureGraphBuilder2 &builder, IBaseFilter &filter, std::size_t numBuffers)
 

Detailed Description

Implementation.

Date
2015
Author
Russ Taylor working through ReliaSolve for Sensics. Sensics, Inc. http://sensics.com/osvr

Function Documentation

§ checkForConstructionError()

template<typename T >
void checkForConstructionError ( T const &  ptr,
const char  objName[] 
)
inline

Checks something to see if it's false-ish, printing a message and throwing an exception if it is.

§ didConstructionFail()

template<typename T >
bool didConstructionFail ( T const &  ptr,
const char  objName[] 
)
inline

Checks something to see if it's false-ish, printing a message and throwing an exception if it is.