7#ifndef __ABSTRACTFUNCTION_H__
8#define __ABSTRACTFUNCTION_H__
20 void setName(
const PString & name);
21 const PString &
getName()
const;
Abstract function definition which will be callable in Daemon.
PString p_prototype
Prototype of the function.
const PString & getPrototype() const
Get the prototype of the current 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 bool call(PLog &log, Swarm::Data &outputResult, const Swarm::Data ¶meter)=0
virtual ~AbstractFunction()
Destructor of AbstractFunction.
AbstractFunction(const PString &name)
Default constructor of AbstractFunction.
Basic Data exchanged in the swarm.