#include <dc_filterservice.h>
Public Methods | |
DC_Filter_Base_t (void) | |
virtual | ~DC_Filter_Base_t (void) |
char* | FindAppFilterConfig (const char *sbName, int wId=-1) |
Searches the console config file for the section [AppName.FilterName]. | |
long | FindAppFilterConfigInt (const char *sbName, int wId=-1, bool fInterpretUnits=true) |
double | FindAppFilterConfigDbl (const char *sbName, int wId=-1) |
void | FilterLock (void) |
Filter service provided method. | |
void | FilterUnlock (void) |
Filter service provided method. | |
virtual DC_RTN_t | init (initarg_t &arg)=0 |
User-defined interface method. | |
virtual DC_RTN_t | process (arg_t &arg)=0 |
User-defined interface method. | |
virtual DC_RTN_t | finalize (void)=0 |
User-defined interface method. | |
Public Attributes | |
DC_FilterService_t* | pDC |
The service which instantiates the filter in a remote process. | |
const char* | sbFilterName |
The name of the filter. |
Applications should subclass this abstract base class for every filter, then provide definitions for the virtual functions init, process, and finalize.