#include <plugin.h>
Inheritance diagram for Plugin:

Public Types | |
| enum | pa_e { PA_BEFORE_PARAM = 2 ^ 0, PA_INIT = 2 ^ 1, PA_BEFORE_FILTER = 2 ^ 2, PA_FILTER = 2 ^ 3, PA_AFTER_FILTER = 2 ^ 4, PA_BEFORE_ANALYSE = 2 ^ 5, PA_ANALYSE = 2 ^ 6, PA_AFTER_ANALYSE = 2 ^ 7, PA_FREE = 2 ^ 8, PA_ADDRFILTER = 2 ^ 9 } |
| enum | ps_e { PS_CONTINUE, PS_STOP, PS_DISABLE, PS_ENABLE } |
Public Methods | |
| virtual int | pa (void) |
| virtual void | setPointer (std::list< Filter * > *f, std::list< AddrFilter * > *d, std::list< Analyse * > *a, std::list< Report * > *r, std::list< Plugin * > *p) |
| virtual void | beforeParam (void) |
| virtual ps_e | init (void) |
| virtual ps_e | beforeFilter (Filter *fp) |
| virtual ps_e | filter (void) |
| virtual ps_e | afterFilter (Filter *fp) |
| virtual ps_e | beforeAnalyse (Analyse *ap) |
| virtual ps_e | analyse (void) |
| virtual ps_e | afterAnalyse (Analyse *ap) |
| virtual ps_e | free (void) |
| virtual bool | addrFilter (std::string &addr) |
| virtual | ~Plugin () |
Protected Attributes | |
| maps_t | maps |
|
|
|
|
|
|
|
|
The virtual deconstructor. |
|
|
This function is called from a filter object for every adress. It should call all necessary addrfilters and return the result summary. Reimplemented in filterPlugin. |
|
|
This function is called after every analysis. |
|
|
This function is called after the current selected filter is done. |
|
|
Make sure that your plugin is the _only one_ use this function. A call should execute all selected analysis. Reimplemented in analysePlugin. |
|
|
This function is called before every analysis. |
|
|
This function is called before the current selected filter is running. |
|
|
This function is executed if the Flag PA_BEFORE_PARAM set before any Parameters are read from the plugin object. Place here code to generate generic parameters, based on other objects in the system. Reimplemented in analysePlugin, filterPlugin, and reportPlugin. |
|
|
If you use this function, make sure that your plugin is the _only one_ who use this. A call of this function should run the filter. Reimplemented in filterPlugin. |
|
|
Before everything is done, this function is called to clean perhaps someting. Reimplemented in reportPlugin. |
|
|
After reading all parameters, this function is called. Reimplemented in analysePlugin, filterPlugin, and reportPlugin. |
|
|
This function is tested before every action. You can return a set of function flags to execute this functions of your plugin object. Reimplemented in analysePlugin, filterPlugin, and reportPlugin. |
|
||||||||||||||||||||||||
|
After adding the new plugin to the plugin list, this function is called to set all pointers to every list. So every plugin object can access all other objects in the system. |
|
|
|
1.2.18