double-constant.hh
Go to the documentation of this file.
1 /*
2  * Copyright 2019,
3  * Joseph Mirabel
4  *
5  * LAAS-CNRS
6  *
7  */
8 
9 #ifndef DYNAMICGRAPH_SOT_DOUBLE_CONSTANT_H
10 #define DYNAMICGRAPH_SOT_DOUBLE_CONSTANT_H
11 
12 #include <dynamic-graph/entity.h>
14 
15 namespace dynamicgraph {
16 namespace sot {
17 
18 class DoubleConstant : public Entity {
19  public:
20  static const std::string CLASS_NAME;
21  virtual const std::string &getClassName(void) const { return CLASS_NAME; }
22 
23  DoubleConstant(const std::string &name);
24 
25  virtual ~DoubleConstant(void) {}
26 
28 
30  void setValue(const double &inValue);
31 };
32 
33 } // namespace sot
34 } // namespace dynamicgraph
35 
36 #endif // DYNAMICGRAPH_SOT_DOUBLE_CONSTANT_H
signal-time-dependent.h
dynamicgraph::sot::DoubleConstant::DoubleConstant
DoubleConstant(const std::string &name)
Definition: double-constant.cpp:19
dynamicgraph::sot::DoubleConstant::setValue
void setValue(const double &inValue)
Set value of vector (and therefore of output signal)
Definition: double-constant.cpp:38
dynamicgraph
dynamicgraph::sot::DoubleConstant::CLASS_NAME
static const std::string CLASS_NAME
Definition: double-constant.hh:20
dynamicgraph::Entity
dynamicgraph::Entity::name
std::string name
dynamicgraph::sot::DoubleConstant::getClassName
virtual const std::string & getClassName(void) const
Definition: double-constant.hh:21
dynamicgraph::SignalTimeDependent< double, sigtime_t >
dynamicgraph::sot::DoubleConstant::~DoubleConstant
virtual ~DoubleConstant(void)
Definition: double-constant.hh:25
dynamicgraph::sot::DoubleConstant::SOUT
SignalTimeDependent< double, sigtime_t > SOUT
Definition: double-constant.hh:27
dynamicgraph::sot::DoubleConstant
Definition: double-constant.hh:18


sot-core
Author(s): Olivier Stasse, ostasse@laas.fr
autogenerated on Tue Oct 24 2023 02:26:31