Gromacs
2026.0-dev-20241204-d69d709
|
Private implementation class for TrajectoryAnalysisModuleData.
Public Types | |
typedef std::map< const AnalysisData *, AnalysisDataHandle > | HandleContainer |
Container that associates a data handle to its AnalysisData object. | |
Public Member Functions | |
Impl (TrajectoryAnalysisModule *module, const AnalysisDataParallelOptions &opt, const SelectionCollection &selections) | |
Initializes thread-local storage for data handles and selections. More... | |
Static Public Member Functions | |
static bool | isInitialized (const AnalysisData &data) |
Checks whether the given AnalysisData has been initialized. | |
Public Attributes | |
HandleContainer | handles_ |
Keeps a data handle for each AnalysisData object. | |
const SelectionCollection & | selections_ |
Stores thread-local selections. | |
gmx::TrajectoryAnalysisModuleData::Impl::Impl | ( | TrajectoryAnalysisModule * | module, |
const AnalysisDataParallelOptions & | opt, | ||
const SelectionCollection & | selections | ||
) |
Initializes thread-local storage for data handles and selections.
[in] | module | Analysis module to use for data objects. |
[in] | opt | Data parallelization options. |
[in] | selections | Thread-local selection collection. |
std::bad_alloc | if out of memory. |
unspecified | Can throw any exception thrown by AnalysisData::startData(). |
Calls AnalysisData::startData() on all data objects registered with TrajectoryAnalysisModule::registerAnalysisDataset() in module
. The handles are accessible through dataHandle().