The Sparta Modeling Framework
Loading...
Searching...
No Matches
ArchiveStream.hpp
1
// <ArchiveStream> -*- C++ -*-
2
3
#pragma once
4
5
#include <string>
6
7
namespace
sparta
{
8
namespace
statistics {
9
14
class
ArchiveStream
15
{
16
public
:
17
virtual
~ArchiveStream
() {}
18
19
void
setPath(
const
std::string & path) {
20
path_ = path;
21
}
22
23
void
setSubpath(
const
std::string & subpath) {
24
subpath_ = subpath;
25
}
26
27
const
std::string & getPath()
const
{
28
return
path_;
29
}
30
31
const
std::string & getSubpath()
const
{
32
return
subpath_;
33
}
34
35
virtual
void
initialize() = 0;
36
37
private
:
38
std::string path_;
39
std::string subpath_;
40
};
41
42
}
// namespace statistics
43
}
// namespace sparta
44
sparta::statistics::ArchiveStream
Generic statistic stream base class for sources and sinks in the report archive system.
Definition
ArchiveStream.hpp:15
sparta
Macros for handling exponential backoff.
Definition
AppTriggers.hpp:22
sparta
statistics
dispatch
archives
ArchiveStream.hpp
Generated on Mon Nov 11 2024 22:59:36 for The Sparta Modeling Framework by
1.9.8