The Sparta Modeling Framework
Loading...
Searching...
No Matches
sparta::statistics::ReportStatisticsArchive Class Reference

This class coordinates live SPARTA simulations (source) with binary output archives (sink). More...

#include <ReportStatisticsArchive.hpp>

Public Member Functions

 ReportStatisticsArchive (const std::string &db_directory, const std::string &db_subdirectory, const Report &report)
 
void setArchiveMetadata (const app::NamedExtensions &metadata)
 
void initialize ()
 
std::shared_ptr< RootArchiveNodegetRoot () const
 
void dispatchAll ()
 
bool flushAll ()
 
void saveTo (const std::string &db_directory)
 

Detailed Description

This class coordinates live SPARTA simulations (source) with binary output archives (sink).

Definition at line 20 of file ReportStatisticsArchive.hpp.

Constructor & Destructor Documentation

◆ ReportStatisticsArchive()

sparta::statistics::ReportStatisticsArchive::ReportStatisticsArchive ( const std::string &  db_directory,
const std::string &  db_subdirectory,
const Report &  report 
)
inline

Definition at line 23 of file ReportStatisticsArchive.hpp.

Member Function Documentation

◆ dispatchAll()

void sparta::statistics::ReportStatisticsArchive::dispatchAll ( )
inline

Definition at line 49 of file ReportStatisticsArchive.hpp.

◆ flushAll()

bool sparta::statistics::ReportStatisticsArchive::flushAll ( )
inline

Definition at line 57 of file ReportStatisticsArchive.hpp.

◆ getRoot()

std::shared_ptr< RootArchiveNode > sparta::statistics::ReportStatisticsArchive::getRoot ( ) const
inline

Definition at line 43 of file ReportStatisticsArchive.hpp.

◆ initialize()

void sparta::statistics::ReportStatisticsArchive::initialize ( )
inline

Definition at line 38 of file ReportStatisticsArchive.hpp.

◆ saveTo()

void sparta::statistics::ReportStatisticsArchive::saveTo ( const std::string &  db_directory)
inline

Definition at line 71 of file ReportStatisticsArchive.hpp.

◆ setArchiveMetadata()

void sparta::statistics::ReportStatisticsArchive::setArchiveMetadata ( const app::NamedExtensions &  metadata)
inline

Definition at line 33 of file ReportStatisticsArchive.hpp.


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