From 574c2cc0c27f76ae0e225ab71f5abef649ae301a Mon Sep 17 00:00:00 2001
From: florent <florent@laas.fr>
Date: Mon, 5 Jul 2010 10:22:18 +0200
Subject: [PATCH] Do not use sophisticated setter and getter for the moment

   * src/dynamic_graph/signal_base.py.
---
 src/dynamic_graph/signal_base.py | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/src/dynamic_graph/signal_base.py b/src/dynamic_graph/signal_base.py
index e925e2c..a2454c8 100644
--- a/src/dynamic_graph/signal_base.py
+++ b/src/dynamic_graph/signal_base.py
@@ -29,17 +29,15 @@ class SignalBase:
         """
         return wrap.signalBaseGetTime(self.object)
 
-    @property
-    def value(self) :
+    def get_value(self) :
         """
         Read the value of a signal
         """
         return wrap.signal_base_get_value(self.object)
 
-    @value.setter
-    def value(self) :
+    def set_value(self, val) :
         """
         Set the signal as a constant signal with given value.
         If the signal is plugged, it will be unplugged
         """
-        return wrap.signal_base_set_value(self.object, value)
+        return wrap.signal_base_set_value(self.object, val)
-- 
GitLab