task-unilateral.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_TASKUNILATERAL_H__
11 #define __SOT_TASKUNILATERAL_H__
12 
13 /* --------------------------------------------------------------------- */
14 /* --- INCLUDE --------------------------------------------------------- */
15 /* --------------------------------------------------------------------- */
16 
17 /* Matrix */
19 
20 /* STD */
21 #include <string>
22 
23 /* SOT */
26 #include <sot/core/flags.hh>
27 #include <sot/core/task.hh>
28 
29 /* --------------------------------------------------------------------- */
30 /* --- API ------------------------------------------------------------- */
31 /* --------------------------------------------------------------------- */
32 
33 #if defined(WIN32)
34 #if defined(task_unilateral_EXPORTS)
35 #define SOTTASKUNILATERAL_EXPORT __declspec(dllexport)
36 #else
37 #define SOTTASKUNILATERAL_EXPORT __declspec(dllimport)
38 #endif
39 #else
40 #define SOTTASKUNILATERAL_EXPORT
41 #endif
42 
43 /* --------------------------------------------------------------------- */
44 /* --- CLASS ----------------------------------------------------------- */
45 /* --------------------------------------------------------------------- */
46 
47 namespace dynamicgraph {
48 namespace sot {
49 
51  protected:
52  std::list<FeatureAbstract *> featureList;
53 
54  public:
55  static const std::string CLASS_NAME;
56  virtual const std::string &getClassName(void) const { return CLASS_NAME; }
57 
58  public:
59  TaskUnilateral(const std::string &n);
60 
61  /* --- COMPUTATION --- */
62  VectorMultiBound &computeTaskUnilateral(VectorMultiBound &res,
63  sigtime_t time);
64 
65  /* --- SIGNALS ------------------------------------------------------------ */
66  public:
71 
72  /* --- DISPLAY ------------------------------------------------------------ */
73  void display(std::ostream &os) const;
74 };
75 
76 } /* namespace sot */
77 } /* namespace dynamicgraph */
78 
79 #endif /* #ifndef __SOT_TASKUNILATERAL_H__ */
dynamicgraph::sot::TaskUnilateral::positionSIN
dynamicgraph::SignalPtr< dynamicgraph::Vector, sigtime_t > positionSIN
Definition: task-unilateral.hh:67
dynamicgraph::SignalPtr< dynamicgraph::Vector, sigtime_t >
dynamicgraph
dynamicgraph::sot::VectorMultiBound
std::vector< MultiBound > VectorMultiBound
Definition: multi-bound.hh:72
dynamicgraph::sot::TaskUnilateral::referenceSupSIN
dynamicgraph::SignalPtr< dynamicgraph::Vector, sigtime_t > referenceSupSIN
Definition: task-unilateral.hh:69
dynamicgraph::sot::TaskUnilateral::CLASS_NAME
static const std::string CLASS_NAME
Definition: task-unilateral.hh:55
dynamicgraph::sot::TaskUnilateral::referenceInfSIN
dynamicgraph::SignalPtr< dynamicgraph::Vector, sigtime_t > referenceInfSIN
Definition: task-unilateral.hh:68
dynamicgraph::sot::TaskUnilateral::dtSIN
dynamicgraph::SignalPtr< double, sigtime_t > dtSIN
Definition: task-unilateral.hh:70
task.hh
feature-abstract.hh
dynamicgraph::sot::TaskUnilateral::featureList
std::list< FeatureAbstract * > featureList
Definition: task-unilateral.hh:52
dynamicgraph::sigtime_t
int64_t sigtime_t
display
flags.hh
SOTTASKUNILATERAL_EXPORT
#define SOTTASKUNILATERAL_EXPORT
Definition: task-unilateral.hh:40
linear-algebra.h
exception-task.hh
dynamicgraph::sot::Task
Class that defines the basic elements of a task.
Definition: task.hh:72
dynamicgraph::sot::TaskUnilateral
Definition: task-unilateral.hh:50
dynamicgraph::sot::TaskUnilateral::getClassName
virtual const std::string & getClassName(void) const
Definition: task-unilateral.hh:56
n
Vec3f n


sot-core
Author(s): Olivier Stasse, ostasse@laas.fr
autogenerated on Tue Oct 24 2023 02:26:31