Classes | Functions
xml_example.cpp File Reference
#include <iostream>
#include <ros/ros.h>
#include <ros/package.h>
#include <boost/property_tree/ptree.hpp>
#include <boost/property_tree/xml_parser.hpp>
#include <boost/foreach.hpp>
#include <boost/shared_ptr.hpp>
Include dependency graph for xml_example.cpp:

Go to the source code of this file.

Classes

class  Calibration
class  Pedal
class  Sensor

Functions

const ptree & empty_ptree ()
int main ()
ostream & operator<< (ostream &o, Sensor::Ptr &sensor)
vector< Pedal::PtrreadPedalCalibration (string file_name, string &user_name, ptree &pt)
void writeCalibrationFile (string file_name, const vector< Pedal::Ptr > &pedals)
void writeExistingCalibrationFile (string file_name, ptree &pt, const vector< Pedal::Ptr > &pedals)

Function Documentation

const ptree& empty_ptree ( )

Definition at line 54 of file xml_example.cpp.

int main ( )

Definition at line 200 of file xml_example.cpp.

ostream& operator<< ( ostream &  o,
Sensor::Ptr sensor 
)

Definition at line 45 of file xml_example.cpp.

vector<Pedal::Ptr> readPedalCalibration ( string  file_name,
string &  user_name,
ptree &  pt 
)

Definition at line 61 of file xml_example.cpp.

void writeCalibrationFile ( string  file_name,
const vector< Pedal::Ptr > &  pedals 
)

Definition at line 166 of file xml_example.cpp.

void writeExistingCalibrationFile ( string  file_name,
ptree &  pt,
const vector< Pedal::Ptr > &  pedals 
)

Definition at line 111 of file xml_example.cpp.



pedal_monitor
Author(s): Pedro Mendes
autogenerated on Fri Jun 6 2014 18:37:22