Gromacs  2024.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes
gmx::TrajectoryAnalysisModuleData::Impl Class Reference
+ Collaboration diagram for gmx::TrajectoryAnalysisModuleData::Impl:

Description

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 SelectionCollectionselections_
 Stores thread-local selections.
 

Constructor & Destructor Documentation

gmx::TrajectoryAnalysisModuleData::Impl::Impl ( TrajectoryAnalysisModule module,
const AnalysisDataParallelOptions opt,
const SelectionCollection selections 
)

Initializes thread-local storage for data handles and selections.

Parameters
[in]moduleAnalysis module to use for data objects.
[in]optData parallelization options.
[in]selectionsThread-local selection collection.
Exceptions
std::bad_allocif out of memory.
unspecifiedCan 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().


The documentation for this class was generated from the following file: