GCC Code Coverage Report
Directory: ./ Exec Total Coverage
File: include/sot/core/double-constant.hh Lines: 0 2 0.0 %
Date: 2023-03-13 12:09:37 Branches: 0 0 - %

Line Branch Exec Source
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>
13
#include <dynamic-graph/signal-time-dependent.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
27
  SignalTimeDependent<double, int> SOUT;
28
29
  /// \brief Set value of vector (and therefore of output signal)
30
  void setValue(const double &inValue);
31
};
32
33
}  // namespace sot
34
}  // namespace dynamicgraph
35
36
#endif  // DYNAMICGRAPH_SOT_DOUBLE_CONSTANT_H