Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes | List of all members
dynamicgraph::sot::Segment Class Reference

#include <segment.hh>

Inheritance diagram for dynamicgraph::sot::Segment:
Inheritance graph
[legend]

Public Member Functions

virtual const std::string & getClassName () const
 
 Segment (const std::string &name)
 
void setRange (const size_type &i0, const size_type &length)
 
- Public Member Functions inherited from dynamicgraph::Entity
virtual void display (std::ostream &os) const
 
std::ostream & displaySignalList (std::ostream &os) const
 
 Entity (const std::string &name)
 
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 ()
 

Static Public Attributes

static const std::string CLASS_NAME
 

Private Member Functions

Vectorcompute (Vector &output, sigtime_t time)
 

Private Attributes

SignalPtr< Vector, sigtime_tinputSIN_
 
SignalTimeDependent< Vector, sigtime_toutputSOUT_
 
std::pair< size_type, size_typerange_
 

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
 
- 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 inherited from dynamicgraph::Entity
CommandMap_t commandMap
 
Logger logger_
 
std::string name
 
SignalMap signalMap
 

Detailed Description

Definition at line 41 of file segment.hh.

Constructor & Destructor Documentation

◆ Segment()

dynamicgraph::sot::Segment::Segment ( const std::string &  name)

Definition at line 41 of file segment.cpp.

Member Function Documentation

◆ compute()

Vector & dynamicgraph::sot::Segment::compute ( Vector output,
sigtime_t  time 
)
private

Definition at line 57 of file segment.cpp.

◆ getClassName()

virtual const std::string& dynamicgraph::sot::Segment::getClassName ( ) const
inlinevirtual

Reimplemented from dynamicgraph::Entity.

Definition at line 44 of file segment.hh.

◆ setRange()

void dynamicgraph::sot::Segment::setRange ( const size_type i0,
const size_type length 
)
inline

Definition at line 46 of file segment.hh.

Member Data Documentation

◆ CLASS_NAME

const std::string dynamicgraph::sot::Segment::CLASS_NAME
static

Definition at line 43 of file segment.hh.

◆ inputSIN_

SignalPtr<Vector, sigtime_t> dynamicgraph::sot::Segment::inputSIN_
private

Definition at line 54 of file segment.hh.

◆ outputSOUT_

SignalTimeDependent<Vector, sigtime_t> dynamicgraph::sot::Segment::outputSOUT_
private

Definition at line 55 of file segment.hh.

◆ range_

std::pair<size_type, size_type> dynamicgraph::sot::Segment::range_
private

Definition at line 57 of file segment.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