Skip to content
Snippets Groups Projects
Commit 76516a95 authored by Julian Viereck's avatar Julian Viereck Committed by olivier stasse
Browse files

Use SOT_CORE_DLLAPI

parent af1667e1
No related branches found
No related tags found
No related merge requests found
......@@ -24,6 +24,7 @@
/* --- INCLUDE --------------------------------------------------------- */
/* --------------------------------------------------------------------- */
#include <sot/core/config.hh>
#include <dynamic-graph/entity.h>
#include <dynamic-graph/signal-ptr.h>
#include <dynamic-graph/signal-time-dependent.h>
......@@ -33,20 +34,6 @@ namespace dg = ::dynamicgraph;
namespace dynamicgraph {
namespace sot {
/* --------------------------------------------------------------------- */
/* --- API ------------------------------------------------------------- */
/* --------------------------------------------------------------------- */
#if defined (WIN32)
# if defined (reader_EXPORTS)
# define SOTEXPMOVINGAVG_EXPORT __declspec(dllexport)
# else
# define SOTEXPMOVINGAVG_EXPORT __declspec(dllimport)
# endif
#else
# define SOTEXPMOVINGAVG_EXPORT
#endif
/* --------------------------------------------------------------------- */
/* --- TRACER ---------------------------------------------------------- */
/* --------------------------------------------------------------------- */
......@@ -55,7 +42,7 @@ using dynamicgraph::Entity;
using dynamicgraph::SignalPtr;
using dynamicgraph::SignalTimeDependent;
class SOTEXPMOVINGAVG_EXPORT ExpMovingAvg
class SOT_CORE_DLLAPI ExpMovingAvg
: public Entity
{
DYNAMIC_GRAPH_ENTITY_DECL();
......
......@@ -24,6 +24,7 @@
/* --- INCLUDE --------------------------------------------------------- */
/* --------------------------------------------------------------------- */
#include <sot/core/config.hh>
#include <dynamic-graph/entity.h>
#include <dynamic-graph/signal-ptr.h>
#include <dynamic-graph/signal-time-dependent.h>
......@@ -33,20 +34,6 @@ namespace dg = ::dynamicgraph;
namespace dynamicgraph {
namespace sot {
/* --------------------------------------------------------------------- */
/* --- API ------------------------------------------------------------- */
/* --------------------------------------------------------------------- */
#if defined (WIN32)
# if defined (reader_EXPORTS)
# define SOTGRADIENTASCENT_EXPORT __declspec(dllexport)
# else
# define SOTGRADIENTASCENT_EXPORT __declspec(dllimport)
# endif
#else
# define SOTGRADIENTASCENT_EXPORT
#endif
/* --------------------------------------------------------------------- */
/* --- TRACER ---------------------------------------------------------- */
/* --------------------------------------------------------------------- */
......@@ -55,7 +42,7 @@ using dynamicgraph::Entity;
using dynamicgraph::SignalPtr;
using dynamicgraph::SignalTimeDependent;
class SOTGRADIENTASCENT_EXPORT GradientAscent
class SOT_CORE_DLLAPI GradientAscent
: public Entity
{
DYNAMIC_GRAPH_ENTITY_DECL();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment