include
sot
core
task-abstract.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 __SOT_TASKABSTRACT_H__
11
#define __SOT_TASKABSTRACT_H__
12
13
/* --------------------------------------------------------------------- */
14
/* --- INCLUDE --------------------------------------------------------- */
15
/* --------------------------------------------------------------------- */
16
17
/* Matrix */
18
#include <
dynamic-graph/linear-algebra.h
>
19
20
#include <Eigen/SVD>
21
22
/* STD */
23
#include <string>
24
25
/* SOT */
26
#include <
dynamic-graph/all-signals.h
>
27
#include <dynamic-graph/entity.h>
28
29
#include <
sot/core/multi-bound.hh
>
30
31
#include "
sot/core/api.hh
"
32
33
/* --------------------------------------------------------------------- */
34
/* --- CLASS ----------------------------------------------------------- */
35
/* --------------------------------------------------------------------- */
36
37
namespace
dynamicgraph
{
38
namespace
sot {
39
50
51
class
SOT_CORE_EXPORT
TaskAbstract
:
public
dynamicgraph::Entity
{
52
public
:
53
/* Use a derivative of this class to store computational memory. */
54
class
MemoryTaskAbstract
{
55
public
:
56
MemoryTaskAbstract
(
void
){};
57
virtual
~MemoryTaskAbstract
(
void
){};
58
59
public
:
60
virtual
void
display
(std::ostream &os)
const
= 0;
61
friend
std::ostream &
operator<<
(std::ostream &os,
62
const
MemoryTaskAbstract
&tcm) {
63
tcm.
display
(os);
64
return
os;
65
}
66
};
67
68
public
:
69
MemoryTaskAbstract
*
memoryInternal
;
70
71
protected
:
72
void
taskRegistration(
void
);
73
74
public
:
75
TaskAbstract
(
const
std::string &
n
);
76
77
public
:
/* --- SIGNALS --- */
78
dynamicgraph::SignalTimeDependent<VectorMultiBound, sigtime_t>
taskSOUT
;
79
dynamicgraph::SignalTimeDependent<dynamicgraph::Matrix, sigtime_t>
80
jacobianSOUT
;
81
};
82
83
}
/* namespace sot */
84
}
/* namespace dynamicgraph */
85
86
#endif
/* #ifndef __SOT_TASKABSTRACT_H__ */
SOT_CORE_EXPORT
#define SOT_CORE_EXPORT
Definition:
api.hh:20
multi-bound.hh
dynamicgraph::sot::TaskAbstract::MemoryTaskAbstract
Definition:
task-abstract.hh:54
dynamicgraph
dynamicgraph::Entity
dynamicgraph::sot::TaskAbstract::MemoryTaskAbstract::display
virtual void display(std::ostream &os) const =0
dynamicgraph::sot::TaskAbstract
Definition:
task-abstract.hh:51
api.hh
dynamicgraph::sot::TaskAbstract::jacobianSOUT
dynamicgraph::SignalTimeDependent< dynamicgraph::Matrix, sigtime_t > jacobianSOUT
Definition:
task-abstract.hh:80
all-signals.h
display
linear-algebra.h
dynamicgraph::sot::TaskAbstract::taskSOUT
dynamicgraph::SignalTimeDependent< VectorMultiBound, sigtime_t > taskSOUT
Definition:
task-abstract.hh:78
dynamicgraph::SignalTimeDependent< VectorMultiBound, sigtime_t >
dynamicgraph::sot::TaskAbstract::MemoryTaskAbstract::operator<<
friend std::ostream & operator<<(std::ostream &os, const MemoryTaskAbstract &tcm)
Definition:
task-abstract.hh:61
dynamicgraph::sot::TaskAbstract::MemoryTaskAbstract::MemoryTaskAbstract
MemoryTaskAbstract(void)
Definition:
task-abstract.hh:56
dynamicgraph::sot::TaskAbstract::memoryInternal
MemoryTaskAbstract * memoryInternal
Definition:
task-abstract.hh:69
n
Vec3f n
dynamicgraph::sot::TaskAbstract::MemoryTaskAbstract::~MemoryTaskAbstract
virtual ~MemoryTaskAbstract(void)
Definition:
task-abstract.hh:57
sot-core
Author(s): Olivier Stasse, ostasse@laas.fr
autogenerated on Tue Oct 24 2023 02:26:31