198649b9b1
file: adapt to new signal code and separate node-type configuration into in/out sections
2018-08-20 18:29:23 +02:00
abdec22993
plugin: replace plugin_name() by type-specific wrappers
2018-08-20 18:16:44 +02:00
d77879fa7d
io: refactor input/output -> in/out
2018-08-13 00:00:10 +02:00
Dennis Potter
0c1e92bced
Added separate buffer for input and output section
2018-08-06 23:48:13 +02:00
Dennis Potter
2a1dc60d16
Changed configuration section of
2018-08-05 11:07:45 +02:00
Dennis Potter
117913287d
Added configurable setvbuf to output of file node
2018-08-04 15:20:21 +02:00
f6c91f4ac9
file: fix assertion raised in file_destroy() when node was never started ( closes #186 )
2018-07-26 16:38:26 +02:00
Dennis Potter
49a92ffeaf
Made in and out section optional for file node
...
This is discussed in the comment section of commit
d0f4513122
2018-07-25 18:13:01 +02:00
Dennis Potter
eb80945699
Added missing curly bracket
2018-07-24 10:35:51 +02:00
d0f4513122
file: implement in/out config sections
2018-07-23 16:07:47 +02:00
Dennis Potter
72e627b327
Fixes #166 , all node interfaces are modified
...
The functions now look like this
int node_read(struct node *n, struct sample *smps[], unsigned cnt, unsigned *release);
int node_write(struct node *n, struct sample *smps[], unsigned cnt, unsigned *release);
This commit enables nodes to control how many samples will
be released by the framework through *release
2018-07-11 18:14:29 +02:00
Dennis Potter
6150a36411
Changed all node_write() functions
2018-07-07 17:48:07 +02:00
Dennis Potter
4663f55e4b
Changed all node_read() functions to support a *cnt instead of cnt
2018-07-07 17:07:45 +02:00
8b18bd35e0
file: destroy IO in file_destroy() instead of file_stop()
2018-05-12 18:03:40 +02:00
4ba077d14e
io: remove state-less IO calls
2018-05-12 15:25:29 +02:00
c0313c7963
refactored: io_format -> format_type
2018-05-12 13:57:39 +02:00
39f955c947
io: renamed some fields within struct io
2018-05-12 10:41:40 +02:00
bd72556b1d
refactor: remove last appearances of old format naming scheme
2018-05-09 10:27:38 +02:00
0017d1bcb1
refactor: change include prefix
2018-02-04 16:40:52 +01:00
702dc34052
c++: add proper casts from void *
2017-10-20 11:54:00 +02:00
fba30731aa
task: simplify interface
2017-09-16 15:33:01 +02:00
5e620942ce
adding new field "flags" to struct sample
2017-09-16 15:04:59 +02:00
9beda12c4c
fix compiler errors on OS X
2017-09-05 10:11:23 +02:00
12973f9088
json: accept integers for floating point settings
2017-09-04 23:16:58 +02:00
6922e273bb
io: renamed formats (msg -> villas-binary, villas -> villas-human)
2017-09-04 14:39:15 +02:00
6d495c1a35
add new bitmask to samples to indicate which fields are valid
2017-09-04 14:28:55 +02:00
9f3d806755
add node_fd() support to most node types
2017-08-30 09:21:35 +02:00
2e3a6ef90b
refactoring: periodic_task => task
2017-08-22 12:20:14 +02:00
3eea0c67bb
- introduce low-level interface for new IO subsystem: we now have a fully extensible system for new IO formats and file formats
...
- reworked file node-type to remove in / out directions
2017-08-14 14:42:07 +02:00
434fe6dbd6
replaced libconfig by jansson for parsing the configuration (huge commit)
2017-08-03 00:19:27 +02:00
bc83463831
added new format subsystem
2017-07-28 18:11:52 +02:00
b59a989278
cleanup trailing whitespaces
2017-07-25 12:07:06 +02:00
f569f14602
fix: several compiler warnings / errors emitted by clang
2017-07-25 12:07:05 +02:00
45ec574011
utils: die() has been superseeded by killme()
2017-07-12 12:20:11 +02:00
Georg Reinke
1cc9c2177d
file: prevent stack corruption when reading first sample
2017-07-07 11:55:33 +02:00
a057c0c513
adding function killme() to gracefully shutdown
2017-07-06 21:15:10 +02:00
2b913d4d69
tests: fix valgrind warnings
2017-07-02 23:57:03 +02:00
16f2b22a12
file: make flush() configurable
2017-07-02 19:37:48 +02:00
ec061e0e3d
cleanup: whitespace
2017-06-29 19:20:11 +02:00
f359bc230b
file: dont try to read first timestamp if epoch_mode is "original"
2017-06-17 18:55:37 +02:00
cbef499f58
file: improve file_print()
2017-06-17 18:55:37 +02:00
7b32445fb3
file: use correct prefix for enums
2017-06-17 18:55:37 +02:00
c02f4c8ebe
file: support more behaviours when EOF is reached
2017-06-17 18:55:37 +02:00
c1154faf40
fixed several format string compiler warnings / errors emitted by Ubuntu's GCC 5.4.0
2017-06-17 03:13:42 +02:00
e92f17d891
file: fix and test rewind feature
2017-05-08 00:50:56 +02:00
92e3087a16
file: make intialization more robust
2017-05-08 00:50:53 +02:00
49054eef9f
cleanup: removed trailing whitespaces in code
2017-05-05 19:24:16 +00:00
5be1853649
added GPL license to file headers
2017-04-27 12:56:43 +02:00
f6c204c441
removed split and splitted settings from file node-type
2017-03-29 20:14:01 +02:00
ba5f4d1109
sample_io: part 2
2017-03-27 12:50:39 +02:00