16 mode.
fps = frames_per_second;
31 return (strcmp(left.
uri, right.
uri) < 0);
38 template <
typename T>
typename T::first_type
50 std::ostringstream oss;
61 std::cout <<
"OpenNI2-FreenectDriver: " << info << std::endl;
71 if (DriverServices != NULL)
72 DriverServices->
errorLoggerAppend(std::string(
"OpenNI2-FreenectDriver: " + error).c_str());
static void LogError(std::string error)
void errorLoggerAppend(const char *format,...)
static bool operator==(const OniVideoMode &left, const OniVideoMode &right)
static bool operator<(const OniVideoMode &left, const OniVideoMode &right)
OniPixelFormat pixelFormat
static OniVideoMode makeOniVideoMode(OniPixelFormat pixel_format, int resolution_x, int resolution_y, int frames_per_second)
static std::string to_string(const T &n)
static void WriteMessage(std::string info)
static oni::driver::DriverServices * DriverServices