7#ifndef __ABSTRACTDATAFUNCTION_H__
8#define __ABSTRACTDATAFUNCTION_H__
12#include "PUncastableBool.h"
21 void setName(
const PString & name);
22 const PString &
getName()
const;
Abstract function definition which will be callable in Daemon.
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.
virtual bool call(PLog &log, const Swarm::Data &data)=0
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.
Basic Data exchanged in the swarm.