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

1185 commits

Author SHA1 Message Date
2ca0cdf979 fix undefined reference caused by inlined function 2017-06-17 03:15:35 +02:00
bde2b6ebba Merge branch 'shmem-rework' into 'develop'
Rework shmem interface to be symmetric

See merge request !23
2017-06-15 15:39:57 +02:00
86bddfa83a shmem: whitespace cleanup
I like a bit more whitespace for readability
2017-06-15 15:07:42 +02:00
f738dff1ac zeromq: support libzmq < 4.2 2017-06-15 13:59:09 +02:00
Georg Reinke
3d84956b9e shmem: small doc fixes 2017-06-14 13:32:44 +02:00
Georg Reinke
faa0763d64 shmem: add top-level function for allocating samples 2017-06-14 13:31:59 +02:00
Georg Reinke
6265c39ce2 shmem: use one region for each direction 2017-06-14 13:00:43 +02:00
Georg Reinke
6e9fab2666 remove dependency on config.h from sample.h 2017-06-08 13:53:07 +02:00
Georg Reinke
c5eb7c8e73 more whitespace fixes 2017-06-08 13:07:20 +02:00
Georg Reinke
a495d97242 some doc / whitespace fixes 2017-06-08 13:01:23 +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
Georg Reinke
1d011e6d8f some include / format error fixes 2017-06-08 12:42:46 +02:00
d749c9a244 socket: use union instead of casts for socket address 2017-05-28 18:40:22 +02:00
8cab5cde96 added verify_source setting to socket node-type 2017-05-28 13:43:00 +02:00
df028c3b28 zeromq: some code cleanup 2017-05-23 15:22:37 +02:00
7e602dd44e zeromq: added support for CurveZMQ encryption and authentication (still not working) 2017-05-23 15:22:37 +02:00
503da4bb94 zeromq: add support for filtering based on pubsub groups 2017-05-23 15:22:37 +02:00
5ef08552b2 zeromq: added IPv6 options 2017-05-23 15:22:37 +02:00
8f6b38cd63 added new function node_type_name() 2017-05-23 15:20:38 +02:00
5a267813d0 zeromq: added initial version of ZeroMQ node-type 2017-05-23 15:20:38 +02:00
f433743173 nanomsg: added new messaging node-type 2017-05-23 14:54:25 +02:00
a1a56a9f0a msg: use new macro to define max packet size 2017-05-23 13:55:13 +02:00
f6909de568 add new msg_buffer() functions to read / write multiple struct sample from / to a buffer using the struct msg wire protocol. 2017-05-23 13:02:20 +02:00
1e5c143ff9 list: added list_set() 2017-05-23 12:12:39 +02:00
Georg Reinke
f01b098e8d define atomic_state for C++ even more properly 2017-05-15 17:47:44 +02:00
Georg Reinke
a976ab6646 move atomic_state definition 2017-05-15 14:47:07 +02:00
Georg Reinke
b21a017cc2 properly define atomic state for queue 2017-05-15 14:04:15 +02:00
Georg Reinke
292e846bf8 Revert "use proper enum type for atomic state"
This reverts commit 44669a748d.
2017-05-15 13:45:37 +02:00
44669a748d use proper enum type for atomic state 2017-05-14 11:36:14 +02:00
Georg Reinke
1b61d55cab add close methods for queue and use them for shmem 2017-05-12 13:12:42 +02:00
Georg Reinke
d17300e276 remove unnecessary sample_get in shmem node 2017-05-12 11:52:39 +02:00
ad13abd675 remove GAP_SEQUENCE statistic 2017-05-08 09:09:17 +00:00
e92f17d891 file: fix and test rewind feature 2017-05-08 00:50:56 +02:00
19df0d196d add more const keywords 2017-05-08 00:50:56 +02:00
c711f0f1bc added warmup phase to histogram for better selection of min/max (closes #12) 2017-05-05 22:26:40 +00:00
49054eef9f cleanup: removed trailing whitespaces in code 2017-05-05 19:24:16 +00:00
9b1e6a33ed add license to headers 2017-04-27 13:20:20 +02:00
5be1853649 added GPL license to file headers 2017-04-27 12:56:43 +02:00
Georg Reinke
f5aba31045 remove libconfig references from libvillas-ext 2017-04-26 11:58:12 +02:00
Georg Reinke
bb400b0e5c fix include problems when linking with C++ 2017-04-26 11:58:12 +02:00
4e5dc58e18 added first version of web socket client support 2017-04-24 19:28:45 +02:00
8c4f291fd9 changed byte-order for websocket messages to little-endian 2017-04-24 13:25:30 +02:00
a3222da312 adapted socket node-type to support new packet format 2017-04-23 22:13:29 +02:00
d6f2697e1b added new helper functions to convert struct msg between network and host byte-order 2017-04-23 22:13:28 +02:00
1c95caac50 simplified socket packet format by removing endianess flag: all values are now in network byte-order 2017-04-23 22:13:28 +02:00
bd1fa43d1f fixed documentation of node-types 2017-04-18 19:16:31 +02:00
a81d1fc8de Merge branch 'develop' into node-shm 2017-04-17 23:54:44 +02:00
a5aa5d0e14 queue_signalled: add some missing functions from queue 2017-04-17 23:23:07 +02:00
8104f54356 queue_signalled: do not use abbreviations for member names 2017-04-17 23:23:07 +02:00
bb547ffaf8 queue_signalled: pthread attributes only need to exist during initialisation of their belonging objects
See: http://stackoverflow.com/questions/11062292/are-pthread-attribute-objects-required-to-exist-for-the-lifetime-of-the-object-t
2017-04-17 23:23:07 +02:00