Simband API
Simband API documentation, for accessing data from sensors and algorithms.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator
Classes | Typedefs | Functions
vobio.hpp File Reference

This file contains a C++ wrapper with convenience functions for using the APIs in #vobio.h. More...

#include "vobio.h"
#include <functional>
#include <memory>
#include <memory.h>
#include <limits>
#include <vector>
#include <cmath>
#include <string>

Go to the source code of this file.

Classes

class  vobio::stream
 
class  vobio::clock
 A class that wraps vobio_clock_h. More...
 
class  vobio::receiver
 A class that wraps vobio_receiver_h. More...
 
class  vobio::timer
 A C++ wrapper for vobio_timer_h. More...
 
class  vobio::buffer
 A C++ wrapper for vobio_buffer_h. More...
 

Typedefs

typedef std::shared_ptr
< std::vector< float > > 
vobio::pack_t
 A shared vector, used to pass data without copies.
 

Functions

void vobio::send (vobio_stream_id_h id, double ts, pack_t d)
 A convenience function that wraps vobio_send() More...
 
void vobio::send (vobio_stream_id_h id, double ts, float value)
 A convenience function that sends a single float to a stream. More...
 
bool vobio::operator== (const stream &s1, vobio_stream_id_h s2)
 
bool vobio::operator== (vobio_stream_id_h s1, const stream &s2)
 
bool vobio::operator!= (const stream &s1, vobio_stream_id_h s2)
 
bool vobio::operator!= (vobio_stream_id_h s1, const stream &s2)
 
std::vector< vobio_sample_svobio::get_samples (vobio_stream_id_h s, double from, double to)
 
vobio_sample_s vobio::last_sample (vobio_stream_id_h stream, double time)
 
float vobio::last_value (vobio_stream_id_h stream, double time)
 

Detailed Description

This file contains a C++ wrapper with convenience functions for using the APIs in #vobio.h.

Contains some light-weight classes and functions to take away some of the pain of dealing with C-style functions and with constructing/destructing objects.