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 int & getLength (void)
 
const int & getStart (void)
 
dynamicgraph::VectorgoalSOUT_function (dynamicgraph::Vector &goal, const int &time)
 
void initCommands (void)
 
void set (const dynamicgraph::Vector &goal, const int &length)
 
void setSmoothing (const int &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< 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

dynamicgraph::SignalTimeDependent< dynamicgraph::Vector, int > goalSOUT
 
dynamicgraph::SignalPtr< dynamicgraph::Vector, int > startSIN
 

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
 
int lengthTime
 
int smoothMode
 
double smoothParam
 
dynamicgraph::Vector start
 
int 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< int > *> 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< int > &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 ( void  ) 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 int & SmoothReach::getLength ( void  )

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

◆ getStart()

const int & SmoothReach::getStart ( void  )

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

◆ goalSOUT_function()

dynamicgraph::Vector & SmoothReach::goalSOUT_function ( dynamicgraph::Vector goal,
const int &  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 int &  length 
)

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

◆ setSmoothing()

void SmoothReach::setSmoothing ( const int &  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, int> 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

int dynamicgraph::sot::SmoothReach::lengthTime
private

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

◆ smoothMode

int 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, int> dynamicgraph::sot::SmoothReach::startSIN

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

◆ startTime

int 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 Wed Jun 21 2023 02:51:27