vrpn 07.35
Virtual Reality Peripheral Network
Loading...
Searching...
No Matches
vrpn_Tracker_PhaseSpace.C File Reference
#include "vrpn_Tracker_PhaseSpace.h"
#include <errno.h>
#include <math.h>
#include <limits>
#include <string>
#include <sstream>
#include <algorithm>
#include <map>
#include <vector>
Include dependency graph for vrpn_Tracker_PhaseSpace.C:

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)
 

Macro Definition Documentation

◆ MM_TO_METERS

#define MM_TO_METERS   (0.001)

Definition at line 44 of file vrpn_Tracker_PhaseSpace.C.

◆ MSGBUFSIZE

#define MSGBUFSIZE   1024

Definition at line 45 of file vrpn_Tracker_PhaseSpace.C.

Typedef Documentation

◆ Sensors

typedef std::vector<SensorInfo> Sensors

Definition at line 72 of file vrpn_Tracker_PhaseSpace.C.

Function Documentation

◆ find()

template<class A >
const A * find ( int  id,
size_t &  hint,
std::vector< A > &  data 
)

Definition at line 846 of file vrpn_Tracker_PhaseSpace.C.

◆ operator<()

bool operator< ( const SensorInfo &  a,
const SensorInfo &  b 
)

Definition at line 76 of file vrpn_Tracker_PhaseSpace.C.

◆ read_bool()

bool read_bool ( const char *  str,
bool &  b 
)

Definition at line 323 of file vrpn_Tracker_PhaseSpace.C.

References read_int().

Here is the call graph for this function:

◆ read_float()

bool read_float ( const char *  str,
float &  f 
)

Definition at line 342 of file vrpn_Tracker_PhaseSpace.C.

◆ read_int()

bool read_int ( const char *  str,
int &  i 
)

Definition at line 293 of file vrpn_Tracker_PhaseSpace.C.

Referenced by read_bool().

◆ read_uint()

bool read_uint ( const char *  str,
uint32_t &  i 
)

Definition at line 308 of file vrpn_Tracker_PhaseSpace.C.

◆ trim()

std::string trim ( char *  line,
int  len 
)

Definition at line 276 of file vrpn_Tracker_PhaseSpace.C.

Referenced by vrpn_Tracker_PhaseSpace::load().