integrator-euler-impl.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_INTEGRATOR_EULER_IMPL_H__
11 #define __SOT_INTEGRATOR_EULER_IMPL_H__
12 
13 /* --------------------------------------------------------------------- */
14 /* --- INCLUDE --------------------------------------------------------- */
15 /* --------------------------------------------------------------------- */
16 
17 /* SOT */
19 
20 /* --------------------------------------------------------------------- */
21 /* --- API ------------------------------------------------------------- */
22 /* --------------------------------------------------------------------- */
23 
24 #if defined(WIN32)
25 #if defined(integrator_euler_EXPORTS)
26 #define INTEGRATOR_EULER_EXPORT __declspec(dllexport)
27 #else
28 #define INTEGRATOR_EULER_EXPORT __declspec(dllimport)
29 #endif
30 #else
31 #define INTEGRATOR_EULER_EXPORT
32 #endif
33 
34 #ifdef WIN32
35 #define DECLARE_SPECIFICATION(className, sotSigType, sotCoefType) \
36  class INTEGRATOR_EULER_EXPORT className \
37  : public IntegratorEuler<sotSigType, sotCoefType> { \
38  public: \
39  std::string getTypeName(void); \
40  className(const std::string &name); \
41  };
42 #else
43 #define DECLARE_SPECIFICATION(className, sotSigType, sotCoefType) \
44  typedef IntegratorEuler<sotSigType, sotCoefType> className;
45 #endif // WIN32
46 
47 namespace dynamicgraph {
48 namespace sot {
49 DECLARE_SPECIFICATION(IntegratorEulerDoubleDouble, double, double)
50 DECLARE_SPECIFICATION(IntegratorEulerVectorDouble, Vector, double)
51 DECLARE_SPECIFICATION(IntegratorEulerVectorMatrix, Vector, Matrix)
52 } // namespace sot
53 } // namespace dynamicgraph
54 
55 #endif
Eigen::VectorXd Vector
#define DECLARE_SPECIFICATION(className, sotSigType, sotCoefType)
Eigen::MatrixXd Matrix


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