![]() |
|
PhoenixSwarm
3.5.0
Library to ease communication between daemons
|
Abstract function definition which will be callable in Daemon. More...
#include <AbstractDataFunction.h>
Inheritance diagram for AbstractDataFunction:Public Member Functions | |
| AbstractDataFunction (const PString &name) | |
| Default constructor of AbstractDataFunction. | |
| virtual bool | call (PLog &log, const Data &data)=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 | ~AbstractDataFunction () |
| Destructor of AbstractDataFunction. | |
Private Member Functions | |
| void | initialisationAbstractDataFunction (const PString &name) |
| Initialisation function of the class AbstractDataFunction. | |
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 15 of file AbstractDataFunction.h.
| AbstractDataFunction::AbstractDataFunction | ( | const PString & | name | ) |
Default constructor of AbstractDataFunction.
| name | : name of the function |
Definition at line 15 of file AbstractDataFunction.cpp.
References initialisationAbstractDataFunction().
Referenced by DataFunctionCall< _Data >::DataFunctionCall(), and DataFunctionClassCall< _Class, _Data >::DataFunctionClassCall().
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Destructor of AbstractDataFunction.
Definition at line 20 of file AbstractDataFunction.cpp.
|
pure virtual |
Implemented in DataFunctionCall< _Data >, and DataFunctionClassCall< _Class, _Data >.
Referenced by BaseDaemon::processData(), and Daemon< _TBackend >::processInputMessage().
Here is the caller graph for this function:| const PString & AbstractDataFunction::getName | ( | ) | const |
Name of the function.
Definition at line 34 of file AbstractDataFunction.cpp.
References p_name.
Referenced by DataFunctionCall< _Data >::call(), and DataFunctionClassCall< _Class, _Data >::call().
Here is the caller graph for this function:| const PString & AbstractDataFunction::getPrototype | ( | ) | const |
Get the prototype of the current function.
Definition at line 48 of file AbstractDataFunction.cpp.
References p_prototype.
Referenced by DataFunctionCall< _Data >::call(), and DataFunctionClassCall< _Class, _Data >::call().
Here is the caller graph for this function:
|
private |
Initialisation function of the class AbstractDataFunction.
| name | : name of the function |
Definition at line 55 of file AbstractDataFunction.cpp.
References p_name, and p_prototype.
Referenced by AbstractDataFunction().
Here is the caller graph for this function:| void AbstractDataFunction::setName | ( | const PString & | name | ) |
Set the name of the function.
| name | : name of the function |
Definition at line 27 of file AbstractDataFunction.cpp.
References p_name.
| void AbstractDataFunction::setPrototype | ( | const PString & | prototype | ) |
Set the prototype of the current function.
| prototype | : prototype of the current function |
Definition at line 41 of file AbstractDataFunction.cpp.
References p_prototype.
Referenced by DataFunctionCall< _Data >::DataFunctionCall().
Here is the caller graph for this function:
|
private |
Name of the function.
Definition at line 32 of file AbstractDataFunction.h.
Referenced by getName(), initialisationAbstractDataFunction(), and setName().
|
private |
Prototype of the function.
Definition at line 34 of file AbstractDataFunction.h.
Referenced by getPrototype(), initialisationAbstractDataFunction(), and setPrototype().