The Sparta Modeling Framework
Loading...
Searching...
No Matches
sparta::statistics::ArchiveSink Class Referenceabstract

Generic statistic sink base class for report archives. More...

#include <ArchiveSink.hpp>

Inheritance diagram for sparta::statistics::ArchiveSink:
Collaboration diagram for sparta::statistics::ArchiveSink:

Public Member Functions

void setRoot (const std::shared_ptr< RootArchiveNode > &root)
 
virtual void copyMetadataFrom (const ArchiveStream *stream)=0
 
virtual void sendToSink (const std::vector< double > &values)=0
 
virtual void flush ()=0
 
- 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
 
virtual void initialize ()=0
 

Protected Member Functions

RootArchiveNodegetRoot_ ()
 
const RootArchiveNodegetRoot_ () const
 

Detailed Description

Generic statistic sink base class for report archives.

Definition at line 18 of file ArchiveSink.hpp.

Member Function Documentation

◆ getRoot_() [1/2]

RootArchiveNode * sparta::statistics::ArchiveSink::getRoot_ ( )
inlineprotected

Definition at line 32 of file ArchiveSink.hpp.

◆ getRoot_() [2/2]

const RootArchiveNode * sparta::statistics::ArchiveSink::getRoot_ ( ) const
inlineprotected

Definition at line 36 of file ArchiveSink.hpp.

◆ setRoot()

void sparta::statistics::ArchiveSink::setRoot ( const std::shared_ptr< RootArchiveNode > &  root)
inline

Definition at line 21 of file ArchiveSink.hpp.


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