PhoenixSwarm  5.1.1
Library to ease communication between daemons
Loading...
Searching...
No Matches
AbstractDataFunction.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
8
9using namespace Swarm;
10
12
17
22
24
26void AbstractDataFunction::setName(const PString & name){
27 p_name = name;
28}
29
31
33const PString & AbstractDataFunction::getName() const{
34 return p_name;
35}
36
38
40void AbstractDataFunction::setPrototype(const PString & prototype){
41 p_prototype = prototype;
42}
43
45
47const PString & AbstractDataFunction::getPrototype() const{
48 return p_prototype;
49}
50
52
55 p_name = name;
56 p_prototype = name;
57}
58
59
60
61
62
const PString & getPrototype() const
Get the prototype of the current function.
void setPrototype(const PString &prototype)
Set the prototype of the current function.
const PString & getName() const
Name of the function.
void setName(const PString &name)
Set the name of the function.
virtual ~AbstractDataFunction()
Destructor of AbstractDataFunction.
void initialisationAbstractDataFunction(const PString &name)
Initialisation function of the class AbstractDataFunction.
PString p_prototype
Prototype of the function.
PString p_name
Name of the function.
AbstractDataFunction(const PString &name)
Default constructor of AbstractDataFunction.