PhoenixSwarm  6.1.0
Persistent processing programs exchanging data over sockets
Loading...
Searching...
No Matches
ProcessClass Class Reference

Test ProcessClass. More...

#include <ProcessClass.h>

Public Member Functions

PUncastableBool fillShort (const short &testShort)
 Fill the ProcessClass with a short.
long getLong () const
ProcessClass & operator= (const ProcessClass &other)
 Operator = of class ProcessClass.
 ProcessClass ()
 Constructor of class ProcessClass.
 ProcessClass (const ProcessClass &other)
 Copy Constructor of class ProcessClass.
virtual ~ProcessClass ()
 Destructor of class ProcessClass.

Static Public Member Functions

static PUncastableBool fillLong (const long &testLong)
 Fill the ProcessClass with an integer.

Protected Member Functions

void copyProcessClass (const ProcessClass &other)
 Copy Function of class ProcessClass.

Private Member Functions

void initialisationProcessClass ()
 Initialisation Function of class ProcessClass.

Private Attributes

int p_testedLong
 tested integer of the ProcessClass
short p_testedShort
 tested short

Detailed Description

Test ProcessClass.

Definition at line 16 of file ProcessClass.h.

Constructor & Destructor Documentation

◆ ProcessClass() [1/2]

ProcessClass::ProcessClass ( )

Constructor of class ProcessClass.

Definition at line 19 of file ProcessClass.cpp.

19 {
21}
void initialisationProcessClass()
Initialisation Function of class ProcessClass.

References initialisationProcessClass().

Referenced by copyProcessClass(), operator=(), and ProcessClass().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ProcessClass() [2/2]

ProcessClass::ProcessClass ( const ProcessClass & other)

Copy Constructor of class ProcessClass.

Parameters
other: ProcessClass we want ot copy

Definition at line 26 of file ProcessClass.cpp.

26 {
27 copyProcessClass(other);
28}
void copyProcessClass(const ProcessClass &other)
Copy Function of class ProcessClass.

References copyProcessClass(), and ProcessClass().

Here is the call graph for this function:

◆ ~ProcessClass()

ProcessClass::~ProcessClass ( )
virtual

Destructor of class ProcessClass.

Definition at line 31 of file ProcessClass.cpp.

31 {
32
33}

Member Function Documentation

◆ copyProcessClass()

void ProcessClass::copyProcessClass ( const ProcessClass & other)
protected

Copy Function of class ProcessClass.

Parameters
other: ProcessClass we want ot copy

Definition at line 65 of file ProcessClass.cpp.

65 {
67}
int p_testedLong
tested integer of the ProcessClass

References p_testedLong, and ProcessClass().

Referenced by operator=(), and ProcessClass().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ fillLong()

PUncastableBool ProcessClass::fillLong ( const long & testLong)
static

Fill the ProcessClass with an integer.

Parameters
int: process p_testedLong of the ProcessClass
Returns
true on success, false otherwise

Definition at line 48 of file ProcessClass.cpp.

48 {
49 std::cout << "test fillLong : we are processing a long from a non static method" << std::endl;
50 return UNCASTABLE_TRUE;
51}

◆ fillShort()

PUncastableBool ProcessClass::fillShort ( const short & testShort)

Fill the ProcessClass with a short.

Parameters
short: process p_testedShort of the ProcessClass
Returns
true on success, false otherwise

Definition at line 57 of file ProcessClass.cpp.

57 {
58 std::cout << "test fillShort : we are processing a short from a non static method" << std::endl;
59 return UNCASTABLE_TRUE;
60}

◆ getLong()

long ProcessClass::getLong ( ) const
inline

Definition at line 24 of file ProcessClass.h.

24{ return p_testedLong; }

References p_testedLong.

Referenced by main().

Here is the caller graph for this function:

◆ initialisationProcessClass()

void ProcessClass::initialisationProcessClass ( )
private

Initialisation Function of class ProcessClass.

Definition at line 70 of file ProcessClass.cpp.

70 {
71 p_testedLong = 0;
72}

References p_testedLong.

Referenced by ProcessClass().

Here is the caller graph for this function:

◆ operator=()

ProcessClass & ProcessClass::operator= ( const ProcessClass & other)

Operator = of class ProcessClass.

Parameters
other: ProcessClass we want ot copy
Returns
copied class ProcessClass

Definition at line 39 of file ProcessClass.cpp.

39 {
40 copyProcessClass(other);
41 return *this;
42}

References copyProcessClass(), and ProcessClass().

Here is the call graph for this function:

Member Data Documentation

◆ p_testedLong

int ProcessClass::p_testedLong
private

tested integer of the ProcessClass

Definition at line 34 of file ProcessClass.h.

Referenced by copyProcessClass(), getLong(), and initialisationProcessClass().

◆ p_testedShort

short ProcessClass::p_testedShort
private

tested short

Definition at line 36 of file ProcessClass.h.


The documentation for this class was generated from the following files:
  • /builds/CTA-LAPP/PHOENIX_LIBS2/network/PhoenixSwarm/build/doc/platex/TESTS/TEST_FUNCTIONS/TEST_DATA_PROCESSING/ProcessClass.h
  • /builds/CTA-LAPP/PHOENIX_LIBS2/network/PhoenixSwarm/build/doc/platex/TESTS/TEST_FUNCTIONS/TEST_DATA_PROCESSING/ProcessClass.cpp