include
sot
core
matrix-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
#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
size_type
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, sigtime_t>
SOUT
;
46
};
47
48
}
// namespace sot
49
}
// namespace dynamicgraph
dynamicgraph::sot::MatrixConstant::setValue
void setValue(const dynamicgraph::Matrix &inValue)
Definition:
matrix-constant.cpp:59
dynamicgraph::sot::command::matrixConstant::Resize
Definition:
matrix-constant-command.h:26
dynamicgraph::sot::MatrixConstant::~MatrixConstant
virtual ~MatrixConstant(void)
Definition:
matrix-constant.hh:43
dynamicgraph
dynamicgraph::Entity
dynamicgraph::Entity::name
std::string name
dynamicgraph::Matrix
Eigen::MatrixXd Matrix
dynamicgraph::sot::MatrixConstant
Definition:
matrix-constant.hh:28
all-signals.h
dynamicgraph::size_type
Matrix::Index size_type
dynamicgraph::sot::MatrixConstant::rows
size_type rows
Definition:
matrix-constant.hh:35
dynamicgraph::sot::MatrixConstant::CLASS_NAME
static const std::string CLASS_NAME
Definition:
matrix-constant.hh:32
linear-algebra.h
dynamicgraph::SignalTimeDependent< dynamicgraph::Matrix, sigtime_t >
dynamicgraph::sot::MatrixConstant::getClassName
virtual const std::string & getClassName(void) const
Definition:
matrix-constant.hh:33
dynamicgraph::sot::MatrixConstant::cols
size_type cols
Definition:
matrix-constant.hh:35
dynamicgraph::sot::MatrixConstant::color
double color
Definition:
matrix-constant.hh:36
dynamicgraph::sot::MatrixConstant::MatrixConstant
MatrixConstant(const std::string &name)
Definition:
matrix-constant.cpp:25
dynamicgraph::sot::MatrixConstant::SOUT
SignalTimeDependent< dynamicgraph::Matrix, sigtime_t > SOUT
Definition:
matrix-constant.hh:45
sot-core
Author(s): Olivier Stasse, ostasse@laas.fr
autogenerated on Tue Oct 24 2023 02:26:31