10 #ifndef __SOT_TRACER_H__
11 #define __SOT_TRACER_H__
18 #include <dynamic-graph/linear-algebra.h>
21 #include <boost/function.hpp>
28 #include <dynamic-graph/entity.h>
29 #include <dynamic-graph/exception-traces.h>
30 #include <dynamic-graph/signal-base.h>
31 #include <dynamic-graph/signal-ptr.h>
32 #include <dynamic-graph/signal-time-dependent.h>
41 #if defined(reader_EXPORTS)
42 #define SOTREADER_EXPORT __declspec(dllexport)
44 #define SOTREADER_EXPORT __declspec(dllimport)
47 #define SOTREADER_EXPORT
54 using dynamicgraph::Entity;
55 using dynamicgraph::SignalPtr;
56 using dynamicgraph::SignalTimeDependent;
60 DYNAMIC_GRAPH_ENTITY_DECL();
64 SignalTimeDependent<dynamicgraph::Vector, int>
vectorSOUT;
65 SignalTimeDependent<dynamicgraph::Matrix, int>
matrixSOUT;
71 void load(
const std::string &filename);
76 typedef std::list<std::vector<double> >
DataType;
84 const unsigned int time);
86 const unsigned int time);
87 void resize(
const int &nbRow,
const int &nbCol);
int cols
Definition: reader.hh:81
void resize(const int &nbRow, const int &nbCol)
SignalTimeDependent< dynamicgraph::Matrix, int > matrixSOUT
Definition: reader.hh:65
sotReader(const std::string n)
SignalPtr< Flags, int > selectionSIN
Definition: reader.hh:63
SignalTimeDependent< dynamicgraph::Vector, int > vectorSOUT
Definition: reader.hh:64
DataType::const_iterator currentData
Definition: reader.hh:78
bool iteratorSet
Definition: reader.hh:79
std::list< std::vector< double > > DataType
Definition: reader.hh:76
virtual void initCommands()
DataType dataSet
Definition: reader.hh:77
void load(const std::string &filename)
dynamicgraph::Vector & getNextData(dynamicgraph::Vector &res, const unsigned int time)
dynamicgraph::Matrix & getNextMatrix(dynamicgraph::Matrix &res, const unsigned int time)
virtual ~sotReader(void)
Definition: reader.hh:69
void display(std::ostream &os) const
#define SOTREADER_EXPORT
Definition: reader.hh:47