cc_tools_qt
Common Environment for Protocol Analysis.
|
The cc_tools_qt allows one plugin to influence the configuration of another. The configuration exchange is done via QVariantMap data type and it's up to the plugins to interpret the values stored in the map.
The plugin class is expected to extend the cc_tools_qt::Plugin and override the applyInterPluginConfigImpl() member function.
In case the plugin configuration is handled inside the class extending the socket, filter, or protocol, then such class can override its applyInterPluginConfigImpl() member function while the plugin's applyInterPluginConfigImpl() one can redirect the request.
The plugin class can invoke inheirted reportInterPluginConfig() member function to report populated inter-plugin configuration.
In case the inter-plugin configuration event is initiated inside the class extending the socket, filter, or protocol, then such class can use inherited cc_tools_qt::Socket::reportInterPluginConfig() member function while the plugin class can set appropriate callback and use the inherited reportInterPluginConfig() to propagate the inter-plugin configuration request.