The base class for signals: not to be used as such. More...
#include <fwd.hh>
Public Member Functions | |
SignalBase (std::string name="") | |
virtual | ~SignalBase () |
Time | |
virtual const Time & | getTime () const |
virtual void | setTime (const Time &t) |
const bool & | getReady () const |
const std::string & | getName () const |
void | getClassName (std::string &aClassName) const |
virtual void | setPeriodTime (const Time &) |
virtual Time | getPeriodTime () const |
Dependencies | |
virtual void | addDependency (const SignalBase< Time > &) |
virtual void | removeDependency (const SignalBase< Time > &) |
virtual void | clearDependencies () |
virtual bool | needUpdate (const Time &) const |
void | setReady (const bool sready=true) |
virtual std::ostream & | writeGraph (std::ostream &os) const |
virtual std::ostream & | displayDependencies (std::ostream &os, const int=-1, std::string space="", std::string next1="", std::string="") const |
Plug | |
virtual void | plug (SignalBase< Time > *sigarg) |
virtual void | unplug () |
virtual bool | isPlugged () const |
virtual SignalBase< Time > * | getPluged () const |
virtual void | setConstantDefault () |
Set | |
virtual void | set (std::istringstream &) |
virtual void | get (std::ostream &) const |
virtual void | recompute (const Time &) |
virtual void | trace (std::ostream &) const |
Display | |
virtual std::ostream & | display (std::ostream &os) const |
std::string | shortName () const |
Information providers | |
virtual void | ExtractNodeAndLocalNames (std::string &LocalName, std::string &NodeName) const |
Test | |
virtual void | checkCompatibility () |
Protected Attributes | |
std::string | name |
bool | ready |
Time | signalTime |
The base class for signals: not to be used as such.
Signal values can be accessed programmatically using the access () or accessCopy () methods; the former directly accesses the value of the signal, which can involve an extra computation, while the latter accesses a cached value, or 'copy'.
|
inlineexplicit |
Definition at line 29 of file signal-base.h.
|
inlinevirtual |
Definition at line 32 of file signal-base.h.
|
inlinevirtual |
Reimplemented in dynamicgraph::SignalTimeDependent< T, Time >, dynamicgraph::SignalTimeDependent< int, int >, dynamicgraph::SignalTimeDependent< Vector, int >, and dynamicgraph::SignalTimeDependent< double, int >.
Definition at line 57 of file signal-base.h.
|
inlinevirtual |
Reimplemented in dynamicgraph::Signal< T, Time >, dynamicgraph::Signal< int, int >, dynamicgraph::Signal< Vector, int >, dynamicgraph::Signal< double, int >, dynamicgraph::SignalPtr< T, Time >, and dynamicgraph::SignalPtr< double, int >.
Definition at line 191 of file signal-base.h.
|
inlinevirtual |
Reimplemented in dynamicgraph::SignalPtr< T, Time >, dynamicgraph::SignalPtr< double, int >, dynamicgraph::SignalTimeDependent< T, Time >, dynamicgraph::SignalTimeDependent< int, int >, dynamicgraph::SignalTimeDependent< Vector, int >, and dynamicgraph::SignalTimeDependent< double, int >.
Definition at line 61 of file signal-base.h.
|
inlinevirtual |
Reimplemented in dynamicgraph::Signal< T, Time >, dynamicgraph::Signal< int, int >, dynamicgraph::Signal< Vector, int >, dynamicgraph::Signal< double, int >, dynamicgraph::SignalPtr< T, Time >, and dynamicgraph::SignalPtr< double, int >.
Definition at line 154 of file signal-base.h.
|
inlinevirtual |
Reimplemented in dynamicgraph::SignalPtr< T, Time >, dynamicgraph::SignalPtr< double, int >, dynamicgraph::SignalTimeDependent< T, Time >, dynamicgraph::SignalTimeDependent< int, int >, dynamicgraph::SignalTimeDependent< Vector, int >, and dynamicgraph::SignalTimeDependent< double, int >.
Definition at line 69 of file signal-base.h.
|
inlinevirtual |
Definition at line 174 of file signal-base.h.
|
inlinevirtual |
Reimplemented in dynamicgraph::Signal< T, Time >, dynamicgraph::Signal< int, int >, dynamicgraph::Signal< Vector, int >, and dynamicgraph::Signal< double, int >.
Definition at line 128 of file signal-base.h.
|
inline |
Definition at line 44 of file signal-base.h.
|
inline |
Definition at line 42 of file signal-base.h.
|
inlinevirtual |
Reimplemented in dynamicgraph::SignalTimeDependent< T, Time >, dynamicgraph::SignalTimeDependent< int, int >, dynamicgraph::SignalTimeDependent< Vector, int >, and dynamicgraph::SignalTimeDependent< double, int >.
Definition at line 50 of file signal-base.h.
|
inlinevirtual |
Reimplemented in dynamicgraph::SignalPtr< T, Time >, and dynamicgraph::SignalPtr< double, int >.
Definition at line 104 of file signal-base.h.
|
inline |
Definition at line 40 of file signal-base.h.
|
inlinevirtual |
Reimplemented in dynamicgraph::SignalPtr< T, Time >, and dynamicgraph::SignalPtr< double, int >.
Definition at line 36 of file signal-base.h.
|
inlinevirtual |
Reimplemented in dynamicgraph::SignalPtr< T, Time >, and dynamicgraph::SignalPtr< double, int >.
Definition at line 102 of file signal-base.h.
|
inlinevirtual |
Reimplemented in dynamicgraph::SignalTimeDependent< T, Time >, dynamicgraph::SignalTimeDependent< int, int >, dynamicgraph::SignalTimeDependent< Vector, int >, dynamicgraph::SignalTimeDependent< double, int >, dynamicgraph::SignalPtr< T, Time >, and dynamicgraph::SignalPtr< double, int >.
Definition at line 63 of file signal-base.h.
|
inlinevirtual |
Reimplemented in dynamicgraph::SignalPtr< T, Time >, and dynamicgraph::SignalPtr< double, int >.
Definition at line 87 of file signal-base.h.
|
inlinevirtual |
Reimplemented in dynamicgraph::Signal< T, Time >, dynamicgraph::Signal< int, int >, dynamicgraph::Signal< Vector, int >, and dynamicgraph::Signal< double, int >.
Definition at line 135 of file signal-base.h.
|
inlinevirtual |
Reimplemented in dynamicgraph::SignalTimeDependent< T, Time >, dynamicgraph::SignalTimeDependent< int, int >, dynamicgraph::SignalTimeDependent< Vector, int >, and dynamicgraph::SignalTimeDependent< double, int >.
Definition at line 59 of file signal-base.h.
|
inlinevirtual |
Reimplemented in dynamicgraph::Signal< T, Time >, dynamicgraph::Signal< int, int >, dynamicgraph::Signal< Vector, int >, and dynamicgraph::Signal< double, int >.
Definition at line 121 of file signal-base.h.
|
inlinevirtual |
Reimplemented in dynamicgraph::SignalPtr< T, Time >, and dynamicgraph::SignalPtr< double, int >.
Definition at line 106 of file signal-base.h.
|
inlinevirtual |
Reimplemented in dynamicgraph::SignalTimeDependent< T, Time >, dynamicgraph::SignalTimeDependent< int, int >, dynamicgraph::SignalTimeDependent< Vector, int >, and dynamicgraph::SignalTimeDependent< double, int >.
Definition at line 48 of file signal-base.h.
|
inline |
Definition at line 65 of file signal-base.h.
|
inlinevirtual |
Definition at line 38 of file signal-base.h.
|
inline |
Definition at line 159 of file signal-base.h.
|
inlinevirtual |
Reimplemented in dynamicgraph::Signal< T, Time >, dynamicgraph::Signal< int, int >, dynamicgraph::Signal< Vector, int >, and dynamicgraph::Signal< double, int >.
Definition at line 142 of file signal-base.h.
|
inlinevirtual |
Reimplemented in dynamicgraph::SignalPtr< T, Time >, and dynamicgraph::SignalPtr< double, int >.
Definition at line 95 of file signal-base.h.
|
inlinevirtual |
Reimplemented in dynamicgraph::SignalTimeDependent< T, Time >, dynamicgraph::SignalTimeDependent< int, int >, dynamicgraph::SignalTimeDependent< Vector, int >, dynamicgraph::SignalTimeDependent< double, int >, dynamicgraph::SignalPtr< T, Time >, and dynamicgraph::SignalPtr< double, int >.
Definition at line 67 of file signal-base.h.
|
protected |
Definition at line 200 of file signal-base.h.
|
protected |
Definition at line 202 of file signal-base.h.
|
protected |
Definition at line 201 of file signal-base.h.