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

28 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
312cdc2fbe revert whitespace changes 2018-06-29 08:37:14 +02:00
Sonja Kolen
4ec3cf030b Added extern "C" wrapper in all headers of libvillas to use it in C++ code 2018-06-28 13:42:50 +02:00
dccdd67242 shmem: use proper naming convention 2018-06-15 14:24:04 +02:00
0017d1bcb1 refactor: change include prefix 2018-02-04 16:40:52 +01:00
434fe6dbd6 replaced libconfig by jansson for parsing the configuration (huge commit) 2017-08-03 00:19:27 +02:00
86bddfa83a shmem: whitespace cleanup
I like a bit more whitespace for readability
2017-06-15 15:07:42 +02:00
Georg Reinke
6265c39ce2 shmem: use one region for each direction 2017-06-14 13:00:43 +02:00
Georg Reinke
c5eb7c8e73 more whitespace fixes 2017-06-08 13:07:20 +02:00
Georg Reinke
2ba3c1cbe7 rework shmem interface to be "symmetric"
The notion of "VILLASnode" / "external program" is removed from the
interface. Now there's only a distiction regarding which process opened
the object first, and this is handled transparently by the functions.

This enables some new uses for the interface, for example connecting
two instances of VILLASnode or two instances of DPsim directly.
2017-06-08 12:43:24 +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
bd1fa43d1f fixed documentation of node-types 2017-04-18 19:16:31 +02:00
Georg Reinke
5f540e58bc even more documentation for shmem node 2017-04-17 19:00:15 +02:00
cee5575861 shm node: use similar settings as for paths: {in,out}size => queuelen, sample_values => samplelen 2017-04-15 22:47:24 +02:00
db3d1477d1 shm node: renamed ‚cond_{in,out}‘ settings to ‚polling‘ 2017-04-15 22:46:35 +02:00
d4ddad603b changed signature of spawn() 2017-04-15 21:29:34 +02:00
b94216959f removed superfluous #include 2017-04-15 21:29:34 +02:00
b23000e2a8 several smaller cleanups: coding-style, variable names, white spaces, intermediate variables 2017-04-15 21:29:23 +02:00
788a55da27 use ‚#pragma once‘ instead of ‚#ifdef‘ 2017-04-15 21:28:28 +02:00
4504fcc827 added file headers with author and copyright info 2017-04-15 21:28:28 +02:00
Georg Reinke
385efa1313 shm node: add option to spawn external program on start 2017-04-12 17:07:59 +02:00
Georg Reinke
61b10ed4f1 move more information to shared part of shmem node 2017-04-07 13:27:10 +02:00
Georg Reinke
3a7af08799 move "external" part of shmem to separate files 2017-04-07 12:57:40 +02:00
Georg Reinke
c7e241cb2b new wrapper struct around queue with POSIX CV's 2017-04-07 12:18:08 +02:00
Georg Reinke
66545fc4c7 new shmem node type 2017-04-05 12:52:21 +02:00