CYCLUS
Classes | Public Member Functions | List of all members
cyclus::RecBackend Class Referenceabstract

Detailed Description

An abstract base class for listeners (e.g.

output databases) that want to receive data generated by the simulation.

Definition at line 16 of file rec_backend.h.

#include <rec_backend.h>

Inheritance diagram for cyclus::RecBackend:
cyclus::FullBackend cyclus::Hdf5Back cyclus::SqliteBack

Classes

class  Deleter
 

Public Member Functions

virtual void Close ()=0
 
virtual void Flush ()=0
 
virtual std::string Name ()=0
 
virtual void Notify (DatumList data)=0
 
virtual ~RecBackend ()
 

Constructor & Destructor Documentation

virtual cyclus::RecBackend::~RecBackend ( )
inlinevirtual

Definition at line 37 of file rec_backend.h.

Member Function Documentation

virtual void cyclus::RecBackend::Close ( )
pure virtual

Closes the backend, if approriate.

Implemented in cyclus::Hdf5Back, and cyclus::SqliteBack.

virtual void cyclus::RecBackend::Flush ( )
pure virtual

Flushes all buffered data in the backend to its final format/location.

Implemented in cyclus::Hdf5Back, and cyclus::SqliteBack.

virtual std::string cyclus::RecBackend::Name ( )
pure virtual

Used to uniquely identify a backend - particularly if there are more than one in a simulation.

Implemented in cyclus::Hdf5Back, and cyclus::SqliteBack.

virtual void cyclus::RecBackend::Notify ( DatumList  data)
pure virtual

Used to pass a list of new/collected Datum objects.

Implemented in cyclus::Hdf5Back, and cyclus::SqliteBack.


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