This is the only type of signal that can be plugged to, using the plug () command. More...
#include <fwd.hh>
Public Member Functions | |
virtual const T & | access (const Time &t) |
virtual const T & | accessCopy () const |
virtual std::ostream & | display (std::ostream &os) const |
virtual std::ostream & | displayDependencies (std::ostream &os, const int depth=-1, std::string space="", std::string next1="", std::string next2="") const |
virtual SignalBase< Time > * | getPluged () const |
Signal< T, Time > * | getPtr () |
const Signal< T, Time > * | getPtr () const |
virtual const Time & | getTime () const |
virtual bool | isPlugged () const |
virtual bool | needUpdate (const Time &t) const |
operator bool () const | |
virtual const T & | operator() (const Time &t) |
Signal< T, Time > & | operator* () |
const Signal< T, Time > & | operator* () const |
Signal< T, Time > * | operator-> () |
const Signal< T, Time > * | operator-> () const |
virtual Signal< T, Time > & | operator= (const T &t) |
virtual void | plug (SignalBase< Time > *ref) |
virtual void | setConstant (const T &t) |
virtual void | setConstantDefault () |
void | setConstantDefault (const T &t) |
virtual void | setFunction (boost::function2< T &, T &, Time > t, typename Signal< T, Time >::Mutex *m=NULL) |
virtual void | setReference (const T *t, typename Signal< T, Time >::Mutex *m=NULL) |
SignalPtr (Signal< T, Time > *ptr, std::string name="") | |
virtual void | unplug () |
void | unsetConstantDefault () |
virtual std::ostream & | writeGraph (std::ostream &os) const |
virtual | ~SignalPtr () |
Protected Member Functions | |
virtual void | addDependency () |
bool | autoref () const |
virtual void | clearDependencies () |
virtual void | removeDependency () |
Protected Attributes | |
SignalBase< Time > * | abstractTransmitter |
bool | modeNoThrow |
Signal< T, Time > * | signalPtr |
T * | transmitAbstractData |
This is the only type of signal that can be plugged to, using the plug () command.
In that sense, when plugged into, it acts as a "pointer" to the input signal, hence the name. Operator -> is also overloaded and can be used to access the pointed signal.
If the signal provided as a parameter of the plug operation cannot be casted in type T, but is compatible then the class holds a reference to an abstract object.
|
inline |
Definition at line 40 of file signal-ptr.h.
|
inlinevirtual |
Definition at line 46 of file signal-ptr.h.
|
virtual |
Definition at line 82 of file signal-ptr.t.cpp.
|
virtual |
Definition at line 97 of file signal-ptr.t.cpp.
|
inlineprotectedvirtual |
Definition at line 127 of file signal-ptr.h.
|
inlineprotected |
Definition at line 37 of file signal-ptr.h.
|
inlineprotectedvirtual |
Definition at line 130 of file signal-ptr.h.
|
virtual |
Definition at line 122 of file signal-ptr.t.cpp.
|
virtual |
Definition at line 141 of file signal-ptr.t.cpp.
|
inlinevirtual |
Definition at line 57 of file signal-ptr.h.
const Signal< T, Time > * dynamicgraph::SignalPtr< T, Time >::getPtr |
Definition at line 16 of file signal-ptr.t.cpp.
const Signal<T, Time>* dynamicgraph::SignalPtr< T, Time >::getPtr | ( | ) | const |
|
virtual |
Definition at line 69 of file signal-ptr.t.cpp.
|
inlinevirtual |
Definition at line 56 of file signal-ptr.h.
|
virtual |
Definition at line 61 of file signal-ptr.t.cpp.
|
inline |
Definition at line 65 of file signal-ptr.h.
|
virtual |
Definition at line 77 of file signal-ptr.t.cpp.
|
inline |
Definition at line 63 of file signal-ptr.h.
|
inline |
Definition at line 64 of file signal-ptr.h.
|
inline |
Definition at line 61 of file signal-ptr.h.
|
inline |
Definition at line 62 of file signal-ptr.h.
|
inlinevirtual |
Definition at line 114 of file signal-ptr.h.
|
virtual |
Definition at line 41 of file signal-ptr.t.cpp.
|
inlineprotectedvirtual |
Definition at line 129 of file signal-ptr.h.
|
inlinevirtual |
Definition at line 94 of file signal-ptr.h.
|
inlinevirtual |
Definition at line 86 of file signal-ptr.h.
|
inline |
Definition at line 82 of file signal-ptr.h.
|
inlinevirtual |
Definition at line 103 of file signal-ptr.h.
|
inlinevirtual |
Definition at line 98 of file signal-ptr.h.
|
inlinevirtual |
Definition at line 54 of file signal-ptr.h.
|
inline |
Definition at line 87 of file signal-ptr.h.
|
virtual |
Definition at line 106 of file signal-ptr.t.cpp.
|
protected |
Definition at line 34 of file signal-ptr.h.
|
protected |
Definition at line 33 of file signal-ptr.h.
|
protected |
Definition at line 32 of file signal-ptr.h.
|
protected |
Definition at line 35 of file signal-ptr.h.