7#ifndef __FUNCTION_CALL_H_IMPL__
8#define __FUNCTION_CALL_H_IMPL__
10#include "phoenix_type_stream.h"
18template<
typename _Callable>
27template<
typename _Callable>
38template<
typename _Callable>
44template<
typename _Callable>
void setPrototype(const PString &prototype)
Set the prototype of the current function.
AbstractFunction(const PString &name)
Default constructor of AbstractFunction.
Basic Data exchanged in the swarm.
const DataStreamMsg & getValue() const
Gets the value of the Data.
virtual ~FunctionCall()
Destructor of FunctionCall.
FunctionCall(_Callable &&function, const PString &name)
Default constructor of FunctionCall.
virtual bool call(PLog &log, Data &outputResult, const Data ¶meter)
Call the function with parameter.
void initialisationFunctionCall()
Initialisation function of the class FunctionCall.
_Callable && p_function
Callable function of the FunctionCall.
bool phoenix_function_call(PLog &log, Data &result, const DataStreamMsg &input, R(*func)(T...))
Call the function with message.