Unverified Commit 69ae3281 authored by corentinberge's avatar corentinberge Committed by GitHub

Update signal-ptr.h

Delete isplugged instead of unplug
parent 89b3ab9c
...@@ -62,11 +62,7 @@ namespace dynamicgraph ...@@ -62,11 +62,7 @@ namespace dynamicgraph
const SignalBase<Time>* getAbstractPtr () const; // throw const SignalBase<Time>* getAbstractPtr () const; // throw
virtual void plug( SignalBase<Time>* ref ); virtual void plug( SignalBase<Time>* ref );
//Useless function, didn't find any use of this one virtual void unplug () { plug(NULL); }
/*virtual void unplug () { plug(NULL); }
virtual bool isPluged () const DYNAMIC_GRAPH_DEPRECATED {
return isPlugged ();
}*/
virtual bool isPlugged () const { return (NULL!=signalPtr); } virtual bool isPlugged () const { return (NULL!=signalPtr); }
virtual SignalBase<Time>* getPluged () const { return signalPtr; } virtual SignalBase<Time>* getPluged () const { return signalPtr; }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment