Public Types | Public Member Functions | Public Attributes | Protected Member Functions
walk::YamlReader< T > Class Template Reference

Unserialize data from a file into a specific pattern generator. More...

#include <yaml.hh>

List of all members.

Public Types

typedef T patternGenerator_t
 Pattern generator / parent type.

Public Member Functions

patternGenerator_t::TrajectoryV3d & centerOfMassTrajectory ()
virtual void computeTrajectories ()
Vector3dfinalCenterOfMassPosition ()
HomogeneousMatrix3dfinalLeftFootPosition ()
HomogeneousMatrix3dfinalLeftHandPosition ()
PosturefinalPosture ()
HomogeneousMatrix3dfinalRightFootPosition ()
HomogeneousMatrix3dfinalRightHandPosition ()
Vector3dinitialCenterOfMassPosition ()
HomogeneousMatrix3dinitialLeftFootPosition ()
HomogeneousMatrix3dinitialLeftHandPosition ()
PostureinitialPosture ()
HomogeneousMatrix3dinitialRightFootPosition ()
HomogeneousMatrix3dinitialRightHandPosition ()
patternGenerator_t::Trajectory3d & leftFootTrajectory ()
patternGenerator_t::Trajectory3d & leftHandTrajectory ()
patternGenerator_t::TrajectoryNd & postureTrajectory ()
patternGenerator_t::Trajectory3d & rightFootTrajectory ()
patternGenerator_t::Trajectory3d & rightHandTrajectory ()
patternGenerator_t::TrajectoryV2d & zmpTrajectory ()
Constructors and destructor.
 YamlReader (const boost::filesystem::path &filename)
 Read the serialized data from a particular file on the filesystem.
 YamlReader (std::istream &stream)
 Read the serialized data from an input stream.
template<typename A >
 YamlReader (const boost::filesystem::path &filename, A a)
template<typename A , typename B >
 YamlReader (const boost::filesystem::path &filename, A a, B b)
template<typename A , typename B , typename C >
 YamlReader (const boost::filesystem::path &filename, A a, B b, C c)
template<typename A >
 YamlReader (std::istream &stream, A a)
template<typename A , typename B >
 YamlReader (std::istream &stream, A a, B b)
template<typename A , typename B , typename C >
 YamlReader (std::istream &stream, A a, B b, C c)
 ~YamlReader ()
 Destructor.

Public Attributes

 EIGEN_MAKE_ALIGNED_OPERATOR_NEW

Protected Member Functions

void load (const boost::filesystem::path &filename)
 Load the file from the filesystem.
void load (std::istream &stream)
 Load the file from an input stream.

Detailed Description

template<typename T>
class walk::YamlReader< T >

Unserialize data from a file into a specific pattern generator.

This class is a decorator over a pattern generator. It will fill the parent class information at construct time by reading data from a stream.

If one wants to get the serialized data into a pattern generator whose type is Foo, it will instantiate a YamlReader<Foo>.

Template Parameters:
TPattern generator type (parent type)

Definition at line 27 of file yaml.hh.


Member Typedef Documentation

template<typename T>
typedef T walk::YamlReader< T >::patternGenerator_t

Pattern generator / parent type.

Definition at line 31 of file yaml.hh.


Constructor & Destructor Documentation

template<typename T>
walk::YamlReader< T >::YamlReader ( const boost::filesystem::path &  filename) [explicit]

Read the serialized data from a particular file on the filesystem.

Parameters:
filenameFile path on the filesystem
template<typename T>
walk::YamlReader< T >::YamlReader ( std::istream &  stream) [explicit]

Read the serialized data from an input stream.

Parameters:
streamInput stream.
template<typename T>
template<typename A >
walk::YamlReader< T >::YamlReader ( const boost::filesystem::path &  filename,
A  a 
) [explicit]
template<typename T>
template<typename A , typename B >
walk::YamlReader< T >::YamlReader ( const boost::filesystem::path &  filename,
A  a,
b 
) [explicit]
template<typename T>
template<typename A , typename B , typename C >
walk::YamlReader< T >::YamlReader ( const boost::filesystem::path &  filename,
A  a,
b,
c 
) [explicit]
template<typename T>
template<typename A >
walk::YamlReader< T >::YamlReader ( std::istream &  stream,
A  a 
) [explicit]
template<typename T>
template<typename A , typename B >
walk::YamlReader< T >::YamlReader ( std::istream &  stream,
A  a,
b 
) [explicit]
template<typename T>
template<typename A , typename B , typename C >
walk::YamlReader< T >::YamlReader ( std::istream &  stream,
A  a,
b,
c 
) [explicit]
template<typename T>
walk::YamlReader< T >::~YamlReader ( )

Destructor.


Member Function Documentation

template<typename T>
patternGenerator_t::TrajectoryV3d& walk::YamlReader< T >::centerOfMassTrajectory ( ) [inline]

Definition at line 84 of file yaml.hh.

template<typename T>
virtual void walk::YamlReader< T >::computeTrajectories ( ) [inline, virtual]

Definition at line 166 of file yaml.hh.

template<typename T>
Vector3d& walk::YamlReader< T >::finalCenterOfMassPosition ( ) [inline]

Definition at line 146 of file yaml.hh.

template<typename T>
HomogeneousMatrix3d& walk::YamlReader< T >::finalLeftFootPosition ( ) [inline]

Definition at line 136 of file yaml.hh.

template<typename T>
HomogeneousMatrix3d& walk::YamlReader< T >::finalLeftHandPosition ( ) [inline]

Definition at line 156 of file yaml.hh.

template<typename T>
Posture& walk::YamlReader< T >::finalPosture ( ) [inline]

Definition at line 151 of file yaml.hh.

template<typename T>
HomogeneousMatrix3d& walk::YamlReader< T >::finalRightFootPosition ( ) [inline]

Definition at line 141 of file yaml.hh.

template<typename T>
HomogeneousMatrix3d& walk::YamlReader< T >::finalRightHandPosition ( ) [inline]

Definition at line 161 of file yaml.hh.

template<typename T>
Vector3d& walk::YamlReader< T >::initialCenterOfMassPosition ( ) [inline]

Definition at line 115 of file yaml.hh.

template<typename T>
HomogeneousMatrix3d& walk::YamlReader< T >::initialLeftFootPosition ( ) [inline]

Definition at line 105 of file yaml.hh.

template<typename T>
HomogeneousMatrix3d& walk::YamlReader< T >::initialLeftHandPosition ( ) [inline]

Definition at line 125 of file yaml.hh.

template<typename T>
Posture& walk::YamlReader< T >::initialPosture ( ) [inline]

Definition at line 120 of file yaml.hh.

template<typename T>
HomogeneousMatrix3d& walk::YamlReader< T >::initialRightFootPosition ( ) [inline]

Definition at line 110 of file yaml.hh.

template<typename T>
HomogeneousMatrix3d& walk::YamlReader< T >::initialRightHandPosition ( ) [inline]

Definition at line 130 of file yaml.hh.

template<typename T>
patternGenerator_t::Trajectory3d& walk::YamlReader< T >::leftFootTrajectory ( ) [inline]

Definition at line 69 of file yaml.hh.

template<typename T>
patternGenerator_t::Trajectory3d& walk::YamlReader< T >::leftHandTrajectory ( ) [inline]

Definition at line 94 of file yaml.hh.

template<typename T>
void walk::YamlReader< T >::load ( const boost::filesystem::path &  filename) [protected]

Load the file from the filesystem.

template<typename T>
void walk::YamlReader< T >::load ( std::istream &  stream) [protected]

Load the file from an input stream.

template<typename T>
patternGenerator_t::TrajectoryNd& walk::YamlReader< T >::postureTrajectory ( ) [inline]

Definition at line 89 of file yaml.hh.

template<typename T>
patternGenerator_t::Trajectory3d& walk::YamlReader< T >::rightFootTrajectory ( ) [inline]

Definition at line 74 of file yaml.hh.

template<typename T>
patternGenerator_t::Trajectory3d& walk::YamlReader< T >::rightHandTrajectory ( ) [inline]

Definition at line 99 of file yaml.hh.

template<typename T>
patternGenerator_t::TrajectoryV2d& walk::YamlReader< T >::zmpTrajectory ( ) [inline]

Definition at line 79 of file yaml.hh.


Member Data Documentation

Definition at line 175 of file yaml.hh.


The documentation for this class was generated from the following file:


walk_interfaces
Author(s): Thomas Moulard/thomas.moulard@gmail.com, Antonio El Khoury
autogenerated on Sat Dec 28 2013 17:05:21