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
}
dynamicgraph::sot::TaskAbstract::taskRegistration
void taskRegistration(void)
Definition:
task-abstract.cpp:34
dynamicgraph
dynamicgraph::Entity
dynamicgraph::Entity::name
std::string name
dynamicgraph::sot::TaskAbstract::jacobianSOUT
dynamicgraph::SignalTimeDependent< dynamicgraph::Matrix, sigtime_t > jacobianSOUT
Definition:
task-abstract.hh:80
pool.hh
dynamicgraph::sot::TaskAbstract::TaskAbstract
TaskAbstract(const std::string &n)
Definition:
task-abstract.cpp:25
dynamicgraph::sot::TaskAbstract::taskSOUT
dynamicgraph::SignalTimeDependent< VectorMultiBound, sigtime_t > taskSOUT
Definition:
task-abstract.hh:78
dynamicgraph::PoolStorage::getInstance
static PoolStorage * getInstance()
Definition:
pool.cpp:147
dynamicgraph::sot
task-abstract.hh
dynamicgraph::Entity::signalRegistration
void signalRegistration(const SignalArray< sigtime_t > &signals)
n
Vec3f n
sot-core
Author(s): Olivier Stasse, ostasse@laas.fr
autogenerated on Tue Oct 24 2023 02:26:31