diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2017-09-28 20:10:45 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2017-12-14 11:00:25 +0100 |
commit | 8364673ab93eb484e25c7c4776e5d705b73330b4 (patch) | |
tree | 950b7c184325dc4b03e0b255ee2717da61b1eeb2 /signal-composer-binding/signal.hpp | |
parent | 0aa66b2b00593db8b545384bbf084bc1d0acee64 (diff) |
Add default receive action
Change-Id: Icc23f135d4e65d6de131a60b978677e549738d78
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'signal-composer-binding/signal.hpp')
-rw-r--r-- | signal-composer-binding/signal.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/signal-composer-binding/signal.hpp b/signal-composer-binding/signal.hpp index 66b14e5..3d373fa 100644 --- a/signal-composer-binding/signal.hpp +++ b/signal-composer-binding/signal.hpp @@ -78,6 +78,8 @@ public: void set(uint64_t timestamp, struct signalValue& value); void update(Signal* sig); + static int defaultOnReceivedCB(CtlSourceT* source, json_object* argsJ, json_object *queryJ); + int defaultReceivedCB(json_object *queryJ); int onReceivedCB(json_object *queryJ); void attachToSourceSignals(Composer& composer); |