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

#include <reader.hh>

Inheritance diagram for dynamicgraph::sot::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< sigtime_t > & getSignal (const std::string &signalName)
 
const SignalBase< sigtime_t > & 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 ()
 
Loggerlogger ()
 
const Loggerlogger () const
 
const Loggerlogger () 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< sigtime_t > * test ()
 
virtual void test2 (SignalBase< sigtime_t > *)
 
virtual std::ostream & writeCompletionList (std::ostream &os) const
 
virtual std::ostream & writeGraph (std::ostream &os) const
 
virtual ~Entity ()
 

Public Attributes

SignalTimeDependent< dynamicgraph::Matrix, sigtime_tmatrixSOUT
 
SignalPtr< Flags, sigtime_tselectionSIN
 
SignalTimeDependent< dynamicgraph::Vector, sigtime_tvectorSOUT
 

Protected Types

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

Protected Member Functions

dynamicgraph::VectorgetNextData (dynamicgraph::Vector &res, const std::size_t time)
 
dynamicgraph::MatrixgetNextMatrix (dynamicgraph::Matrix &res, const std::size_t time)
 
void resize (const size_type &nbRow, const size_type &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< sigtime_t > &signals)
 

Protected Attributes

size_type cols
 
DataType::const_iterator currentData
 
DataType dataSet
 
bool iteratorSet
 
size_type 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< sigtime_t > * > SignalMap
 

Detailed Description

Definition at line 57 of file reader.hh.

Member Typedef Documentation

◆ DataType

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

Definition at line 74 of file reader.hh.

Constructor & Destructor Documentation

◆ sotReader()

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

Definition at line 33 of file reader.cpp.

◆ ~sotReader()

virtual dynamicgraph::sot::sotReader::~sotReader ( void  )
inlinevirtual

Definition at line 67 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()

dynamicgraph::sot::sotReader::DYNAMIC_GRAPH_ENTITY_DECL ( )
private

◆ getNextData()

dynamicgraph::Vector & sotReader::getNextData ( dynamicgraph::Vector res,
const std::size_t  time 
)
protected

Definition at line 101 of file reader.cpp.

◆ getNextMatrix()

dynamicgraph::Matrix & sotReader::getNextMatrix ( dynamicgraph::Matrix res,
const std::size_t  time 
)
protected

Definition at line 134 of file reader.cpp.

◆ initCommands()

void sotReader::initCommands ( )
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 size_type nbRow,
const size_type 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

size_type dynamicgraph::sot::sotReader::cols
protected

Definition at line 79 of file reader.hh.

◆ currentData

DataType::const_iterator dynamicgraph::sot::sotReader::currentData
protected

Definition at line 76 of file reader.hh.

◆ dataSet

DataType dynamicgraph::sot::sotReader::dataSet
protected

Definition at line 75 of file reader.hh.

◆ iteratorSet

bool dynamicgraph::sot::sotReader::iteratorSet
protected

Definition at line 77 of file reader.hh.

◆ matrixSOUT

SignalTimeDependent<dynamicgraph::Matrix, sigtime_t> dynamicgraph::sot::sotReader::matrixSOUT

Definition at line 63 of file reader.hh.

◆ rows

size_type dynamicgraph::sot::sotReader::rows
protected

Definition at line 79 of file reader.hh.

◆ selectionSIN

SignalPtr<Flags, sigtime_t> dynamicgraph::sot::sotReader::selectionSIN

Definition at line 61 of file reader.hh.

◆ vectorSOUT

SignalTimeDependent<dynamicgraph::Vector, sigtime_t> dynamicgraph::sot::sotReader::vectorSOUT

Definition at line 62 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 Tue Oct 24 2023 02:26:32