GCC Code Coverage Report


Directory: ./
File: TESTS/TEST_DAEMONS/TEST_DAEMON_WORKFLOW/DaemonBackend/DaemonBackend.h
Date: 2026-05-19 15:42:59
Exec Total Coverage
Lines: 0 0 -%
Functions: 0 0 -%
Branches: 0 0 -%

Line Branch Exec Source
1 /***************************************
2 Auteur : Thibaut Oprinsen
3 Mail : thibaut.oprinsen@example.com
4 Licence : CeCILL-C
5 ****************************************/
6
7 #ifndef __DAEMONBACKEND_H__
8 #define __DAEMONBACKEND_H__
9
10 #include "PZmqBackend.h"
11 #include "PClockNs.h"
12 #include "phoenix_socket.h"
13 #include "phoenix_clock.h"
14 #include "PString.h"
15
16 ///@brief Simple, default backend of the Daemon to manage Socket and Clock
17 struct DaemonBackend
18 {
19 /// Define the socket backend
20 typedef PZmqSocketGenerator SocketBackend;
21 /// Define the socket mock
22 typedef PMockSocketGenerator SocketMock;
23
24 /// Socket manager with no official backend
25 PGenericSocketManager<PString, SocketBackend, SocketMock> socketManager;
26 /// Clock backend
27 PGenericClock<PClockNs, PClockMock> clock;
28
29 /// Extra parameters used by the current Daemon to create its socket
30 SocketBackend::Param extraServerParam{SocketBackend::server()};
31 /// Extra parameters used by the current Daemon to create sockets to communicate with other Daemon
32 SocketBackend::Param extraClientParam{SocketBackend::client()};
33 /// Extra parameters used by the current Daemon to create its socket for mock
34 SocketMock::Param extraMockServerParam{SocketMock::server()};
35 /// Extra parameters used by the current Daemon to create sockets to communicate with other Daemon for mock
36 SocketMock::Param extraMockClientParam{SocketMock::client()};
37 };
38
39 #endif
40