Unserialize data from a file into a specific pattern generator. More...
#include <yaml.hh>
Public Types | |
| typedef T | patternGenerator_t |
| Pattern generator / parent type. | |
Public Member Functions | |
| patternGenerator_t::TrajectoryV3d & | centerOfMassTrajectory () |
| virtual void | computeTrajectories () |
| Vector3d & | finalCenterOfMassPosition () |
| HomogeneousMatrix3d & | finalLeftFootPosition () |
| HomogeneousMatrix3d & | finalLeftHandPosition () |
| Posture & | finalPosture () |
| HomogeneousMatrix3d & | finalRightFootPosition () |
| HomogeneousMatrix3d & | finalRightHandPosition () |
| Vector3d & | initialCenterOfMassPosition () |
| HomogeneousMatrix3d & | initialLeftFootPosition () |
| HomogeneousMatrix3d & | initialLeftHandPosition () |
| Posture & | initialPosture () |
| HomogeneousMatrix3d & | initialRightFootPosition () |
| HomogeneousMatrix3d & | initialRightHandPosition () |
| 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. | |
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>.
| T | Pattern generator type (parent type) |
| typedef T walk::YamlReader< T >::patternGenerator_t |
| walk::YamlReader< T >::YamlReader | ( | const boost::filesystem::path & | filename | ) | [explicit] |
Read the serialized data from a particular file on the filesystem.
| filename | File path on the filesystem |
| walk::YamlReader< T >::YamlReader | ( | std::istream & | stream | ) | [explicit] |
Read the serialized data from an input stream.
| stream | Input stream. |
| walk::YamlReader< T >::YamlReader | ( | const boost::filesystem::path & | filename, |
| A | a | ||
| ) | [explicit] |
| walk::YamlReader< T >::YamlReader | ( | const boost::filesystem::path & | filename, |
| A | a, | ||
| B | b | ||
| ) | [explicit] |
| walk::YamlReader< T >::YamlReader | ( | const boost::filesystem::path & | filename, |
| A | a, | ||
| B | b, | ||
| C | c | ||
| ) | [explicit] |
| walk::YamlReader< T >::YamlReader | ( | std::istream & | stream, |
| A | a | ||
| ) | [explicit] |
| walk::YamlReader< T >::YamlReader | ( | std::istream & | stream, |
| A | a, | ||
| B | b | ||
| ) | [explicit] |
| walk::YamlReader< T >::YamlReader | ( | std::istream & | stream, |
| A | a, | ||
| B | b, | ||
| C | c | ||
| ) | [explicit] |
| walk::YamlReader< T >::~YamlReader | ( | ) |
Destructor.
| patternGenerator_t::TrajectoryV3d& walk::YamlReader< T >::centerOfMassTrajectory | ( | ) | [inline] |
| virtual void walk::YamlReader< T >::computeTrajectories | ( | ) | [inline, virtual] |
| Vector3d& walk::YamlReader< T >::finalCenterOfMassPosition | ( | ) | [inline] |
| HomogeneousMatrix3d& walk::YamlReader< T >::finalLeftFootPosition | ( | ) | [inline] |
| HomogeneousMatrix3d& walk::YamlReader< T >::finalLeftHandPosition | ( | ) | [inline] |
| Posture& walk::YamlReader< T >::finalPosture | ( | ) | [inline] |
| HomogeneousMatrix3d& walk::YamlReader< T >::finalRightFootPosition | ( | ) | [inline] |
| HomogeneousMatrix3d& walk::YamlReader< T >::finalRightHandPosition | ( | ) | [inline] |
| Vector3d& walk::YamlReader< T >::initialCenterOfMassPosition | ( | ) | [inline] |
| HomogeneousMatrix3d& walk::YamlReader< T >::initialLeftFootPosition | ( | ) | [inline] |
| HomogeneousMatrix3d& walk::YamlReader< T >::initialLeftHandPosition | ( | ) | [inline] |
| Posture& walk::YamlReader< T >::initialPosture | ( | ) | [inline] |
| HomogeneousMatrix3d& walk::YamlReader< T >::initialRightFootPosition | ( | ) | [inline] |
| HomogeneousMatrix3d& walk::YamlReader< T >::initialRightHandPosition | ( | ) | [inline] |
| patternGenerator_t::Trajectory3d& walk::YamlReader< T >::leftFootTrajectory | ( | ) | [inline] |
| patternGenerator_t::Trajectory3d& walk::YamlReader< T >::leftHandTrajectory | ( | ) | [inline] |
| void walk::YamlReader< T >::load | ( | const boost::filesystem::path & | filename | ) | [protected] |
Load the file from the filesystem.
| void walk::YamlReader< T >::load | ( | std::istream & | stream | ) | [protected] |
Load the file from an input stream.
| patternGenerator_t::TrajectoryNd& walk::YamlReader< T >::postureTrajectory | ( | ) | [inline] |
| patternGenerator_t::Trajectory3d& walk::YamlReader< T >::rightFootTrajectory | ( | ) | [inline] |
| patternGenerator_t::Trajectory3d& walk::YamlReader< T >::rightHandTrajectory | ( | ) | [inline] |
| patternGenerator_t::TrajectoryV2d& walk::YamlReader< T >::zmpTrajectory | ( | ) | [inline] |
| walk::YamlReader< T >::EIGEN_MAKE_ALIGNED_OPERATOR_NEW |