Go to the documentation of this file.
6 #ifndef DYNAMIC_GRAPH_SIGNAL_TIME_DEPENDENT_H
7 #define DYNAMIC_GRAPH_SIGNAL_TIME_DEPENDENT_H
62 template <
class T,
class Time>
63 class SignalTimeDependent :
public virtual Signal<T, Time>,
64 public TimeDependency<Time> {
70 std::string
name =
"");
72 const SignalArray_const<Time> &
sig,
73 std::string
name =
"");
78 const T &
access(
const Time &t1);
84 std::ostream &
writeGraph(std::ostream &os)
const {
return os; }
87 std::string space =
"",
88 std::string next1 =
"",
89 std::string next2 =
"")
const {
101 template <
class T,
class Time>
105 template <
class T,
class Time>
110 template <
class T,
class Time>
115 this->setFunction(t);
118 template <
class T,
class Time>
135 template <
class T,
class Time>
141 template <
class T,
class Time>
147 template <
class T,
class Time>
152 template <
class T,
class Time>
157 template <
class T,
class Time>
161 template <
class T,
class Time>
std::ostream & displayDependencies(std::ostream &os, const int depth=-1, std::string space="", std::string next1="", std::string next2="") const
Signals link I/O ports of entities. They can be constant-valued signals, or copy the value of a heap ...
virtual void setPeriodTime(const Time &p)
A helper class for setting and specifying dependencies between signals.
const T & operator()(const Time &t1)
const T & access(const Time &t1)
std::ostream & displayDependencies(std::ostream &os, const int depth=-1, std::string space="", std::string next1="", std::string next2="") const
virtual ~SignalTimeDependent()
virtual void addDependency(const SignalBase< Time > &signal)
dynamicgraph::SignalArray_const< double > sig
virtual void removeDependency(const SignalBase< Time > &signal)
SignalTimeDependent(std::string name="")
A type of signal that enforces a time dependency between other signals, making sure its inputs are up...
virtual void clearDependencies()
virtual bool needUpdate(const Time &t) const
The base class for signals: not to be used as such.
std::ostream & writeGraph(std::ostream &os) const
virtual Time getPeriodTime() const
dynamic-graph
Author(s): Nicolas Mansard, Olivier Stasse
autogenerated on Fri Aug 2 2024 08:36:38