src
task
task-abstract.cpp
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
/* --------------------------------------------------------------------- */
11
/* --- INCLUDE --------------------------------------------------------- */
12
/* --------------------------------------------------------------------- */
13
14
/* SOT */
15
#include <
sot/core/pool.hh
>
16
#include <
sot/core/task-abstract.hh
>
17
18
using namespace
dynamicgraph::sot
;
19
using namespace
dynamicgraph
;
20
21
/* --------------------------------------------------------------------- */
22
/* --- CLASS ----------------------------------------------------------- */
23
/* --------------------------------------------------------------------- */
24
25
TaskAbstract::TaskAbstract
(
const
std::string &
n
)
26
:
Entity
(n),
27
memoryInternal(NULL),
28
taskSOUT(
"sotTaskAbstract("
+ n +
")::output(vector)::task"
),
29
jacobianSOUT(
"sotTaskAbstract("
+ n +
")::output(matrix)::jacobian"
) {
30
taskRegistration
();
31
signalRegistration
(
taskSOUT
<<
jacobianSOUT
);
32
}
33
34
void
TaskAbstract::taskRegistration
(
void
) {
35
PoolStorage::getInstance
()->registerTask(
name
,
this
);
36
}
n
Vec3f n
dynamicgraph::Entity
dynamicgraph::Entity::signalRegistration
void signalRegistration(const SignalArray< int > &signals)
dynamicgraph::sot::TaskAbstract::taskSOUT
dynamicgraph::SignalTimeDependent< VectorMultiBound, int > taskSOUT
Definition:
task-abstract.hh:81
task-abstract.hh
pool.hh
dynamicgraph::PoolStorage::getInstance
static PoolStorage * getInstance()
Definition:
pool.cpp:147
dynamicgraph::sot::TaskAbstract::jacobianSOUT
dynamicgraph::SignalTimeDependent< dynamicgraph::Matrix, int > jacobianSOUT
Definition:
task-abstract.hh:82
dynamicgraph::Entity::name
std::string name
dynamicgraph::sot
dynamicgraph::sot::TaskAbstract::TaskAbstract
TaskAbstract(const std::string &n)
Definition:
task-abstract.cpp:25
dynamicgraph
dynamicgraph::sot::TaskAbstract::taskRegistration
void taskRegistration(void)
Definition:
task-abstract.cpp:34
sot-core
Author(s): Olivier Stasse, ostasse@laas.fr
autogenerated on Wed Jun 21 2023 02:51:26