summaryrefslogtreecommitdiffstats
path: root/signal-composer-binding/signal.hpp
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2018-04-30 23:53:58 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2018-07-05 16:21:22 +0200
commit04e6084fa00fba893f6fd9a6b4ba3f1020e7b655 (patch)
treee1ae36a4f520f0497569ad9cc22efd5fdc0ef1b5 /signal-composer-binding/signal.hpp
parent1782a5b692038e67f26290a799ebc2d3b1dc242c (diff)
Implement the signal's update default method
Adding != operator to Signal class This operator is needed to exclude signal inclusion in notify function and make possible to add a signal at last position Change-Id: I95f3434019383e52928c37f396aae938f2cfae05 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'signal-composer-binding/signal.hpp')
-rw-r--r--signal-composer-binding/signal.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/signal-composer-binding/signal.hpp b/signal-composer-binding/signal.hpp
index 2b4a461..815c7d9 100644
--- a/signal-composer-binding/signal.hpp
+++ b/signal-composer-binding/signal.hpp
@@ -98,7 +98,9 @@ public:
explicit operator bool() const;
bool operator==(const Signal& other) const;
+ bool operator!=(const Signal& other) const;
bool operator==(const std::string& aName) const;
+ bool operator!=(const std::string& aName) const;
const std::string id() const;
json_object* toJSON() const;