Fledge
An open source edge computing platform for industrial users
FledgeFilter Class Reference
Collaboration diagram for FledgeFilter:

Public Member Functions

 FledgeFilter (const std::string &filterName, ConfigCategory &filterConfig, OUTPUT_HANDLE *outHandle, OUTPUT_STREAM output)
 FledgeFilter constructor. More...
 
const std::string & getName () const
 
bool isEnabled () const
 
ConfigCategorygetConfig ()
 
void disableFilter ()
 
void setConfig (const std::string &newConfig)
 Set a new configurartion for this plugin. More...
 

Public Attributes

OUTPUT_HANDLE * m_data
 
OUTPUT_STREAM m_func
 

Protected Attributes

std::string m_name
 
ConfigCategory m_config
 
bool m_enabled
 

Constructor & Destructor Documentation

◆ FledgeFilter()

FledgeFilter::FledgeFilter ( const std::string &  filterName,
ConfigCategory filterConfig,
OUTPUT_HANDLE *  outHandle,
OUTPUT_STREAM  output 
)

FledgeFilter constructor.

This class or a derived one has to be used as return object from Fledge filters C interface "plugin_init"A

Parameters
filterNameThe filter plugin name
filterConfigThe filter plugin configuration
outHandleA handle passed to the filter output stream function
outputThe The output stream function pointer

Member Function Documentation

◆ setConfig()

void FledgeFilter::setConfig ( const std::string &  newConfig)

Set a new configurartion for this plugin.

Parameters
newConfigThe new configuration

The documentation for this class was generated from the following files: