7#ifndef __DATA_FUNCTION_H__
8#define __DATA_FUNCTION_H__
13template<
typename _Data>
16 DataFunctionCall(PUncastableBool (*function)(
const _Data &),
const PString & name);
Abstract function definition which will be callable in Daemon.
Function which can be called in a Daemon.
DataFunctionCall(PUncastableBool(*function)(const _Data &), const PString &name)
Default constructor of DataFunctionCall.
virtual bool call(PLog &log, const Swarm::Data &data)
Call the function with parameter.
void initialisationDataFunctionCall()
Initialisation function of the class DataFunctionCall.
virtual ~DataFunctionCall()
Destructor of DataFunctionCall.
PUncastableBool(* p_function)(const _Data &)
Callable function of the DataFunctionCall.
Basic Data exchanged in the swarm.