#include <HistoryCollection.hpp>
A task class for serializing time history data into a buffer for later I/O.
Definition at line 35 of file HistoryCollection.hpp.
◆ HistoryCollection()
geos::HistoryCollection::HistoryCollection |
( |
string const & |
name, |
|
|
Group * |
parent |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
name | The name of this Group. |
parent | The parent Group. |
Definition at line 39 of file HistoryCollection.hpp.
◆ getMetaData()
Get the metadata for what this collector collects.
- Parameters
-
[in] | domain | The DomainPartition. |
[in] | collectionIdx | Which collected item to get metadata for. |
- Returns
- A HistoryMetadata object describing the history data being collected by this collector.
Implemented in geos::PackCollection.
◆ getMetaDataCollector()
Get a collector of meta-information for this collector.
- Parameters
-
- Returns
- A mutable reference.
Implemented in geos::HistoryCollectionBase.
◆ getTargetName()
virtual const string& geos::HistoryCollection::getTargetName |
( |
| ) |
const |
|
pure virtual |
Get the name of the object being targeted for collection.
- Returns
- The collection target's name
Implemented in geos::PackCollection.
◆ getTimeMetaData()
Get a metadata object relating the the Time variable itself.
- Returns
- A HistroyMetadata object describing the Time variable.
Implemented in geos::HistoryCollectionBase.
◆ numCollectors()
virtual localIndex geos::HistoryCollection::numCollectors |
( |
| ) |
const |
|
pure virtual |
Get the number of discrete collection operations this collector conducts.
- Returns
- The number of collection operations for this collector.
Implemented in geos::HistoryCollectionBase.
◆ numMetaDataCollectors()
virtual localIndex geos::HistoryCollection::numMetaDataCollectors |
( |
| ) |
const |
|
pure virtual |
Get the number of collectors of meta-information (set indices, etc) writing time-independent information during initialization.
- Returns
- The number of collectors of meta-information for this collector.
Implemented in geos::PackCollection.
◆ registerBufferProvider()
virtual void geos::HistoryCollection::registerBufferProvider |
( |
localIndex |
collectionIdx, |
|
|
BufferProvider |
bufferProvider |
|
) |
| |
|
pure virtual |
Register a callback that provides the current head of the time history data buffer.
- Parameters
-
[in] | collectionIdx | Which collection item to register the buffer callback for. |
[in] | bufferProvider | A functional that when invoked returns a pointer to the head of a buffer at least large enough to serialize one time step of history data into. |
- Note
- This is typically meant to callback to BufferedHistoryIO::getBufferHead()
Implemented in geos::HistoryCollectionBase.
◆ registerTimeBufferProvider()
virtual void geos::HistoryCollection::registerTimeBufferProvider |
( |
TimeBufferProvider |
timeBufferProvider | ) |
|
|
pure virtual |
Register a callback that gives the current head of the time data buffer.
- Parameters
-
[in] | timeBufferProvider | A functional that when invoked returns a pointer to the head of a buffer at least large enough to serialize one instance of the Time variable into. |
- Note
- This is typically meant to callback to BufferedHistoryIO::GetBufferHead()
Implemented in geos::HistoryCollectionBase.
The documentation for this class was generated from the following file: