dynamic-graph  4.1.0-8-gdab7-dirty
Dynamic graph library
SignalBase< Time > Class Template Reference

The base class for signals: not to be used as such. More...

#include <dynamic-graph/signal-base.h>

Inheritance diagram for SignalBase< Time >:
Collaboration diagram for SignalBase< Time >:

Public Member Functions

 SignalBase (std::string name="")
 
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
 

Detailed Description

template<class Time>
class dynamicgraph::SignalBase< Time >

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'.

Definition at line 40 of file fwd.hh.


The documentation for this class was generated from the following files: