vrpn 07.35
Virtual Reality Peripheral Network
|
#include "vrpn_Tracker_PhaseSpace.h"
#include <errno.h>
#include <math.h>
#include <limits>
#include <string>
#include <sstream>
#include <algorithm>
#include <map>
#include <vector>
Go to the source code of this file.
Macros | |
#define | MM_TO_METERS (0.001) |
#define | MSGBUFSIZE 1024 |
Typedefs | |
typedef std::vector< SensorInfo > | Sensors |
Functions | |
bool | operator< (const SensorInfo &a, const SensorInfo &b) |
std::string | trim (char *line, int len) |
bool | read_int (const char *str, int &i) |
bool | read_uint (const char *str, uint32_t &i) |
bool | read_bool (const char *str, bool &b) |
bool | read_float (const char *str, float &f) |
template<class A > | |
const A * | find (int id, size_t &hint, std::vector< A > &data) |
#define MM_TO_METERS (0.001) |
Definition at line 44 of file vrpn_Tracker_PhaseSpace.C.
#define MSGBUFSIZE 1024 |
Definition at line 45 of file vrpn_Tracker_PhaseSpace.C.
typedef std::vector<SensorInfo> Sensors |
Definition at line 72 of file vrpn_Tracker_PhaseSpace.C.
const A * find | ( | int | id, |
size_t & | hint, | ||
std::vector< A > & | data | ||
) |
Definition at line 846 of file vrpn_Tracker_PhaseSpace.C.
bool operator< | ( | const SensorInfo & | a, |
const SensorInfo & | b | ||
) |
Definition at line 76 of file vrpn_Tracker_PhaseSpace.C.
bool read_bool | ( | const char * | str, |
bool & | b | ||
) |
Definition at line 323 of file vrpn_Tracker_PhaseSpace.C.
References read_int().
bool read_float | ( | const char * | str, |
float & | f | ||
) |
Definition at line 342 of file vrpn_Tracker_PhaseSpace.C.
bool read_int | ( | const char * | str, |
int & | i | ||
) |
Definition at line 293 of file vrpn_Tracker_PhaseSpace.C.
Referenced by read_bool().
bool read_uint | ( | const char * | str, |
uint32_t & | i | ||
) |
Definition at line 308 of file vrpn_Tracker_PhaseSpace.C.
std::string trim | ( | char * | line, |
int | len | ||
) |
Definition at line 276 of file vrpn_Tracker_PhaseSpace.C.
Referenced by vrpn_Tracker_PhaseSpace::load().