#include <sot/core/reader.hh>
Public Member Functions | |
sotReader (const std::string n) | |
virtual | ~sotReader (void) |
void | load (const std::string &filename) |
void | clear (void) |
void | rewind (void) |
void | display (std::ostream &os) const |
virtual void | initCommands () |
Public Attributes | |
SignalPtr< Flags, int > | selectionSIN |
SignalTimeDependent < ml::Vector, int > | vectorSOUT |
SignalTimeDependent < ml::Matrix, int > | matrixSOUT |
Protected Types | |
typedef std::list< std::vector < double > > | DataType |
Protected Member Functions | |
ml::Vector & | getNextData (ml::Vector &res, const unsigned int time) |
ml::Matrix & | getNextMatrix (ml::Matrix &res, const unsigned int time) |
void | resize (const int &nbRow, const int &nbCol) |
Protected Attributes | |
DataType | dataSet |
DataType::const_iterator | currentData |
bool | iteratorSet |
unsigned int | nbRows |
unsigned int | nbCols |
typedef std::list< std::vector<double> > sotReader::DataType [protected] |
sotReader::sotReader | ( | const std::string | n | ) |
virtual sotReader::~sotReader | ( | void | ) | [inline, virtual] |
void sotReader::clear | ( | void | ) |
void sotReader::display | ( | std::ostream & | os | ) | const [virtual] |
Reimplemented from dynamicgraph::Entity.
ml::Vector& sotReader::getNextData | ( | ml::Vector & | res, |
const unsigned int | time | ||
) | [protected] |
ml::Matrix& sotReader::getNextMatrix | ( | ml::Matrix & | res, |
const unsigned int | time | ||
) | [protected] |
virtual void sotReader::initCommands | ( | ) | [virtual] |
void sotReader::load | ( | const std::string & | filename | ) |
void sotReader::resize | ( | const int & | nbRow, |
const int & | nbCol | ||
) | [protected] |
void sotReader::rewind | ( | void | ) |
DataType::const_iterator sotReader::currentData [protected] |
DataType sotReader::dataSet [protected] |
bool sotReader::iteratorSet [protected] |
unsigned int sotReader::nbCols [protected] |
unsigned int sotReader::nbRows [protected] |