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, sigtime_t> m_##name##S##IO
 
#define DECLARE_SIGNAL_IN(name, type)   ::dynamicgraph::SignalPtr<type, sigtime_t> m_##name##SIN
 
#define DECLARE_SIGNAL_INNER(name, type)
 
#define DECLARE_SIGNAL_INNER_FUNCTION(name, type)   type &SIGNAL_INNER_FUNCTION_NAME(name)(type &, sigtime_t)
 
#define DECLARE_SIGNAL_OUT(name, type)
 
#define DECLARE_SIGNAL_OUT_FUNCTION(name, type)   type &SIGNAL_OUT_FUNCTION_NAME(name)(type &, sigtime_t)
 
#define DEFINE_SIGNAL_INNER_FUNCTION(name, type)
 
#define DEFINE_SIGNAL_OUT_FUNCTION(name, type)
 
#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( \

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 79 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 57 of file signal-helper.h.

◆ DECLARE_SIGNAL

#define DECLARE_SIGNAL (   name,
  IO,
  type 
)    ::dynamicgraph::Signal<type, sigtime_t> 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, sigtime_t> 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)

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

◆ DECLARE_SIGNAL_INNER_FUNCTION

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

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

◆ DECLARE_SIGNAL_OUT

#define DECLARE_SIGNAL_OUT (   name,
  type 
)
Value:
public: \
\
protected: \

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

◆ DECLARE_SIGNAL_OUT_FUNCTION

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

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

◆ DEFINE_SIGNAL_INNER_FUNCTION

#define DEFINE_SIGNAL_INNER_FUNCTION (   name,
  type 
)
Value:
sigtime_t iter)

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

◆ DEFINE_SIGNAL_OUT_FUNCTION

#define DEFINE_SIGNAL_OUT_FUNCTION (   name,
  type 
)
Value:
sigtime_t 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 63 of file signal-helper.h.

◆ SIGNAL_OUT_FUNCTION

#define SIGNAL_OUT_FUNCTION (   name)    name##SOUT_function

Definition at line 48 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.

SIGNAL_INNER_FUNCTION_NAME
#define SIGNAL_INNER_FUNCTION_NAME(name)
Definition: signal-helper.h:63
dynamicgraph::sigtime_t
int64_t sigtime_t
Definition: fwd.hh:12
SIGNAL_OUT_FUNCTION_NAME
#define SIGNAL_OUT_FUNCTION_NAME(name)
Definition: signal-helper.h:20
dynamicgraph::SignalTimeDependent
A type of signal that enforces a time dependency between other signals, making sure its inputs are up...
Definition: fwd.hh:58
SIGNAL_OUT_FUNCTION
#define SIGNAL_OUT_FUNCTION(name)
Definition: signal-helper.h:48
compile.name
name
Definition: compile.py:23


dynamic-graph
Author(s): Nicolas Mansard, Olivier Stasse
autogenerated on Fri Aug 2 2024 08:36:38