aboutsummaryrefslogtreecommitdiffstats
path: root/docs/4_APIs_and_Services/4.5_Message_Signaling/4_AGL_Service_Signal_Composer/3_Plugins.md
diff options
context:
space:
mode:
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>2020-10-14 13:26:09 +0200
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2020-10-14 11:28:17 +0000
commit93c1058794d8bdab19c49df6d402a40963be65ec (patch)
treeab893f78a3b9928cf409cd3b63f6129381e4f5aa /docs/4_APIs_and_Services/4.5_Message_Signaling/4_AGL_Service_Signal_Composer/3_Plugins.md
parent11d46ac01cf2b4bbc2e8ffe9b70ca27783af0137 (diff)
Added Documentation for Jellyfish
(rewrote majority of them and updated with minor changes) (removed whitespaces, added contribution guide, corrected rcar-gen3 section 7, added aglsetup.h flags to hardware support, some minor changes) Bug-AGL: [SPEC-3633] Signed-off-by: Shankho Boron Ghosh <shankhoghosh123@gmail.com> Change-Id: Ifd6b3c1cdaa41f05a74c1affe6db9e24763921b9 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/documentation/+/25411 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'docs/4_APIs_and_Services/4.5_Message_Signaling/4_AGL_Service_Signal_Composer/3_Plugins.md')
-rw-r--r--docs/4_APIs_and_Services/4.5_Message_Signaling/4_AGL_Service_Signal_Composer/3_Plugins.md32
1 files changed, 0 insertions, 32 deletions
diff --git a/docs/4_APIs_and_Services/4.5_Message_Signaling/4_AGL_Service_Signal_Composer/3_Plugins.md b/docs/4_APIs_and_Services/4.5_Message_Signaling/4_AGL_Service_Signal_Composer/3_Plugins.md
deleted file mode 100644
index aa0ebb4..0000000
--- a/docs/4_APIs_and_Services/4.5_Message_Signaling/4_AGL_Service_Signal_Composer/3_Plugins.md
+++ /dev/null
@@ -1,32 +0,0 @@
----
-edit_link: ''
-title: Plugins
-origin_url: >-
- https://git.automotivelinux.org/apps/agl-service-signal-composer/plain/docs/part-1/3-Plugins.md?h=master
----
-
-<!-- WARNING: This file is generated by fetch_docs.js using /home/boron/Documents/AGL/docs-webtemplate/site/_data/tocs/apis_services/master/agl-service-signal-composer-developer-guides-api-services-book.yml -->
-
-# Plugins
-
-Plugins are C/C++ shared libraries loaded by the binding to execute some
-simple routine. Routine could be on reception of a new signal or at sources
-initialization time or signal subscription with the respective JSON field
-`onReceived` `init` and `getSignals`
-
-A default plugin (builtin) is provided with 2 functions:
-
-- **defaultOnReceived**: set and record a new signal value and its timestamp
- in the signal composer service. It simply tooks the incoming event JSON object
- and search for *key* `value` and `timestamp` then call function
- `setSignalValue`.
-- **setSignalValueWrap**: a `lua2c` function the could be called from any LUA
- script to record a new signal value.
-
-> **CAUTION**: `timestamp` value has to be typed as *uint64_t* with
-> a **nanosecond** precision using a realtime clock. To correctly store it in
-> a JSON-C object use the int64 type with the according fonctions:
-> *json_object_new_int64()*
-> *json_object_get_int64()*
-> *json_object_set_int64()*
-> *...*