Public Member Functions | Public Attributes | Protected Types | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
sotReader Class Reference

#include <reader.hh>

Inheritance diagram for sotReader:
Inheritance graph
[legend]

Public Member Functions

void clear (void)
 
void display (std::ostream &os) const
 
virtual void initCommands ()
 
void load (const std::string &filename)
 
void rewind (void)
 
 sotReader (const std::string n)
 
virtual ~sotReader (void)
 
- Public Member Functions inherited from dynamicgraph::Entity
std::ostream & displaySignalList (std::ostream &os) const
 
 Entity (const std::string &name)
 
virtual const std::string & getClassName () const
 
const std::string & getCommandList () const
 
virtual std::string getDocString () const
 
LoggerVerbosity getLoggerVerbosityLevel ()
 
LoggerVerbosity getLoggerVerbosityLevel ()
 
const std::string & getName () const
 
command::CommandgetNewStyleCommand (const std::string &cmdName)
 
CommandMap_t getNewStyleCommandMap ()
 
SignalBase< int > & getSignal (const std::string &signalName)
 
const SignalBase< int > & getSignal (const std::string &signalName) const
 
SignalMap getSignalMap () const
 
double getStreamPrintPeriod ()
 
double getStreamPrintPeriod ()
 
double getTimeSample ()
 
double getTimeSample ()
 
bool hasSignal (const std::string &signame) const
 
Loggerlogger ()
 
Logger const & logger () const
 
Loggerlogger ()
 
Logger const & logger () const
 
void sendMsg (const std::string &msg, MsgType t=MSG_TYPE_INFO, const std::string &lineId="")
 
void sendMsg (const std::string &msg, MsgType t=MSG_TYPE_INFO, const std::string &lineId="")
 
void setLoggerVerbosityLevel (LoggerVerbosity lv)
 
void setLoggerVerbosityLevel (LoggerVerbosity lv)
 
bool setStreamPrintPeriod (double t)
 
bool setStreamPrintPeriod (double t)
 
bool setTimeSample (double t)
 
bool setTimeSample (double t)
 
virtual SignalBase< int > * test ()
 
virtual void test2 (SignalBase< int > *)
 
virtual std::ostream & writeCompletionList (std::ostream &os) const
 
virtual std::ostream & writeGraph (std::ostream &os) const
 
virtual ~Entity ()
 

Public Attributes

SignalTimeDependent< dynamicgraph::Matrix, int > matrixSOUT
 
SignalPtr< Flags, int > selectionSIN
 
SignalTimeDependent< dynamicgraph::Vector, int > vectorSOUT
 

Protected Types

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

Protected Member Functions

dynamicgraph::VectorgetNextData (dynamicgraph::Vector &res, const unsigned int time)
 
dynamicgraph::MatrixgetNextMatrix (dynamicgraph::Matrix &res, const unsigned int time)
 
void resize (const int &nbRow, const int &nbCol)
 
- Protected Member Functions inherited from dynamicgraph::Entity
void addCommand (const std::string &name, command::Command *command)
 
void entityDeregistration ()
 
void entityRegistration ()
 
void signalDeregistration (const std::string &name)
 
void signalRegistration (const SignalArray< int > &signals)
 

Protected Attributes

int cols
 
DataType::const_iterator currentData
 
DataType dataSet
 
bool iteratorSet
 
int rows
 
- Protected Attributes inherited from dynamicgraph::Entity
CommandMap_t commandMap
 
Logger logger_
 
std::string name
 
SignalMap signalMap
 

Private Member Functions

 DYNAMIC_GRAPH_ENTITY_DECL ()
 

Additional Inherited Members

- Public Types inherited from dynamicgraph::Entity
typedef std::map< const std::string, command::Command *> CommandMap_t
 
typedef std::map< std::string, SignalBase< int > *> SignalMap
 

Detailed Description

Definition at line 59 of file reader.hh.

Member Typedef Documentation

◆ DataType

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

Definition at line 76 of file reader.hh.

Constructor & Destructor Documentation

◆ sotReader()

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

Definition at line 33 of file reader.cpp.

◆ ~sotReader()

virtual sotReader::~sotReader ( void  )
inlinevirtual

Definition at line 69 of file reader.hh.

Member Function Documentation

◆ clear()

void sotReader::clear ( void  )

Definition at line 86 of file reader.cpp.

◆ display()

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

Reimplemented from dynamicgraph::Entity.

Definition at line 151 of file reader.cpp.

◆ DYNAMIC_GRAPH_ENTITY_DECL()

sotReader::DYNAMIC_GRAPH_ENTITY_DECL ( )
private

◆ getNextData()

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

Definition at line 101 of file reader.cpp.

◆ getNextMatrix()

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

Definition at line 134 of file reader.cpp.

◆ initCommands()

void sotReader::initCommands ( void  )
virtual

Definition at line 162 of file reader.cpp.

◆ load()

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

Definition at line 56 of file reader.cpp.

◆ resize()

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

Definition at line 175 of file reader.cpp.

◆ rewind()

void sotReader::rewind ( void  )

Definition at line 95 of file reader.cpp.

Member Data Documentation

◆ cols

int sotReader::cols
protected

Definition at line 81 of file reader.hh.

◆ currentData

DataType::const_iterator sotReader::currentData
protected

Definition at line 78 of file reader.hh.

◆ dataSet

DataType sotReader::dataSet
protected

Definition at line 77 of file reader.hh.

◆ iteratorSet

bool sotReader::iteratorSet
protected

Definition at line 79 of file reader.hh.

◆ matrixSOUT

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

Definition at line 65 of file reader.hh.

◆ rows

int sotReader::rows
protected

Definition at line 81 of file reader.hh.

◆ selectionSIN

SignalPtr<Flags, int> sotReader::selectionSIN

Definition at line 63 of file reader.hh.

◆ vectorSOUT

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

Definition at line 64 of file reader.hh.


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


sot-core
Author(s): Olivier Stasse, ostasse@laas.fr
autogenerated on Wed Jun 21 2023 02:51:27