sot-core  4.11.2
Hierarchical task solver plug-in for dynamic-graph.
vector-constant.hh
Go to the documentation of this file.
1 /*
2  * Copyright 2010,
3  * François Bleibel,
4  * Olivier Stasse,
5  *
6  * CNRS/AIST
7  *
8  */
9 
10 #ifndef DYNAMICGRAPH_SOT_VECTOR_CONSTANT_H
11 #define DYNAMICGRAPH_SOT_VECTOR_CONSTANT_H
12 
13 #include <dynamic-graph/entity.h>
14 
15 #include <dynamic-graph/all-signals.h>
16 
17 /* Matrix */
18 #include <dynamic-graph/linear-algebra.h>
19 
20 /* --------------------------------------------------------------------- */
21 /* --- VECTOR ---------------------------------------------------------- */
22 /* --------------------------------------------------------------------- */
23 namespace dynamicgraph {
24 namespace sot {
25 
26 namespace command {
27 namespace vectorConstant {
28 class Resize;
29 }
30 } // namespace command
31 
32 class VectorConstant : public Entity {
33  friend class command::vectorConstant::Resize;
34  int rows;
35 
36 public:
37  static const std::string CLASS_NAME;
38  virtual const std::string &getClassName(void) const { return CLASS_NAME; }
39 
40  VectorConstant(const std::string &name);
41 
42  virtual ~VectorConstant(void) {}
43 
44  SignalTimeDependent<dynamicgraph::Vector, int> SOUT;
45 
47  void setValue(const dynamicgraph::Vector &inValue);
48 };
49 
50 } // namespace sot
51 } // namespace dynamicgraph
52 
53 #endif // DYNAMICGRAPH_SOT_VECTOR_CONSTANT_H
SignalTimeDependent< dynamicgraph::Vector, int > SOUT
Definition: vector-constant.hh:44
virtual ~VectorConstant(void)
Definition: vector-constant.hh:42
static const std::string CLASS_NAME
Definition: vector-constant.hh:37
virtual const std::string & getClassName(void) const
Definition: vector-constant.hh:38
Definition: vector-constant.hh:32
Definition: abstract-sot-external-interface.hh:17