Go to the documentation of this file.
11 #include <dynamic-graph/entity.h>
13 #include <dynamic-graph/factory.h>
14 #include <dynamic-graph/pool.h>
19 #include <boost/bind.hpp>
25 m_sigdSIN(NULL,
"CustomEntity(" +
name +
")::input(double)::in_double"),
28 "CustomEntity(" +
name +
")::input(double)::out_double")
35 this->addCommand(
"act",
50 const double &aDouble =
m_sigdSIN(inTime);
54 <<
"This is a message of level MSG_TYPE_DEBUG\n";
56 <<
"This is a message of level MSG_TYPE_INFO\n";
58 <<
"This is a message of level MSG_TYPE_WARNING\n";
60 <<
"This is a message of level MSG_TYPE_ERROR\n";
62 <<
"This is a message of level MSG_TYPE_DEBUG_STREAM\n";
64 <<
"This is a message of level MSG_TYPE_INFO_STREAM\n";
66 <<
"This is a message of level MSG_TYPE_WARNING_STREAM\n";
68 <<
"This is a message of level MSG_TYPE_ERROR_STREAM\n";
dynamicgraph::SignalTimeDependent< double, sigtime_t > m_sigdTimeDepSOUT
virtual const T & accessCopy() const
dynamicgraph::sigtime_t sigtime_t
std::string docCommandVoid0(const std::string &doc)
DYNAMICGRAPH_FACTORY_ENTITY_PLUGIN(CustomEntity, "CustomEntity")
CustomEntity(const std::string &n)
CommandVoid0< E > * makeCommandVoid0(E &entity, boost::function< void(E *)> function, const std::string &docString)
dynamicgraph::SignalPtr< double, sigtime_t > m_sigdSIN
#define DYNAMIC_GRAPH_ENTITY_DEBUG(entity)
#define DYNAMIC_GRAPH_ENTITY_DEBUG_STREAM(entity)
double & update(double &res, const sigtime_t &inTime)
#define DYNAMIC_GRAPH_ENTITY_ERROR(entity)
#define DYNAMIC_GRAPH_ENTITY_WARNING(entity)
#define DYNAMIC_GRAPH_ENTITY_ERROR_STREAM(entity)
#define DYNAMIC_GRAPH_ENTITY_INFO(entity)
#define DYNAMIC_GRAPH_ENTITY_INFO_STREAM(entity)
void signalDeregistration(const std::string &name)
void signalRegistration(const SignalArray< sigtime_t > &signals)
#define DYNAMIC_GRAPH_ENTITY_WARNING_STREAM(entity)
dynamic-graph-python
Author(s): Nicolas Mansard, Olivier Stasse
autogenerated on Fri Oct 27 2023 02:16:36