1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00
Commit graph

52 commits

Author SHA1 Message Date
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
19e98af8e3 remove obsolete flag parameter from afopen() 2017-03-15 00:51:24 -03:00
83dfb31dc2 remove broken ADVIO_MEM flag 2017-03-12 23:18:18 -03:00
14e2b97372 initialize node_type::instances correctly 2017-03-12 17:08:52 -03:00
c90343d4af refactoring: node_open, node_close => node_start, node_stop 2017-03-11 23:30:24 -03:00
3573932df8 support advio for file node-type 2017-03-07 08:04:37 -04:00
ec49fc6bad renamed ‚path‘ setting of file node-type to ‚uri‘ in preparation for upcoming advio remote IO 2017-03-07 07:19:40 -04:00
0b06a77c15 add macros to get plugin name and description from pointer to plugin specific data 2017-03-07 07:12:24 -04:00
3e7c855526 updated licence and copyright info in file headers 2017-03-03 20:20:13 -04:00
7ec6aee288 Merge remote-tracking branch 'rwth/develop' into feature-curlio 2017-02-18 11:05:11 -05:00
e9f8a50c3c introduce new plugin system for extensions 2017-02-12 14:35:05 -03:00