IODA Bundle
Ingester::BufrCollector Class Referenceabstract

Collectors know how to use the BUFR interface to grab data associated with configured mnemonicSets. More...

#include <BufrCollector.h>

Inheritance diagram for Ingester::BufrCollector:
[legend]
Collaboration diagram for Ingester::BufrCollector:
[legend]

Public Member Functions

 BufrCollector (const int fortranFileId, const BufrMnemonicSet mnemonicSet)
 
virtual ~BufrCollector ()=default
 
virtual void collect ()=0
 Grab the data. More...
 
BufrDataMap finalize ()
 Get the data we want from the accumulator and make our data map. Resets the accumulator. More...
 

Protected Attributes

const int fortranFileId_
 Fortran file ID for the open BUFR file. More...
 
BufrAccumulator accumulator_
 Accumulator to collect the data we are collecting. More...
 
const BufrMnemonicSet mnemonicSet_
 Specifies the mnemonics and channels this collector gets from the BUFR file. More...
 

Detailed Description

Collectors know how to use the BUFR interface to grab data associated with configured mnemonicSets.

Definition at line 24 of file BufrCollector.h.

Constructor & Destructor Documentation

◆ BufrCollector()

Ingester::BufrCollector::BufrCollector ( const int  fortranFileId,
const BufrMnemonicSet  mnemonicSet 
)

Definition at line 13 of file BufrCollector.cpp.

◆ ~BufrCollector()

virtual Ingester::BufrCollector::~BufrCollector ( )
virtualdefault

Member Function Documentation

◆ collect()

virtual void Ingester::BufrCollector::collect ( )
pure virtual

Grab the data.

Implemented in Ingester::BufrRepCollector, and Ingester::BufrIntCollector.

◆ finalize()

BufrDataMap Ingester::BufrCollector::finalize ( )

Get the data we want from the accumulator and make our data map. Resets the accumulator.

Definition at line 20 of file BufrCollector.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ accumulator_

BufrAccumulator Ingester::BufrCollector::accumulator_
protected

Accumulator to collect the data we are collecting.

Definition at line 42 of file BufrCollector.h.

◆ fortranFileId_

const int Ingester::BufrCollector::fortranFileId_
protected

Fortran file ID for the open BUFR file.

Definition at line 39 of file BufrCollector.h.

◆ mnemonicSet_

const BufrMnemonicSet Ingester::BufrCollector::mnemonicSet_
protected

Specifies the mnemonics and channels this collector gets from the BUFR file.

Definition at line 45 of file BufrCollector.h.


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