diff options
Diffstat (limited to 'src/client/PortModel.hpp')
-rw-r--r-- | src/client/PortModel.hpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/client/PortModel.hpp b/src/client/PortModel.hpp index 8cf0dccb..58f3262e 100644 --- a/src/client/PortModel.hpp +++ b/src/client/PortModel.hpp @@ -59,6 +59,14 @@ public: inline bool operator==(const PortModel& pm) const { return (_path == pm._path); } + Raul::Atom& set_property(const Raul::URI& uri, + const Raul::Atom& value) { + Raul::Atom& ret = ObjectModel::set_property(uri, value); + if (uri.str() == "ingen:value") + this->value(value); + return ret; + } + inline void value(const Raul::Atom& val) { if (val != _current_val) { _current_val = val; |