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

Use a binary archive file as a destination for statistics values. More...

#include <BinaryOArchive.hpp>

Inheritance diagram for sparta::statistics::BinaryOArchive:
Collaboration diagram for sparta::statistics::BinaryOArchive:

Public Member Functions

void initialize () override
 
void copyMetadataFrom (const ArchiveStream *stream) override
 
void sendToSink (const std::vector< double > &values) override
 
void flush () override
 
- Public Member Functions inherited from sparta::statistics::ArchiveSink
void setRoot (const std::shared_ptr< RootArchiveNode > &root)
 
- Public Member Functions inherited from sparta::statistics::ArchiveStream
void setPath (const std::string &path)
 
void setSubpath (const std::string &subpath)
 
const std::string & getPath () const
 
const std::string & getSubpath () const
 

Additional Inherited Members

- Protected Member Functions inherited from sparta::statistics::ArchiveSink
RootArchiveNodegetRoot_ ()
 
const RootArchiveNodegetRoot_ () const
 

Detailed Description

Use a binary archive file as a destination for statistics values.

Definition at line 21 of file BinaryOArchive.hpp.

Member Function Documentation

◆ copyMetadataFrom()

void sparta::statistics::BinaryOArchive::copyMetadataFrom ( const ArchiveStream stream)
inlineoverridevirtual

Implements sparta::statistics::ArchiveSink.

Definition at line 46 of file BinaryOArchive.hpp.

◆ flush()

void sparta::statistics::BinaryOArchive::flush ( )
inlineoverridevirtual

Implements sparta::statistics::ArchiveSink.

Definition at line 82 of file BinaryOArchive.hpp.

◆ initialize()

void sparta::statistics::BinaryOArchive::initialize ( )
inlineoverridevirtual

Implements sparta::statistics::ArchiveStream.

Definition at line 26 of file BinaryOArchive.hpp.

◆ sendToSink()

void sparta::statistics::BinaryOArchive::sendToSink ( const std::vector< double > &  values)
inlineoverridevirtual

Implements sparta::statistics::ArchiveSink.

Definition at line 71 of file BinaryOArchive.hpp.


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