The Sparta Modeling Framework
Loading...
Searching...
No Matches
ReportConfigInspection.hpp
Go to the documentation of this file.
1// <ReportConfigInspection> -*- C++ -*-
2
3
11#pragma once
12
14
15namespace sparta {
16namespace app {
17
19bool hasAnyReportTriggers(const ReportDescriptor * rd);
20
22bool hasStartTrigger(const ReportDescriptor * rd);
23
25bool hasUpdateTrigger(const ReportDescriptor * rd);
26
28bool hasStopTrigger(const ReportDescriptor * rd);
29
31bool hasToggleTrigger(const ReportDescriptor * rd);
32
34bool hasOnDemandTrigger(const ReportDescriptor * rd);
35
37bool hasSprintfNotifTrigger(const ReportDescriptor * rd);
38
42bool hasNotifSourceStartTriggerNamed(
43 const ReportDescriptor * rd,
44 const std::string & notif_source_name);
45
49bool hasNotifSourceUpdateTriggerNamed(
50 const ReportDescriptor * rd,
51 const std::string & notif_source_name);
52
56bool hasNotifSourceStopTriggerNamed(
57 const ReportDescriptor * rd,
58 const std::string & notif_source_name);
59
83utils::ValidValue<std::string> getTriggerExpression(
84 const ReportDescriptor * rd,
85 const std::string & yaml_type);
86
109utils::ValidValue<std::string> getNotifSourceForStartTrigger(
110 const ReportDescriptor * rd);
111
115utils::ValidValue<std::string> getNotifSourceForUpdateTrigger(
116 const ReportDescriptor * rd);
117
121utils::ValidValue<std::string> getNotifSourceForStopTrigger(
122 const ReportDescriptor * rd);
123
124} // namespace app
125} // namespace sparta
126
Describes reports to instantiate and tracks their instantiations.
Macros for handling exponential backoff.