| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | /*************************************** | ||
| 2 | Auteur : Pierre Aubert | ||
| 3 | Mail : pierre.aubert@lapp.in2p3.fr | ||
| 4 | Licence : CeCILL-C | ||
| 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 | |||
| 15 | ///@brief class test to use a Daemon | ||
| 16 | class DaemonSlot : public Daemon<DaemonEmptyBackend>{ | ||
| 17 | public: | ||
| 18 | DaemonSlot(); | ||
| 19 | virtual ~DaemonSlot(); | ||
| 20 | |||
| 21 | 1 | SWARM_MAKE_SLOT(DaemonSlot, processInt, int) | |
| 22 | PUncastableBool processInt(const int & value); | ||
| 23 | |||
| 24 | virtual void addCallMethod(); | ||
| 25 | |||
| 26 | private: | ||
| 27 | void initialisationDaemonSlot(); | ||
| 28 | }; | ||
| 29 | |||
| 30 | |||
| 31 | |||
| 32 | #endif | ||
| 33 | |||
| 34 |