![]() |
|
PhoenixSwarm
3.5.0
Library to ease communication between daemons
|
Abstract function definition which will be callable in Daemon. More...
#include <AbstractFunction.h>
Inheritance diagram for AbstractFunction:Public Member Functions | |
| AbstractFunction (const PString &name) | |
| Default constructor of AbstractFunction. | |
| virtual bool | call (PLog &log, Data &outputResult, const Data ¶meter)=0 |
| const PString & | getName () const |
| Name of the function. | |
| const PString & | getPrototype () const |
| Get the prototype of the current function. | |
| void | setName (const PString &name) |
| Set the name of the function. | |
| void | setPrototype (const PString &prototype) |
| Set the prototype of the current function. | |
| virtual | ~AbstractFunction () |
| Destructor of AbstractFunction. | |
Private Member Functions | |
| void | initialisationAbstractFunction (const PString &name) |
| Initialisation function of the class AbstractFunction. | |
Private Attributes | |
| PString | p_name |
| Name of the function. | |
| PString | p_prototype |
| Prototype of the function. | |
Abstract function definition which will be callable in Daemon.
Definition at line 14 of file AbstractFunction.h.
| AbstractFunction::AbstractFunction | ( | const PString & | name | ) |
Default constructor of AbstractFunction.
| name | : name of the function |
Definition at line 15 of file AbstractFunction.cpp.
References initialisationAbstractFunction().
Referenced by FunctionCall< _Callable >::FunctionCall().
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
|
pure virtual |
Implemented in FunctionCall< _Callable >.
| const PString & AbstractFunction::getName | ( | ) | const |
Name of the function.
Definition at line 34 of file AbstractFunction.cpp.
References p_name.
| const PString & AbstractFunction::getPrototype | ( | ) | const |
Get the prototype of the current function.
Definition at line 48 of file AbstractFunction.cpp.
References p_prototype.
|
private |
Initialisation function of the class AbstractFunction.
| name | : name of the function |
Definition at line 55 of file AbstractFunction.cpp.
References p_name.
Referenced by AbstractFunction().
Here is the caller graph for this function:| void AbstractFunction::setName | ( | const PString & | name | ) |
Set the name of the function.
| name | : name of the function |
Definition at line 27 of file AbstractFunction.cpp.
References p_name.
| void AbstractFunction::setPrototype | ( | const PString & | prototype | ) |
Set the prototype of the current function.
| prototype | : prototype of the current function |
Definition at line 41 of file AbstractFunction.cpp.
References p_prototype.
Referenced by FunctionCall< _Callable >::FunctionCall().
Here is the caller graph for this function:
|
private |
Name of the function.
Definition at line 31 of file AbstractFunction.h.
Referenced by getName(), initialisationAbstractFunction(), and setName().
|
private |
Prototype of the function.
Definition at line 33 of file AbstractFunction.h.
Referenced by getPrototype(), and setPrototype().