Go to the documentation of this file.
9 #ifndef SOT_CORE_VARIADICOP_HH
10 #define SOT_CORE_VARIADICOP_HH
21 #include <dynamic-graph/entity.h>
28 #include <boost/function.hpp>
38 template <
typename Tin,
typename Tout,
typename Time>
64 std::ostringstream oss;
91 const std::size_t oldSize =
signalsIN.size();
96 for (std::size_t
i = oldSize;
i < (std::size_t)
n; ++
i) {
98 std::ostringstream oss;
113 throw std::out_of_range(
"Wrong signal index");
138 template <
typename Operator>
140 typename Operator::Tout, sigtime_t> {
141 typedef typename Operator::Tin
Tin;
142 typedef typename Operator::Tout
Tout;
166 std::vector<const Tin *> in(this->
signalsIN.size());
167 for (std::size_t
i = 0;
i < this->
signalsIN.size(); ++
i) {
180 #endif // #ifndef SOT_CORE_VARIADICOP_HH
SignalPtr< Tin, sigtime_t > signal_t
static std::string getTypeInName(void)
virtual ~VariadicAbstract(void)
std::size_t addSignal(const std::string &name)
void setSignalNumber(const size_type &n)
VariadicAbstract(const std::string &name, const std::string &className)
VariadicOp(const std::string &name)
virtual void updateSignalNumber(size_type n)
static std::string getTypeOutName(void)
virtual void addDependency(const SignalBase< Time > &signal)
VariadicAbstract< Tin, Tout, sigtime_t > Base
const std::string baseSigname
static const std::string CLASS_NAME
virtual void removeDependency(const SignalBase< Time > &signal)
SignalTimeDependent< Tout, sigtime_t > SOUT
void _declareSignal(signal_t *s)
virtual ~VariadicOp(void)
virtual const std::string & getClassName() const
std::vector< signal_t * > signalsIN
std::string getDocString() const
signal_t * getSignalIn(size_type i)
Tout & computeOperation(Tout &res, sigtime_t time)
Signal< dynamicgraph::Matrix, sigtime_t > sig("matrix")
void updateSignalNumber(size_type n)
void signalDeregistration(const std::string &name)
void signalRegistration(const SignalArray< sigtime_t > &signals)
VariadicOp< Operator > Self
void _removeSignal(const std::size_t i)
size_type getSignalNumber() const
sot-core
Author(s): Olivier Stasse, ostasse@laas.fr
autogenerated on Tue Oct 24 2023 02:26:32