|
typedef std::pair< std::string, double > | VariableInfo |
|
◆ CMPIParametersToParametersWorker()
frib::analysis::CMPIParametersToParametersWorker::CMPIParametersToParametersWorker |
( |
int |
argc, |
|
|
char ** |
argv, |
|
|
AbstractApplication * |
pApp |
|
) |
| |
constructor
- Parameters
-
argc,argv | - command line parameters after MPI_Init's strip. |
pApp | - pointer to the application object. |
◆ ~CMPIParametersToParametersWorker()
frib::analysis::CMPIParametersToParametersWorker::~CMPIParametersToParametersWorker |
( |
| ) |
|
|
virtual |
destructor - The tree parameters in the tree map were dynamically created by the receipt of the parameter definition record so They must be deleted.
◆ getVariable()
CMPIParametersToParametersWorker::VariableInfo * frib::analysis::CMPIParametersToParametersWorker::getVariable |
( |
const char * |
pVarName | ) |
|
|
protected |
getVariable Return the information block that describes a variable received from the dealer.
- Parameters
-
pVarName | - name of the variable we want. |
- Returns
- CMPIParametersToParametersWorker::VariableInfo*
- Return values
-
nullptr | - no matching variable definition. |
◆ getVariableNames()
std::vector< std::string > frib::analysis::CMPIParametersToParametersWorker::getVariableNames |
( |
| ) |
|
|
protected |
getVariableNames Return a vector of variable names received from the dealer.
- Returns
- std::vector<std::string>
◆ loadVariable()
void frib::analysis::CMPIParametersToParametersWorker::loadVariable |
( |
const char * |
pVarName | ) |
|
|
protected |
loadVariable Given a variable loads its information into the current set of tree variables.
- Parameters
-
pVarName | - name of the variable. |
- Exceptions
-
std::invalid_argument | - if there's no matching variable. |
- Note
- If there's no matching locally defined variable, we will create a new one but this new variable will not be known to the outputter.
◆ operator()()
void frib::analysis::CMPIParametersToParametersWorker::operator() |
( |
| ) |
|
|
virtual |
operator() Entry point for the worker. The top level logic is simple: Receive the parameter definitions - those are first. Receive the variable definitions - those must be second. Recieve/process all of the events:
The documentation for this class was generated from the following files: