Private implementation class for AnalysisDataModuleManager.
Describes the current state of the notification methods.
void gmx::AnalysisDataModuleManager::Impl::checkModuleProperties |
( |
const IAnalysisDataModule & |
module | ) |
const |
Checks whether a module is compatible with the data properties.
- Parameters
-
[in] | module | Module to check. |
- Exceptions
-
APIError | if module is not compatible with the data. |
Does not currently check the actual data (e.g., missing values), but only the dimensionality and other preset properties of the data.
Checks whether a module is compatible with a given data property.
- Parameters
-
[in] | module | Module to check. |
[in] | property | Property to check. |
[in] | bSet | Value of the property to check against. |
- Exceptions
-
APIError | if module is not compatible with the data. |
Present data already added to the data object to a module.
- Parameters
-
[in] | data | Data object to read data from. |
[in] | module | Module to present the data to. |
- Exceptions
-
APIError | if module is not compatible with the data. |
APIError | if all data is not available through getDataFrame(). |
unspecified | Any exception thrown by module in its data notification methods. |
Uses getDataFrame() in data
to access all data in the object, and calls the notification functions in module
as if the module had been registered to the data object when the data was added.
State gmx::AnalysisDataModuleManager::Impl::state_ |
|
mutable |
Current state of the notification methods.
This is used together with currIndex_ for sanity checks on the input data; invalid call sequences trigger asserts. The state of these variables does not otherwise affect the behavior of this class; this is the reason they can be changed in const methods.Whether notifyDataStart() has been called.
The documentation for this class was generated from the following file: