Go to the documentation of this file.
6 #ifndef DYNAMIC_GRAPH_SIGNAL_PTR_H
7 #define DYNAMIC_GRAPH_SIGNAL_PTR_H
26 template <
class T,
class Time>
27 class SignalPtr :
public virtual Signal<T, Time> {
58 virtual const Time &
getTime()
const;
65 inline operator bool()
const {
return isPlugged(); }
69 virtual std::ostream &
writeGraph(std::ostream &os)
const;
70 virtual std::ostream &
display(std::ostream &os)
const;
79 virtual const T &
access(
const Time &t);
120 const int depth = -1,
121 std::string space =
"",
122 std::string next1 =
"",
123 std::string next2 =
"")
const;
Signals link I/O ports of entities. They can be constant-valued signals, or copy the value of a heap ...
const Signal< T, Time > & operator*() const
Signal< T, Time > * getPtr()
virtual const T & accessCopy() const
virtual void setConstant(const T &t)
virtual Signal< T, Time > & operator=(const T &t)
virtual void addDependency()
virtual void removeDependency()
virtual void plug(SignalBase< Time > *ref)
Signal< T, Time > & operator*()
virtual void setReference(const T *t, Mutex *mutexref=NULL)
virtual void setFunction(boost::function2< T &, T &, Time > t, typename Signal< T, Time >::Mutex *m=NULL)
virtual void setFunction(boost::function2< T &, T &, Time > t, Mutex *mutexref=NULL)
virtual void setReference(const T *t, typename Signal< T, Time >::Mutex *m=NULL)
virtual void clearDependencies()
virtual std::ostream & writeGraph(std::ostream &os) const
virtual bool needUpdate(const Time &t) const
virtual SignalBase< Time > * getPluged() const
virtual const T & access(const Time &t)
virtual const Time & getTime() const
virtual std::ostream & display(std::ostream &os) const
Signal< T, Time > * signalPtr
const std::string & getName() const
virtual void setConstant(const T &t)
SignalBase< Time > * abstractTransmitter
void setConstantDefault(const T &t)
void unsetConstantDefault()
const Signal< T, Time > * operator->() const
virtual void setConstantDefault()
virtual std::ostream & displayDependencies(std::ostream &os, const int depth=-1, std::string space="", std::string next1="", std::string next2="") const
virtual bool isPlugged() const
virtual const T & operator()(const Time &t)
SignalPtr(Signal< T, Time > *ptr, std::string name="")
Signal< T, Time > * operator->()
The base class for signals: not to be used as such.
dynamic-graph
Author(s): Nicolas Mansard, Olivier Stasse
autogenerated on Fri Aug 2 2024 08:36:38