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
SignalTimeDependent< double, int > SOUT
static const std::string CLASS_NAME
DoubleConstant(const std::string &name)
virtual const std::string & getClassName(void) const
void setValue(const double &inValue)
Set value of vector (and therefore of output signal)


sot-core
Author(s): Olivier Stasse, ostasse@laas.fr
autogenerated on Wed Jun 21 2023 02:51:26