![]() |
|
PhoenixSwarm
5.1.1
Library to ease communication between daemons
|
Abstract function definition which will be callable in Daemon. More...
#include <AbstractDataFunction.h>
Inheritance diagram for Swarm::AbstractDataFunction:Public Member Functions | |
| AbstractDataFunction (const PString &name) | |
| Default constructor of AbstractDataFunction. | |
| virtual bool | call (PLog &log, const Swarm::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 16 of file AbstractDataFunction.h.
| AbstractDataFunction::AbstractDataFunction | ( | const PString & | name | ) |
Default constructor of AbstractDataFunction.
| name | : name of the function |
Definition at line 14 of file AbstractDataFunction.cpp.
References initialisationAbstractDataFunction().
Referenced by Swarm::DataFunctionCall< _Data >::DataFunctionCall(), and Swarm::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 19 of file AbstractDataFunction.cpp.
|
pure virtual |
Implemented in Swarm::DataFunctionCall< _Data >, and Swarm::DataFunctionClassCall< _Class, _Data >.
Referenced by Swarm::BaseDaemon::processData(), and Swarm::Daemon< _TBackend >::processInputMessage().
Here is the caller graph for this function:| const PString & AbstractDataFunction::getName | ( | ) | const |
Name of the function.
Definition at line 33 of file AbstractDataFunction.cpp.
References p_name.
Referenced by Swarm::DataFunctionCall< _Data >::call(), and Swarm::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 47 of file AbstractDataFunction.cpp.
References p_prototype.
Referenced by Swarm::DataFunctionCall< _Data >::call(), and Swarm::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 54 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 26 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 40 of file AbstractDataFunction.cpp.
References p_prototype.
Referenced by Swarm::DataFunctionCall< _Data >::DataFunctionCall().
Here is the caller graph for this function:
|
private |
Name of the function.
Definition at line 33 of file AbstractDataFunction.h.
Referenced by getName(), initialisationAbstractDataFunction(), and setName().
|
private |
Prototype of the function.
Definition at line 35 of file AbstractDataFunction.h.
Referenced by getPrototype(), initialisationAbstractDataFunction(), and setPrototype().