PhoenixSwarm
6.1.0
Persistent processing programs exchanging data over sockets
Toggle main menu visibility
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
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
long
getLong
()
const
{
return
p_testedLong
; }
25
26
SWARM_MAKE_SLOT
(
ProcessClass
,
fillLong
,
long
)
27
SWARM_MAKE_SLOT
(
ProcessClass
,
fillShort
,
short
)
28
29
protected
:
30
void
copyProcessClass
(
const
ProcessClass
& other);
31
private
:
32
void
initialisationProcessClass
();
34
int
p_testedLong
;
36
short
p_testedShort
;
37
};
38
39
40
#endif
41
SWARM_MAKE_SLOT
#define SWARM_MAKE_SLOT(C, X, D)
Make a callable slot for the application.
Definition
BaseDaemon.h:29
Daemon.h
ProcessClass
Test ProcessClass.
Definition
ProcessClass.h:16
ProcessClass::fillLong
static PUncastableBool fillLong(const long &testLong)
Fill the ProcessClass with an integer.
Definition
ProcessClass.cpp:48
ProcessClass::ProcessClass
ProcessClass()
Constructor of class ProcessClass.
Definition
ProcessClass.cpp:19
ProcessClass::initialisationProcessClass
void initialisationProcessClass()
Initialisation Function of class ProcessClass.
Definition
ProcessClass.cpp:70
ProcessClass::getLong
long getLong() const
Definition
ProcessClass.h:24
ProcessClass::p_testedLong
int p_testedLong
tested integer of the ProcessClass
Definition
ProcessClass.h:34
ProcessClass::p_testedShort
short p_testedShort
tested short
Definition
ProcessClass.h:36
ProcessClass::operator=
ProcessClass & operator=(const ProcessClass &other)
Operator = of class ProcessClass.
Definition
ProcessClass.cpp:39
ProcessClass::copyProcessClass
void copyProcessClass(const ProcessClass &other)
Copy Function of class ProcessClass.
Definition
ProcessClass.cpp:65
ProcessClass::fillShort
PUncastableBool fillShort(const short &testShort)
Fill the ProcessClass with a short.
Definition
ProcessClass.cpp:57
platex
TESTS
TEST_FUNCTIONS
TEST_DATA_PROCESSING
ProcessClass.h
Generated by
1.18.0