tools
Loading...
Searching...
No Matches
Playback.hpp
1// -*- mode:C++; tab-width:4; c-basic-offset:4; indent-tabs-mode:nil -*-
2
3#ifndef __PLAYBACK_HPP__
4#define __PLAYBACK_HPP__
5
6#include <string>
7#include <vector>
8
9namespace roboticslab
10{
11
23{
24public:
25 using row_t = std::vector<std::vector<double>>;
26
27 bool fromFile(const std::string & fileName);
28 std::size_t getNumRows() const;
29 std::size_t getCurrentRowIndex() const;
30 bool hasNextRow() const;
31 const row_t::value_type & getNextRow();
32 void reset();
33
34private:
35 row_t storage;
36 row_t::const_iterator iter;
37};
38
39} // namespace roboticslab
40
41#endif // __PLAYBACK_HPP__
Implementation for Playback.
Definition Playback.hpp:23
The main, catch-all namespace for Robotics Lab UC3M.
Definition groups.dox:5