Macros
signal-helper.h File Reference
#include <dynamic-graph/entity.h>
#include <dynamic-graph/linear-algebra.h>
#include <dynamic-graph/signal-ptr.h>
#include <dynamic-graph/signal-time-dependent.h>
Include dependency graph for signal-helper.h:

Go to the source code of this file.

Macros

#define BIND_SIGNAL_TO_FUNCTION(name, IO, type)
 
#define CONSTRUCT_SIGNAL(name, IO, type)
 
#define CONSTRUCT_SIGNAL_IN(name, type)
 
#define CONSTRUCT_SIGNAL_INNER(name, type, dep)
 
#define CONSTRUCT_SIGNAL_OUT(name, type, dep)
 
#define DECLARE_SIGNAL(name, IO, type)   ::dynamicgraph::Signal<type, int> m_##name##S##IO
 
#define DECLARE_SIGNAL_IN(name, type)   ::dynamicgraph::SignalPtr<type, int> m_##name##SIN
 
#define DECLARE_SIGNAL_INNER(name, type)
 
#define DECLARE_SIGNAL_INNER_FUNCTION(name, type)   type &SIGNAL_INNER_FUNCTION_NAME(name)(type &, int)
 
#define DECLARE_SIGNAL_OUT(name, type)
 
#define DECLARE_SIGNAL_OUT_FUNCTION(name, type)   type &SIGNAL_OUT_FUNCTION_NAME(name)(type &, int)
 
#define DEFINE_SIGNAL_INNER_FUNCTION(name, type)   type &EntityClassName::SIGNAL_INNER_FUNCTION_NAME(name)(type & s, int iter)
 
#define DEFINE_SIGNAL_OUT_FUNCTION(name, type)   type &EntityClassName::SIGNAL_OUT_FUNCTION_NAME(name)(type & s, int iter)
 
#define SIGNAL_INNER_FUNCTION_NAME(name)   name##SINNER_function
 
#define SIGNAL_OUT_FUNCTION(name)   name##SOUT_function
 
#define SIGNAL_OUT_FUNCTION_NAME(name)   name##SOUT_function
 

Macro Definition Documentation

◆ BIND_SIGNAL_TO_FUNCTION

#define BIND_SIGNAL_TO_FUNCTION (   name,
  IO,
  type 
)
Value:
m_##name##S##IO.setFunction(boost::bind( \
#define SIGNAL_OUT_FUNCTION_NAME(name)
Definition: signal-helper.h:20

Definition at line 27 of file signal-helper.h.

◆ CONSTRUCT_SIGNAL

#define CONSTRUCT_SIGNAL (   name,
  IO,
  type 
)
Value:
m_##name##S##IO(getClassName() + "(" + getName() + ")::" + #IO + "put(" + \
#type + ")::" + #name)

Definition at line 24 of file signal-helper.h.

◆ CONSTRUCT_SIGNAL_IN

#define CONSTRUCT_SIGNAL_IN (   name,
  type 
)
Value:
m_##name##SIN(NULL, getClassName() + "(" + getName() + ")::input(" + #type + \
")::" + #name)

Definition at line 35 of file signal-helper.h.

◆ CONSTRUCT_SIGNAL_INNER

#define CONSTRUCT_SIGNAL_INNER (   name,
  type,
  dep 
)
Value:
m_##name##SINNER( \
boost::bind(&EntityClassName::name##SINNER_function, this, _1, _2), dep, \
getClassName() + "(" + getName() + ")::inner(" + #type + ")::" + #name)

Definition at line 77 of file signal-helper.h.

◆ CONSTRUCT_SIGNAL_OUT

#define CONSTRUCT_SIGNAL_OUT (   name,
  type,
  dep 
)
Value:
m_##name##SOUT( \
boost::bind(&EntityClassName::name##SOUT_function, this, _1, _2), dep, \
getClassName() + "(" + getName() + ")::output(" + #type + ")::" + #name)

Definition at line 56 of file signal-helper.h.

◆ DECLARE_SIGNAL

#define DECLARE_SIGNAL (   name,
  IO,
  type 
)    ::dynamicgraph::Signal<type, int> m_##name##S##IO

Definition at line 22 of file signal-helper.h.

◆ DECLARE_SIGNAL_IN

#define DECLARE_SIGNAL_IN (   name,
  type 
)    ::dynamicgraph::SignalPtr<type, int> m_##name##SIN

Definition at line 33 of file signal-helper.h.

◆ DECLARE_SIGNAL_INNER

#define DECLARE_SIGNAL_INNER (   name,
  type 
)
Value:
public: \
\
protected: \
DECLARE_SIGNAL_INNER_FUNCTION(name, type)
A type of signal that enforces a time dependency between other signals, making sure its inputs are up...
Definition: fwd.hh:56

Definition at line 70 of file signal-helper.h.

◆ DECLARE_SIGNAL_INNER_FUNCTION

#define DECLARE_SIGNAL_INNER_FUNCTION (   name,
  type 
)    type &SIGNAL_INNER_FUNCTION_NAME(name)(type &, int)

Definition at line 64 of file signal-helper.h.

◆ DECLARE_SIGNAL_OUT

#define DECLARE_SIGNAL_OUT (   name,
  type 
)
Value:
public: \
\
protected: \
type &SIGNAL_OUT_FUNCTION(name)(type &, int)
A type of signal that enforces a time dependency between other signals, making sure its inputs are up...
Definition: fwd.hh:56
#define SIGNAL_OUT_FUNCTION(name)
Definition: signal-helper.h:47

Definition at line 49 of file signal-helper.h.

◆ DECLARE_SIGNAL_OUT_FUNCTION

#define DECLARE_SIGNAL_OUT_FUNCTION (   name,
  type 
)    type &SIGNAL_OUT_FUNCTION_NAME(name)(type &, int)

Definition at line 41 of file signal-helper.h.

◆ DEFINE_SIGNAL_INNER_FUNCTION

#define DEFINE_SIGNAL_INNER_FUNCTION (   name,
  type 
)    type &EntityClassName::SIGNAL_INNER_FUNCTION_NAME(name)(type & s, int iter)

Definition at line 67 of file signal-helper.h.

◆ DEFINE_SIGNAL_OUT_FUNCTION

#define DEFINE_SIGNAL_OUT_FUNCTION (   name,
  type 
)    type &EntityClassName::SIGNAL_OUT_FUNCTION_NAME(name)(type & s, int iter)

Definition at line 44 of file signal-helper.h.

◆ SIGNAL_INNER_FUNCTION_NAME

#define SIGNAL_INNER_FUNCTION_NAME (   name)    name##SINNER_function

Definition at line 62 of file signal-helper.h.

◆ SIGNAL_OUT_FUNCTION

#define SIGNAL_OUT_FUNCTION (   name)    name##SOUT_function

Definition at line 47 of file signal-helper.h.

◆ SIGNAL_OUT_FUNCTION_NAME

#define SIGNAL_OUT_FUNCTION_NAME (   name)    name##SOUT_function

Definition at line 20 of file signal-helper.h.



dynamic-graph
Author(s): Nicolas Mansard, Olivier Stasse
autogenerated on Sun Jun 25 2023 02:06:03