#include <DataProviderConfigurationTokensHandler.h>
◆ DataProviderConfigurationTokensHandler()
Constructor.
- Parameters
-
manager | The analysis manager to configure. |
◆ HandleTokens()
bool EA::DataProviderConfigurationTokensHandler::HandleTokens |
( |
const std::vector< std::string > & |
tokens | ) |
|
|
virtual |
Handles data provider configuration tokens.
Commands handled:
DataProvider <className> <providerName> [dataSource] - main command: create a data provider AttachToStore <storeName> <storeCategory> - sub-command: attach the data provider to data store storeCategory can be: event pass global Set <parameterName> <parameterValue> - sub-command: sets the data provider parameters
The data source string for a given data provider will be obtained also from command line parameters; if present, it will override the data provider string given in configuration file.
- Parameters
-
tokens | The configuration tokens. |
- Returns
- false if the given token sequence is not understood and cannot be handled.
- Exceptions
-
std::logic_error | if AttachToStore command is given before DataProvider. |
std::runtime_error | if any other error occurs during the handling. |
Implements EA::ConfigurationTokensHandler.
◆ _provider
The documentation for this class was generated from the following files: