-
Notifications
You must be signed in to change notification settings - Fork 88
Index of Module ln_store
Matthias Görges edited this page Jun 19, 2016
·
12 revisions
Module: ln_store
The ln_store module provides logical storing of data and instances. It provides thread-safe access to numeric data, waveform data, raw data, and messages/events. Finally it supports save and reliable data exchange between applications using fifos.
Note: Both raw and waveform stores buffer internally and are placed into the main data store every second using the scheduler. Hence if you are using these two store types scheduler needs to be listed in the application's MODULES file.
Function | Short Description |
---|---|
(store-clear! store ids0) | Clear entries from the data store |
(store-clearexpired! store timeout ids . thunk) | Clear entries older than timeout from the data store |
(store-set! store id val . category) | Sets a value in the data store |
(store-setnew! store id val . c) | Set a parameter in the store only if the value differs from any previous value. Used if one wants to timeout on stagnant values |
(store-clearcat! store category) | Clear a category field in a data store. NOT all the elements from that category |
(store-listcat store category) | Return a list of all elements in a category |
(store-getcat store) | Return a list of all category names |
(store-ref store id . fback) | Returns a value from the data store |
(store-timedref store id . fback) | Returns a value from the data store if it is newer than the default timeout |
(store-timedrefsec store id tout . fback) | Returns a value from the data store if it is newer than the specified timeout in seconds |
(store-timestamp store id) | Returns the timestamp when an item was last set |
(store-event-add store priority id . payload) | Register a new message/event |
(store-event-clear! store) | Clear the events for a store |
(store-event-listnew store . tstamp) | Lists the message(s)/event(s) that are newer than the timestamp |
(store-fifo-import! store name) | Specified which variables are to be imported continuously from a fifo |
(store-fifo-export store name parameters) | Marks variables for export through a fifo whenever they are assigned a new value |
(store->file store fname params) | Save store values to a file |
(file->store store fname) | Loads store values from a file |
(store? name) | Tests if a store exists |
(destroy-store! name) | Destroys a data store |
(make-store name) | Creates a store |
(store-raw-append store id data) | Appends raw binary data to the data store buffer |
(store-raw-clear! store . auxid) | Clear raw data from store buffer |
(store-raw-length store id) | Get the length of the current raw binary data in a given store |
(store-waveform-append store id data) | Append waveform data to the data store buffer |
(store-waveform-scale store id lst) | Set waveform scaling information |
(store-waveform-clear! store . auxid) | Clear waveform data from the data store buffer |
-
- accelerometer
- alist
- audio
- audioaux
- base64
- btle-scan
- camera
- cdb
- cgi
- config
- csv
- curl
- digest
- dmtx
- download
- eventloop
- fcgi
- fft
- generalized-arrays
- gps
- graph
- gyro
- hidapi
- hpdf
- html
- httpsclient
- hybridapp
- json
- lmdb
- ln_core
- ln_glcore
- ln_glgui
- ln_store
- localization
- localization_gui
- localnotification
- magnetometer
- mdns
- mqtt
- mqtt-store
- multitouch
- oauth
- orientation
- p256ecdsa
- png
- portaudio
- pregexp
- pressure
- prime
- pushnotification
- redcap
- rsa
- rtaudio
- rupi
- rotation
- sanestring
- scheduler
- serial
- sets
- settings
- simplexnoise
- sqlite
- ssax
- syntax-case
- timestamp
- ttf
- uiform
- url
- uuid
- vibrate
- videoplayer
- watchdog
- website
- xml
- zip