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

#include <smooth-reach.hh>

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

Public Member Functions

virtual void display (std::ostream &os) const
 
virtual const std::string & getClassName () const
 
const dynamicgraph::VectorgetGoal (void)
 
const size_typegetLength (void)
 
const size_typegetStart (void)
 
dynamicgraph::VectorgoalSOUT_function (dynamicgraph::Vector &goal, const sigtime_t &time)
 
void initCommands (void)
 
void set (const dynamicgraph::Vector &goal, const size_type &length)
 
void setSmoothing (const size_type &mode, const double &param)
 
 SmoothReach (const std::string &name)
 
virtual ~SmoothReach (void)
 
- Public Member Functions inherited from dynamicgraph::Entity
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 ()
 

Public Attributes

dynamicgraph::SignalTimeDependent< dynamicgraph::Vector, sigtime_tgoalSOUT
 
dynamicgraph::SignalPtr< dynamicgraph::Vector, sigtime_tstartSIN
 

Static Public Attributes

static const std::string CLASS_NAME
 

Private Member Functions

double smoothFunction (double x)
 

Private Attributes

dynamicgraph::Vector goal
 
bool isParam
 
bool isStarted
 
size_type lengthTime
 
size_type smoothMode
 
double smoothParam
 
dynamicgraph::Vector start
 
size_type startTime
 

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 45 of file smooth-reach.hh.

Constructor & Destructor Documentation

◆ SmoothReach()

SmoothReach::SmoothReach ( const std::string &  name)

Definition at line 21 of file smooth-reach.cpp.

◆ ~SmoothReach()

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

Definition at line 61 of file smooth-reach.hh.

Member Function Documentation

◆ display()

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

Reimplemented from dynamicgraph::Entity.

Definition at line 119 of file smooth-reach.cpp.

◆ getClassName()

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

Reimplemented from dynamicgraph::Entity.

Definition at line 48 of file smooth-reach.hh.

◆ getGoal()

const dynamicgraph::Vector & SmoothReach::getGoal ( void  )

Definition at line 113 of file smooth-reach.cpp.

◆ getLength()

const size_type & SmoothReach::getLength ( void  )

Definition at line 115 of file smooth-reach.cpp.

◆ getStart()

const size_type & SmoothReach::getStart ( void  )

Definition at line 117 of file smooth-reach.cpp.

◆ goalSOUT_function()

dynamicgraph::Vector & SmoothReach::goalSOUT_function ( dynamicgraph::Vector goal,
const sigtime_t time 
)

Definition at line 84 of file smooth-reach.cpp.

◆ initCommands()

void SmoothReach::initCommands ( void  )

Definition at line 50 of file smooth-reach.cpp.

◆ set()

void SmoothReach::set ( const dynamicgraph::Vector goal,
const size_type length 
)

Definition at line 106 of file smooth-reach.cpp.

◆ setSmoothing()

void SmoothReach::setSmoothing ( const size_type mode,
const double param 
)

Definition at line 79 of file smooth-reach.cpp.

◆ smoothFunction()

double SmoothReach::smoothFunction ( double  x)
private

Definition at line 62 of file smooth-reach.cpp.

Member Data Documentation

◆ CLASS_NAME

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

Definition at line 47 of file smooth-reach.hh.

◆ goal

dynamicgraph::Vector dynamicgraph::sot::SmoothReach::goal
private

Definition at line 51 of file smooth-reach.hh.

◆ goalSOUT

dynamicgraph::SignalTimeDependent<dynamicgraph::Vector, sigtime_t> dynamicgraph::sot::SmoothReach::goalSOUT

Definition at line 65 of file smooth-reach.hh.

◆ isParam

bool dynamicgraph::sot::SmoothReach::isParam
private

Definition at line 53 of file smooth-reach.hh.

◆ isStarted

bool dynamicgraph::sot::SmoothReach::isStarted
private

Definition at line 53 of file smooth-reach.hh.

◆ lengthTime

size_type dynamicgraph::sot::SmoothReach::lengthTime
private

Definition at line 52 of file smooth-reach.hh.

◆ smoothMode

size_type dynamicgraph::sot::SmoothReach::smoothMode
private

Definition at line 54 of file smooth-reach.hh.

◆ smoothParam

double dynamicgraph::sot::SmoothReach::smoothParam
private

Definition at line 55 of file smooth-reach.hh.

◆ start

dynamicgraph::Vector dynamicgraph::sot::SmoothReach::start
private

Definition at line 51 of file smooth-reach.hh.

◆ startSIN

dynamicgraph::SignalPtr<dynamicgraph::Vector, sigtime_t> dynamicgraph::sot::SmoothReach::startSIN

Definition at line 61 of file smooth-reach.hh.

◆ startTime

size_type dynamicgraph::sot::SmoothReach::startTime
private

Definition at line 52 of file smooth-reach.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