Commit Graph

1434 Commits

Author SHA1 Message Date
Alexey Rybalchenko
adc7443aa5 Allow easier testing without having to recompile for use of binary/boost/protobuf payload.
to use different data transfer method, just provide a parameter to the script, e.g.:
./startAll bin
./startAll boost
./startAll proto
etc.

if no or incorrect parameters is provided, binary method will be used!
protobuf method works only if the library is available on the system, otherwise it is not compiled.
2014-05-08 12:56:30 +02:00
NicolasWinckler
005321f63c add boost::serialization and template features in tutorial3 and fairmq. Require to modifie base/event/fairtimestamp and fairhit. 2014-05-08 12:56:29 +02:00
Alexey Rybalchenko
9a0ed2ca72 Add (optional) Google Protocol Buffers support (example in Tutorial 3).
To use protobuf, run cmake as follows:
cmake -DUSE_PROTOBUF=1 ..
For this, protobuf library has to be installed on the system.

Further changes:
Clean up splitter/merger: default are N-to-1-merger and 1-to-N-splitter.
Fix bug in nanomsg message deallocation.
Setup proper buffer sizes for nanomsg/zeromq via cmake/bash script.
chmod +x for start scripts.
2014-03-17 12:21:47 +01:00
Alexey Rybalchenko
f31ae77ecb Logger fix: direct constructor call 2014-03-04 15:11:19 +01:00
Alexey Rybalchenko
ac8bbf154a simplify logger for shorter calls and readability 2014-02-13 15:55:25 +01:00
NicolasWinckler
4b8659a654 - Make FairMQSampler generic.
- Remove fairroot dependency from fairmq.
2014-02-13 15:37:47 +01:00
NicolasWinckler
dfc1dd6a06 - Make FairMQSampler generic.
- Remove fairroot dependency from fairmq.
2014-02-07 12:36:01 +01:00
Alexey Rybalchenko
23b88e9e91 cosmetic change 2014-01-31 14:06:34 +01:00
Alexey Rybalchenko
c7b80f3ff9 move zeromq and nanomsg implementation files to separate directories 2014-01-28 13:20:53 +01:00
Alexey Rybalchenko
dde65d3aeb correct include dir in cmake file 2014-01-28 11:56:08 +01:00
Alexey Rybalchenko
a97d464d1c typo 2014-01-28 11:56:08 +01:00
Alexey Rybalchenko
b45f968c67 change argument passing by value/reference 2014-01-28 11:56:08 +01:00
Alexey Rybalchenko
ee70113120 make nanomsg optional 2014-01-28 11:56:08 +01:00
Alexey Rybalchenko
64b9e991c3 add nanomsg implementations + use factory for nanomsg + lots of small stuff 2014-01-28 11:56:08 +01:00
Alexey Rybalchenko
c041c14373 cmake - use set(INCLUDE_DIRECTORIES) 2014-01-28 11:56:08 +01:00
Alexey Rybalchenko
f2fe26e715 rename fTask to fProcessorTask for clarity and to resemble fSamplerTask name 2014-01-28 11:56:08 +01:00
Alexey Rybalchenko
2a2b1b5d96 get rid of unused function warning, no need for static. 2014-01-28 11:56:08 +01:00
Alexey Rybalchenko
5989845e31 use factory for messages 2014-01-28 11:56:08 +01:00
Alexey Rybalchenko
88fee245b8 use factory for sockets 2014-01-28 11:56:08 +01:00
Alexey Rybalchenko
a383434c45 add factory classes 2014-01-28 11:56:08 +01:00
Alexey Rybalchenko
65cdc33a15 add files for interface implementations 2014-01-28 11:56:08 +01:00
Alexey Rybalchenko
3803a3d155 a little clean up 2014-01-28 11:56:08 +01:00
Alexey Rybalchenko
31d10170f7 rename splitter/merger to shorter/generic names 2014-01-28 11:56:07 +01:00
Mohammad Al-Turany
1370259d41 changes from Alexey
git-svn-id: https://subversion.gsi.de/fairroot/fairbase/trunk@22782 0381ead4-6506-0410-b988-94b70fbc4730
2013-11-12 08:14:46 +00:00
Mohammad Al-Turany
5bc4746cbc correct struct initialization
git-svn-id: https://subversion.gsi.de/fairroot/fairbase/trunk@22608 0381ead4-6506-0410-b988-94b70fbc4730
2013-11-01 13:03:47 +00:00
Mohammad Al-Turany
9c4d64f3b1 New files from Ralf Kliemt
git-svn-id: https://subversion.gsi.de/fairroot/fairbase/trunk@22606 0381ead4-6506-0410-b988-94b70fbc4730
2013-11-01 11:24:47 +00:00
Mohammad Al-Turany
5121fe3ae5 merge the trunk with the development of ZeroMQ branch
git-svn-id: https://subversion.gsi.de/fairroot/fairbase/trunk@22451 0381ead4-6506-0410-b988-94b70fbc4730
2013-10-25 12:42:48 +00:00
Florian Uhlig
d65d7e490f Add missing dependencies.
git-svn-id: https://subversion.gsi.de/fairroot/fairbase/trunk@20792 0381ead4-6506-0410-b988-94b70fbc4730
2013-07-22 07:44:58 +00:00
Florian Uhlig
8a8c18b5b4 New macro for the generation of executables. Change all CMakeLists.txt where executables are build accordingly.
git-svn-id: https://subversion.gsi.de/fairroot/fairbase/trunk@20791 0381ead4-6506-0410-b988-94b70fbc4730
2013-07-22 07:38:23 +00:00
Florian Uhlig
59d1a6415c Correct problem with installation on MacOS. Dont't create a dictionary if there is no LinkDef file defined. Use the GENERATE_LIBRARY macro in fairmq.
git-svn-id: https://subversion.gsi.de/fairroot/fairbase/trunk@20785 0381ead4-6506-0410-b988-94b70fbc4730
2013-07-19 13:50:02 +00:00
Florian Uhlig
78ee2e3c8e Install more tutorials. Install also the zmq related libraries and executables. Change the templates of the config scripts and the script using the templates to do the installation correct.
git-svn-id: https://subversion.gsi.de/fairroot/fairbase/trunk@20672 0381ead4-6506-0410-b988-94b70fbc4730
2013-07-11 15:26:01 +00:00
Mohammad Al-Turany
ecebfec9f3 separate process for I/O in zmq example
git-svn-id: https://subversion.gsi.de/fairroot/fairbase/trunk@20239 0381ead4-6506-0410-b988-94b70fbc4730
2013-06-14 10:11:29 +00:00
Mohammad Al-Turany
5f1984fdbe small corrections
git-svn-id: https://subversion.gsi.de/fairroot/fairbase/trunk@20194 0381ead4-6506-0410-b988-94b70fbc4730
2013-06-10 12:35:20 +00:00
Mohammad Al-Turany
231c7c8f7e Zero MQ implimentation and example (Tutorial3)
git-svn-id: https://subversion.gsi.de/fairroot/fairbase/trunk@20162 0381ead4-6506-0410-b988-94b70fbc4730
2013-06-07 08:07:48 +00:00