com-freezer.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_SOTCOMFREEZER_H_H
11 #define __SOT_SOTCOMFREEZER_H_H
12 
13 /* --------------------------------------------------------------------- */
14 /* --- INCLUDE --------------------------------------------------------- */
15 /* --------------------------------------------------------------------- */
16 
17 /* Matrix */
19 
20 /* SOT */
22 #include <dynamic-graph/entity.h>
23 
24 /* --------------------------------------------------------------------- */
25 /* --- API ------------------------------------------------------------- */
26 /* --------------------------------------------------------------------- */
27 
28 #if defined(WIN32)
29 #if defined(com_freezer_EXPORTS)
30 #define SOTCOMFREEZER_EXPORT __declspec(dllexport)
31 #else
32 #define SOTCOMFREEZER_EXPORT __declspec(dllimport)
33 #endif
34 #else
35 #define SOTCOMFREEZER_EXPORT
36 #endif
37 
38 namespace dynamicgraph {
39 namespace sot {
40 
41 /* --------------------------------------------------------------------- */
42 /* --- CLASS ----------------------------------------------------------- */
43 /* --------------------------------------------------------------------- */
44 
46  public:
47  static const std::string CLASS_NAME;
48  virtual const std::string &getClassName() const { return CLASS_NAME; }
49 
50  private:
54 
55  public: /* --- CONSTRUCTION --- */
56  CoMFreezer(const std::string &name);
57  virtual ~CoMFreezer(void);
58 
59  public: /* --- SIGNAL --- */
64 
65  public: /* --- FUNCTION --- */
66  dynamicgraph::Vector &computeFreezedCoM(dynamicgraph::Vector &freezedCoM,
67  const sigtime_t &time);
68 
69  public: /* --- PARAMS --- */
70  virtual void display(std::ostream &os) const;
71 };
72 
73 } /* namespace sot */
74 } /* namespace dynamicgraph */
75 
76 #endif /* #ifndef __SOT_SOTCOMFREEZER_H_H */
dynamicgraph::sot::CoMFreezer::PGInProcessSIN
dynamicgraph::SignalPtr< unsigned, sigtime_t > PGInProcessSIN
Definition: com-freezer.hh:61
dynamicgraph::sot::CoMFreezer::m_lastStopTime
sigtime_t m_lastStopTime
Definition: com-freezer.hh:53
dynamicgraph::SignalPtr< dynamicgraph::Vector, sigtime_t >
dynamicgraph
dynamicgraph::Entity
dynamicgraph::sot::CoMFreezer::m_lastCoM
dynamicgraph::Vector m_lastCoM
Definition: com-freezer.hh:51
dynamicgraph::sot::CoMFreezer
Definition: com-freezer.hh:45
dynamicgraph::sot::CoMFreezer::m_previousPGInProcess
bool m_previousPGInProcess
Definition: com-freezer.hh:52
dynamicgraph::sigtime_t
int64_t sigtime_t
dynamicgraph::sot::CoMFreezer::freezedCoMSOUT
dynamicgraph::SignalTimeDependent< dynamicgraph::Vector, sigtime_t > freezedCoMSOUT
Definition: com-freezer.hh:63
dynamicgraph::sot::CoMFreezer::getClassName
virtual const std::string & getClassName() const
Definition: com-freezer.hh:48
all-signals.h
display
SOTCOMFREEZER_EXPORT
#define SOTCOMFREEZER_EXPORT
Definition: com-freezer.hh:35
dynamicgraph::Vector
Eigen::VectorXd Vector
linear-algebra.h
dynamicgraph::sot::CoMFreezer::CLASS_NAME
static const std::string CLASS_NAME
Definition: com-freezer.hh:47
dynamicgraph::sot::CoMFreezer::CoMRefSIN
dynamicgraph::SignalPtr< dynamicgraph::Vector, sigtime_t > CoMRefSIN
Definition: com-freezer.hh:60
dynamicgraph::SignalTimeDependent< dynamicgraph::Vector, sigtime_t >
compile.name
name
Definition: compile.py:23


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