GCC Code Coverage Report


Directory: ./
File: include/sot/core/matrix-constant.hh
Date: 2024-12-13 12:22:33
Exec Total Coverage
Lines: 0 2 0.0%
Branches: 0 0 -%

Line Branch Exec Source
1 /*
2 * Copyright 2010,
3 * François Bleibel,
4 * Olivier Stasse,
5 *
6 * CNRS/AIST
7 *
8 */
9
10 #include <dynamic-graph/all-signals.h>
11 #include <dynamic-graph/entity.h>
12
13 /* Matrix */
14 #include <dynamic-graph/linear-algebra.h>
15
16 /* --------------------------------------------------------------------- */
17 /* --- MATRIX ---------------------------------------------------------- */
18 /* --------------------------------------------------------------------- */
19
20 namespace dynamicgraph {
21 namespace sot {
22 namespace command {
23 namespace matrixConstant {
24 class Resize;
25 }
26 } // namespace command
27
28 class MatrixConstant : public Entity {
29 friend class command::matrixConstant::Resize;
30
31 public:
32 static const std::string CLASS_NAME;
33 virtual const std::string &getClassName(void) const { return CLASS_NAME; }
34
35 int rows, cols;
36 double color;
37
38 void setValue(const dynamicgraph::Matrix &inValue);
39
40 public:
41 MatrixConstant(const std::string &name);
42
43 virtual ~MatrixConstant(void) {}
44
45 SignalTimeDependent<dynamicgraph::Matrix, int> SOUT;
46 };
47
48 } // namespace sot
49 } // namespace dynamicgraph
50