aboutsummaryrefslogtreecommitdiffstats
path: root/signal-composer-binding/signal.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'signal-composer-binding/signal.hpp')
-rw-r--r--signal-composer-binding/signal.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/signal-composer-binding/signal.hpp b/signal-composer-binding/signal.hpp
index ba3e8c7..97ab4c7 100644
--- a/signal-composer-binding/signal.hpp
+++ b/signal-composer-binding/signal.hpp
@@ -87,12 +87,13 @@ public:
const std::string id() const;
json_object* toJSON() const;
+ struct signalCBT* get_context();
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 defaultReceivedCB(json_object *eventJ);
+ void onReceivedCB(json_object *eventJ);
void attachToSourceSignals(Composer& composer);
double average(int seconds = 0) const;