Skip to content
Snippets Groups Projects
Commit 55f92253 authored by Olivier Stasse's avatar Olivier Stasse Committed by olivier stasse
Browse files

[signal-ptr] Add comments and doc.

parent 9aff296a
No related branches found
No related tags found
No related merge requests found
...@@ -20,6 +20,11 @@ namespace dynamicgraph { ...@@ -20,6 +20,11 @@ namespace dynamicgraph {
/// In that sense, when plugged into, it acts as a "pointer" to the /// In that sense, when plugged into, it acts as a "pointer" to the
/// input signal, hence the name. Operator -> is also overloaded and /// input signal, hence the name. Operator -> is also overloaded and
/// can be used to access the pointed signal. /// 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.
///
template <class T, class Time> template <class T, class Time>
class SignalPtr : public virtual Signal<T, Time> { class SignalPtr : public virtual Signal<T, Time> {
public: public:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment