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

test function More...

Inheritance diagram for TestDataFunction:
Collaboration diagram for TestDataFunction:

Public Member Functions

virtual bool call (PLog &, const Data &) override
 Call of the function.
const PString & getName () const
 Name of the function.
const PString & getPrototype () const
 Get the prototype of the current function.
void setName (const PString &name)
 Set the name of the function.
void setPrototype (const PString &prototype)
 Set the prototype of the current function.
 TestDataFunction (const PString &name)

Private Member Functions

void initialisationAbstractDataFunction (const PString &name)
 Initialisation function of the class AbstractDataFunction.

Private Attributes

PString p_name
 Name of the function.
PString p_prototype
 Prototype of the function.

Detailed Description

test function

Definition at line 12 of file main.cpp.

Constructor & Destructor Documentation

◆ TestDataFunction()

TestDataFunction::TestDataFunction ( const PString & name)
inline

Definition at line 14 of file main.cpp.

AbstractDataFunction(const PString &name)
Default constructor of AbstractDataFunction.

References Swarm::AbstractDataFunction::AbstractDataFunction().

Here is the call graph for this function:

Member Function Documentation

◆ call()

virtual bool TestDataFunction::call ( PLog & ,
const Data &  )
inlineoverridevirtual

Call of the function.

Implements Swarm::AbstractDataFunction.

Definition at line 18 of file main.cpp.

18{ return true; }

Referenced by main().

Here is the caller graph for this function:

◆ getName()

const PString & AbstractDataFunction::getName ( ) const
inherited

Name of the function.

Returns
name of the function

Definition at line 33 of file AbstractDataFunction.cpp.

33 {
34 return p_name;
35}
PString p_name
Name of the function.

References p_name.

Referenced by Swarm::DataFunctionCall< _Data >::call(), Swarm::DataFunctionClassCall< _Class, _Data >::call(), and main().

Here is the caller graph for this function:

◆ getPrototype()

const PString & AbstractDataFunction::getPrototype ( ) const
inherited

Get the prototype of the current function.

Returns
prototype of the current function

Definition at line 47 of file AbstractDataFunction.cpp.

47 {
48 return p_prototype;
49}
PString p_prototype
Prototype of the function.

References p_prototype.

Referenced by Swarm::DataFunctionCall< _Data >::call(), and Swarm::DataFunctionClassCall< _Class, _Data >::call().

Here is the caller graph for this function:

◆ initialisationAbstractDataFunction()

void AbstractDataFunction::initialisationAbstractDataFunction ( const PString & name)
privateinherited

Initialisation function of the class AbstractDataFunction.

Parameters
name: name of the function

Definition at line 54 of file AbstractDataFunction.cpp.

54 {
55 p_name = name;
56 p_prototype = name;
57}

References p_name, and p_prototype.

Referenced by AbstractDataFunction(), and call().

Here is the caller graph for this function:

◆ setName()

void AbstractDataFunction::setName ( const PString & name)
inherited

Set the name of the function.

Parameters
name: name of the function

Definition at line 26 of file AbstractDataFunction.cpp.

26 {
27 p_name = name;
28}

References p_name.

Referenced by main().

Here is the caller graph for this function:

◆ setPrototype()

void AbstractDataFunction::setPrototype ( const PString & prototype)
inherited

Set the prototype of the current function.

Parameters
prototype: prototype of the current function

Definition at line 40 of file AbstractDataFunction.cpp.

40 {
41 p_prototype = prototype;
42}

References p_prototype.

Referenced by Swarm::DataFunctionCall< _Data >::DataFunctionCall().

Here is the caller graph for this function:

Member Data Documentation

◆ p_name

PString Swarm::AbstractDataFunction::p_name
privateinherited

Name of the function.

Definition at line 33 of file AbstractDataFunction.h.

Referenced by getName(), initialisationAbstractDataFunction(), and setName().

◆ p_prototype

PString Swarm::AbstractDataFunction::p_prototype
privateinherited

Prototype of the function.

Definition at line 35 of file AbstractDataFunction.h.

Referenced by getPrototype(), initialisationAbstractDataFunction(), and setPrototype().


The documentation for this class was generated from the following file:
  • /builds/CTA-LAPP/PHOENIX_LIBS2/network/PhoenixSwarm/build/doc/platex/TESTS/TEST_FUNCTIONS/TEST_ABSTRACT_FUNCTION/main.cpp