KJB
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Functions | Variables
psi_action.cpp File Reference
#include <psi_cpp/psi_action.h>
#include <people_tracking_cpp/pt_entity.h>
#include <boost/assign/list_of.hpp>
#include <boost/algorithm/string.hpp>
#include <boost/lexical_cast.hpp>
#include <map>
#include <string>
#include <vector>

Namespaces

 kjb
 Classes and functions for dealing with trajectory files.
 
 kjb::psi
 

Functions

void kjb::psi::validate (Action_type a)
 check that action_type represents an actual descriptor. More...
 
std::istream & kjb::psi::read_action_v0 (std::istream &ist, Action &action)
 
const std::string & kjb::psi::get_name (Action_type t)
 Convert Action_type to string. More...
 
Action_type kjb::psi::action_name_to_type (const std::string &name)
 Convert string to Action_type. More...
 
double kjb::psi::get_action_duration (const Action &action)
 
Action kjb::psi::make_walk_through_points_action (const std::vector< std::vector< double > > &points)
 Construct a walk along the trajectory specified by the points. More...
 
void kjb::psi::validate (const Action &a)
 Check that an action is consistent (correct number of parameters, etc) More...
 
Unit_type kjb::psi::get_units (Action_type a, size_t i)
 
std::ostream & kjb::psi::operator<< (std::ostream &ost, const Action &action)
 serialize an action More...
 
std::istream & kjb::psi::operator>> (std::istream &ist, Action &action)
 unserialize an action More...
 
Action kjb::psi::parse_cli_action (const std::string &str)
 read an action that is specified using command-line-interface format More...
 

Variables

const std::vector
< Action_descriptor > 
kjb::psi::action_descriptors