include
sot
core
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/all-signals.h
>
14
#include <dynamic-graph/entity.h>
15
16
/* Matrix */
17
#include <
dynamic-graph/linear-algebra.h
>
18
19
/* --------------------------------------------------------------------- */
20
/* --- VECTOR ---------------------------------------------------------- */
21
/* --------------------------------------------------------------------- */
22
namespace
dynamicgraph
{
23
namespace
sot {
24
25
namespace
command {
26
namespace
vectorConstant {
27
class
Resize
;
28
}
29
}
// namespace command
30
31
class
VectorConstant
:
public
Entity
{
32
friend
class
command::vectorConstant::Resize
;
33
size_type
rows
;
34
35
public
:
36
static
const
std::string
CLASS_NAME
;
37
virtual
const
std::string &
getClassName
(
void
)
const
{
return
CLASS_NAME
; }
38
39
VectorConstant
(
const
std::string &
name
);
40
41
virtual
~VectorConstant
(
void
) {}
42
43
SignalTimeDependent<dynamicgraph::Vector, sigtime_t>
SOUT
;
44
46
void
setValue
(
const
dynamicgraph::Vector
&inValue);
47
};
48
49
}
// namespace sot
50
}
// namespace dynamicgraph
51
52
#endif // DYNAMICGRAPH_SOT_VECTOR_CONSTANT_H
dynamicgraph::sot::command::vectorConstant::Resize
Definition:
vector-constant-command.h:26
dynamicgraph::sot::VectorConstant::CLASS_NAME
static const std::string CLASS_NAME
Definition:
vector-constant.hh:36
dynamicgraph
dynamicgraph::Entity
dynamicgraph::sot::VectorConstant
Definition:
vector-constant.hh:31
dynamicgraph::Entity::name
std::string name
dynamicgraph::sot::VectorConstant::VectorConstant
VectorConstant(const std::string &name)
Definition:
vector-constant.cpp:24
all-signals.h
dynamicgraph::sot::VectorConstant::rows
size_type rows
Definition:
vector-constant.hh:33
dynamicgraph::size_type
Matrix::Index size_type
dynamicgraph::Vector
Eigen::VectorXd Vector
linear-algebra.h
dynamicgraph::sot::VectorConstant::SOUT
SignalTimeDependent< dynamicgraph::Vector, sigtime_t > SOUT
Definition:
vector-constant.hh:43
dynamicgraph::SignalTimeDependent< dynamicgraph::Vector, sigtime_t >
dynamicgraph::sot::VectorConstant::getClassName
virtual const std::string & getClassName(void) const
Definition:
vector-constant.hh:37
dynamicgraph::sot::VectorConstant::~VectorConstant
virtual ~VectorConstant(void)
Definition:
vector-constant.hh:41
dynamicgraph::sot::VectorConstant::setValue
void setValue(const dynamicgraph::Vector &inValue)
Set value of vector (and therefore of output signal)
Definition:
vector-constant.cpp:57
sot-core
Author(s): Olivier Stasse, ostasse@laas.fr
autogenerated on Tue Oct 24 2023 02:26:32