| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | /*************************************** | ||
| 2 | Auteur : Thibaut Oprinsen & Pierre Aubert | ||
| 3 | Mail : pierre.aubert@lapp.in2p3.fr | ||
| 4 | Licence : CeCILL-C | ||
| 5 | ****************************************/ | ||
| 6 | |||
| 7 | #ifndef __PROCESSCLASS_H__ | ||
| 8 | #define __PROCESSCLASS_H__ | ||
| 9 | |||
| 10 | #include "data_all.h" | ||
| 11 | #include "Daemon.h" | ||
| 12 | |||
| 13 | #include "phoenix_type_stream.h" | ||
| 14 | |||
| 15 | ///@brief Test ProcessClass | ||
| 16 | class ProcessClass{ | ||
| 17 | public: | ||
| 18 | ProcessClass(); | ||
| 19 | ProcessClass(const ProcessClass & other); | ||
| 20 | virtual ~ProcessClass(); | ||
| 21 | ProcessClass & operator = (const ProcessClass & other); | ||
| 22 | static PUncastableBool fillLong(const long &testLong); | ||
| 23 | PUncastableBool fillShort(const short &testShort); | ||
| 24 | 2 | long getLong() const { return p_testedLong; } | |
| 25 | |||
| 26 | 1 | SWARM_MAKE_SLOT(ProcessClass, fillLong, long) | |
| 27 | 1 | SWARM_MAKE_SLOT(ProcessClass, fillShort, short) | |
| 28 | |||
| 29 | protected: | ||
| 30 | void copyProcessClass(const ProcessClass & other); | ||
| 31 | private: | ||
| 32 | void initialisationProcessClass(); | ||
| 33 | ///tested integer of the ProcessClass | ||
| 34 | int p_testedLong; | ||
| 35 | ///tested short | ||
| 36 | short p_testedShort; | ||
| 37 | }; | ||
| 38 | |||
| 39 | |||
| 40 | #endif | ||
| 41 | |||
| 42 |