PhoenixSwarm
6.1.0
Persistent processing programs exchanging data over sockets
Toggle main menu visibility
Loading...
Searching...
No Matches
ProcessClass.cpp
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
8
#include "
ProcessClass.h
"
9
11
13
template
<>
14
std::string
phoenix_getTypeName<ProcessClass>
(){
15
return
"ProcessClass"
;
16
}
17
19
ProcessClass::ProcessClass
(){
20
initialisationProcessClass
();
21
}
22
24
26
ProcessClass::ProcessClass
(
const
ProcessClass
& other){
27
copyProcessClass
(other);
28
}
29
31
ProcessClass::~ProcessClass
(){
32
33
}
34
36
39
ProcessClass
&
ProcessClass::operator =
(
const
ProcessClass
& other){
40
copyProcessClass
(other);
41
return
*
this
;
42
}
43
45
48
PUncastableBool
ProcessClass::fillLong
(
const
long
&testLong){
49
std::cout <<
"test fillLong : we are processing a long from a non static method"
<< std::endl;
50
return
UNCASTABLE_TRUE;
51
}
52
54
57
PUncastableBool
ProcessClass::fillShort
(
const
short
&testShort){
58
std::cout <<
"test fillShort : we are processing a short from a non static method"
<< std::endl;
59
return
UNCASTABLE_TRUE;
60
}
61
63
65
void
ProcessClass::copyProcessClass
(
const
ProcessClass
& other){
66
p_testedLong
= other.
p_testedLong
;
67
}
68
70
void
ProcessClass::initialisationProcessClass
(){
71
p_testedLong
= 0;
72
}
73
phoenix_getTypeName< ProcessClass >
std::string phoenix_getTypeName< ProcessClass >()
Get the name of the class ProcessClass.
Definition
ProcessClass.cpp:14
ProcessClass.h
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::~ProcessClass
virtual ~ProcessClass()
Destructor of class ProcessClass.
Definition
ProcessClass.cpp:31
ProcessClass::p_testedLong
int p_testedLong
tested integer of the ProcessClass
Definition
ProcessClass.h:34
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.cpp
Generated by
1.18.0