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 */
19 
20 #include <Eigen/SVD>
21 
22 /* STD */
23 #include <string>
24 
25 /* SOT */
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 
52  public:
53  /* Use a derivative of this class to store computational memory. */
55  public:
57 
58  public:
59  MemoryTaskAbstract(void) : timeLastChange(0){};
60  virtual ~MemoryTaskAbstract(void){};
61 
62  public:
63  virtual void display(std::ostream &os) const = 0;
64  friend std::ostream &operator<<(std::ostream &os,
65  const MemoryTaskAbstract &tcm) {
66  tcm.display(os);
67  return os;
68  }
69  };
70 
71  public:
73 
74  protected:
75  void taskRegistration(void);
76 
77  public:
78  TaskAbstract(const std::string &n);
79 
80  public: /* --- SIGNALS --- */
83 };
84 
85 } /* namespace sot */
86 } /* namespace dynamicgraph */
87 
88 #endif /* #ifndef __SOT_TASKABSTRACT_H__ */
Vec3f n
dynamicgraph::SignalTimeDependent< VectorMultiBound, int > taskSOUT
virtual void display(std::ostream &os) const =0
#define SOT_CORE_EXPORT
Definition: api.hh:20
dynamicgraph::SignalTimeDependent< dynamicgraph::Matrix, int > jacobianSOUT
friend std::ostream & operator<<(std::ostream &os, const MemoryTaskAbstract &tcm)
MemoryTaskAbstract * memoryInternal


sot-core
Author(s): Olivier Stasse, ostasse@laas.fr
autogenerated on Wed Jun 21 2023 02:51:26