GCC Code Coverage Report


Directory: ./
File: TESTS/TEST_DAEMONS/TEST_DAEMON_WORKFLOW/Receiver/Receiver.h
Date: 2026-01-15 15:35:36
Exec Total Coverage
Lines: 1 1 100.0%
Functions: 1 1 100.0%
Branches: 0 0 -%

Line Branch Exec Source
1 /***************************************
2 Auteur : Pierre Aubert
3 Mail : pierre.aubert@lapp.in2p3.fr
4 Licence : CeCILL-C
5 ****************************************/
6
7 #ifndef __RECEIVER_H__
8 #define __RECEIVER_H__
9
10 #include "phoenix_swarm.h"
11 #include "DaemonBackend.h"
12 #include "Shadok.h"
13 #include "PUncastableBool.h"
14 #include <string.h>
15 #include <queue>
16 #include <thread>
17
18 ///@brief Receiver for test
19 class Receiver : public Daemon<DaemonBackend>{
20 public:
21 Receiver();
22 virtual ~Receiver();
23 size_t p_nb_msg;
24
25 std::map<std::string, std::string> filenames;
26
27 PUncastableBool processShadok(const Shadok &shadok);
28
29 // Call MACRO to add processShadok as a callable method
30 5 SWARM_MAKE_SLOT(Receiver, processShadok, Shadok)
31
32 // add callable methods in inherited function
33 virtual void addCallMethod();
34 virtual void executeOnStop();
35
36 private:
37 void initialisationReceiver();
38 };
39
40 #endif
41