PhoenixSwarm  6.1.0
Persistent processing programs exchanging data over sockets
Loading...
Searching...
No Matches
ProcessClass.h
Go to the documentation of this file.
1/***************************************
2 Auteur : Thibaut Oprinsen & Pierre Aubert
3 Mail : pierre.aubert@lapp.in2p3.fr
4 Licence : LGPL-3.0-only
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
17 public:
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 long getLong() const { return p_testedLong; }
25
28
29 protected:
30 void copyProcessClass(const ProcessClass & other);
31 private:
37};
38
39
40#endif
41
#define SWARM_MAKE_SLOT(C, X, D)
Make a callable slot for the application.
Definition BaseDaemon.h:29
Test ProcessClass.
static PUncastableBool fillLong(const long &testLong)
Fill the ProcessClass with an integer.
ProcessClass()
Constructor of class ProcessClass.
void initialisationProcessClass()
Initialisation Function of class ProcessClass.
long getLong() const
int p_testedLong
tested integer of the ProcessClass
short p_testedShort
tested short
ProcessClass & operator=(const ProcessClass &other)
Operator = of class ProcessClass.
void copyProcessClass(const ProcessClass &other)
Copy Function of class ProcessClass.
PUncastableBool fillShort(const short &testShort)
Fill the ProcessClass with a short.