sot-core  4.11.8
Hierarchical task solver plug-in for dynamic-graph.
sotReader Class Reference

#include <sot/core/reader.hh>

Inheritance diagram for sotReader:

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< dynamicgraph::Vector, int > vectorSOUT
 
SignalTimeDependent< dynamicgraph::Matrix, int > matrixSOUT
 

Protected Types

typedef std::list< std::vector< double > > DataType
 

Protected Member Functions

dynamicgraph::Vector & getNextData (dynamicgraph::Vector &res, const unsigned int time)
 
dynamicgraph::Matrix & getNextMatrix (dynamicgraph::Matrix &res, const unsigned int time)
 
void resize (const int &nbRow, const int &nbCol)
 

Protected Attributes

DataType dataSet
 
DataType::const_iterator currentData
 
bool iteratorSet
 
int rows
 
int cols
 

Member Typedef Documentation

◆ DataType

typedef std::list<std::vector<double> > sotReader::DataType
protected

Constructor & Destructor Documentation

◆ sotReader()

sotReader::sotReader ( const std::string  n)

◆ ~sotReader()

virtual sotReader::~sotReader ( void  )
inlinevirtual

Member Function Documentation

◆ clear()

void sotReader::clear ( void  )

◆ display()

void sotReader::display ( std::ostream &  os) const

◆ getNextData()

dynamicgraph::Vector& sotReader::getNextData ( dynamicgraph::Vector &  res,
const unsigned int  time 
)
protected

◆ getNextMatrix()

dynamicgraph::Matrix& sotReader::getNextMatrix ( dynamicgraph::Matrix &  res,
const unsigned int  time 
)
protected

◆ initCommands()

virtual void sotReader::initCommands ( )
virtual

◆ load()

void sotReader::load ( const std::string &  filename)

◆ resize()

void sotReader::resize ( const int &  nbRow,
const int &  nbCol 
)
protected

◆ rewind()

void sotReader::rewind ( void  )

Member Data Documentation

◆ cols

int sotReader::cols
protected

◆ currentData

DataType::const_iterator sotReader::currentData
protected

◆ dataSet

DataType sotReader::dataSet
protected

◆ iteratorSet

bool sotReader::iteratorSet
protected

◆ matrixSOUT

SignalTimeDependent<dynamicgraph::Matrix, int> sotReader::matrixSOUT

◆ rows

int sotReader::rows
protected

◆ selectionSIN

SignalPtr<Flags, int> sotReader::selectionSIN

◆ vectorSOUT

SignalTimeDependent<dynamicgraph::Vector, int> sotReader::vectorSOUT

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