PhoenixSwarm  6.1.0
Persistent processing programs exchanging data over sockets
Loading...
Searching...
No Matches
DaemonSlot.h
Go to the documentation of this file.
1/***************************************
2 Auteur : Pierre Aubert
3 Mail : pierre.aubert@lapp.in2p3.fr
4 Licence : LGPL-3.0-only
5****************************************/
6
7#ifndef __DAEMONSLOT_H__
8#define __DAEMONSLOT_H__
9
10#include "Daemon.h"
11#include "PUncastableBool.h"
12
13#include "DaemonEmptyBackend.h"
14
16class DaemonSlot : public Daemon<DaemonEmptyBackend>{
17 public:
18 DaemonSlot();
19 virtual ~DaemonSlot();
20
22 PUncastableBool processInt(const int & value);
23
24 virtual void addCallMethod();
25
26 private:
28};
29
30
31
32#endif
33
#define SWARM_MAKE_SLOT(C, X, D)
Make a callable slot for the application.
Definition BaseDaemon.h:29
void initialisationDaemonSlot()
Initialisation function of the class DaemonSlot.
virtual void addCallMethod()
Add all call Daemon.
DaemonSlot()
Default constructor of DaemonSlot.
PUncastableBool processInt(const int &value)
Method which process int and will be called on subscription.