13template<
typename _Callable>
16 FunctionCall(_Callable && function,
const PString & name);
Abstract function definition which will be callable in Daemon.
Basic Data exchanged in the swarm.
Function which can be called in a Daemon.
virtual bool call(PLog &log, Swarm::Data &outputResult, const Swarm::Data ¶meter)
Call the function with parameter.
FunctionCall(_Callable &&function, const PString &name)
Default constructor of FunctionCall.
virtual ~FunctionCall()
Destructor of FunctionCall.
_Callable && p_function
Callable function of the FunctionCall.
void initialisationFunctionCall()
Initialisation function of the class FunctionCall.