#include <dynamic-graph/signal-cast-helper.h>
Static Public Member Functions | |
static T | cast (std::istringstream &) |
static void | disp (const T &, std::ostream &) |
static void | trace (const T &t, std::ostream &os) |
static boost::any | cast_ (std::istringstream &stringValue) |
static void | disp_ (const boost::any &t, std::ostream &os) |
static void | trace_ (const boost::any &t, std::ostream &os) |
This class is only used to group together static functions who differ by a template parameter. It is never actually instanced (the private constructor makes sure of that). Typical use of this class is to add the caster in the dg graph: dynamicgraph::SignalCastRegisterer sotCastRegisterer_TYPE (typeid(TYPE), SignalCast<TYPE>::disp_, SignalCast<TYPE>::cast_, SignalCast<TYPE>::trace_);
NMSD: I don't really understand the use of this additional class. IMHO (comme on dit), it should be possible to rewrite the same-spec macros using specialization of the template class DefaultCastRegisterer. No?
|
inlinestatic |
|
inlinestatic |
References dynamicgraph::DefaultCastRegisterer< T >::cast().
|
inlinestatic |
|
inlinestatic |
References dynamicgraph::DefaultCastRegisterer< T >::disp().
|
inlinestatic |
References dynamicgraph::DefaultCastRegisterer< T >::disp().
|
inlinestatic |