PhoenixSwarm  3.5.0
Library to ease communication between daemons
Loading...
Searching...
No Matches
AbstractFunction.cpp
Go to the documentation of this file.
1/***************************************
2 Auteur : Pierre Aubert
3 Mail : pierre.aubert@lapp.in2p3.fr
4 Licence : CeCILL-C
5****************************************/
6
7
8
9
10#include "AbstractFunction.h"
11
13
18
23
25
27void AbstractFunction::setName(const PString & name){
28 p_name = name;
29}
30
32
34const PString & AbstractFunction::getName() const{
35 return p_name;
36}
37
39
41void AbstractFunction::setPrototype(const PString & prototype){
42 p_prototype = prototype;
43}
44
46
48const PString & AbstractFunction::getPrototype() const{
49 return p_prototype;
50}
51
53
56 p_name = name;
57}
58
59
60
61
62
const PString & getPrototype() const
Get the prototype of the current function.
PString p_prototype
Prototype of the function.
PString p_name
Name of the function.
const PString & getName() const
Name of the function.
void initialisationAbstractFunction(const PString &name)
Initialisation function of the class AbstractFunction.
void setPrototype(const PString &prototype)
Set the prototype of the current function.
void setName(const PString &name)
Set the name of the function.
virtual ~AbstractFunction()
Destructor of AbstractFunction.
AbstractFunction(const PString &name)
Default constructor of AbstractFunction.