7#ifndef __ABSTRACTDATAFUNCTION_H__
8#define __ABSTRACTDATAFUNCTION_H__
12#include "PUncastableBool.h"
20 void setName(
const PString & name);
21 const PString &
getName()
const;
26 virtual bool call(PLog & log,
const Data & data) = 0;
const PString & getPrototype() const
Get the prototype of the current function.
PString p_prototype
Prototype of the 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 Data &data)=0
void setName(const PString &name)
Set the name of the function.
PString p_name
Name of the function.
virtual ~AbstractDataFunction()
Destructor of AbstractDataFunction.
void initialisationAbstractDataFunction(const PString &name)
Initialisation function of the class AbstractDataFunction.
AbstractDataFunction(const PString &name)
Default constructor of AbstractDataFunction.
Basic Data exchanged in the swarm.