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

Controller used when attaching to an archive outside of any live simulation. More...

#include <ArchiveController.hpp>

Inheritance diagram for sparta::statistics::OfflineArchiveController:
Collaboration diagram for sparta::statistics::OfflineArchiveController:

Public Member Functions

 OfflineArchiveController (const std::string &source_archive_dir)
 
bool synchronize () override
 
void saveTo (const std::string &dir) override
 

Detailed Description

Controller used when attaching to an archive outside of any live simulation.

Definition at line 68 of file ArchiveController.hpp.

Constructor & Destructor Documentation

◆ OfflineArchiveController()

sparta::statistics::OfflineArchiveController::OfflineArchiveController ( const std::string &  source_archive_dir)
inlineexplicit

Definition at line 71 of file ArchiveController.hpp.

Member Function Documentation

◆ saveTo()

void sparta::statistics::OfflineArchiveController::saveTo ( const std::string &  dir)
overridevirtual

Make a deep copy of the current archived data into a new directory.

Implements sparta::statistics::ArchiveController.

◆ synchronize()

bool sparta::statistics::OfflineArchiveController::synchronize ( )
overridevirtual

Offline archives (outside of any simulation) are synchronous. This method does not have any effect.

Implements sparta::statistics::ArchiveController.


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