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
39bool hasNotifSourceStartTriggerNamed(
40 const ReportDescriptor * rd,
41 const std::string & notif_source_name);
42
46bool hasNotifSourceUpdateTriggerNamed(
47 const ReportDescriptor * rd,
48 const std::string & notif_source_name);
49
53bool hasNotifSourceStopTriggerNamed(
54 const ReportDescriptor * rd,
55 const std::string & notif_source_name);
56
80utils::ValidValue<std::string> getTriggerExpression(
81 const ReportDescriptor * rd,
82 const std::string & yaml_type);
83
106utils::ValidValue<std::string> getNotifSourceForStartTrigger(
107 const ReportDescriptor * rd);
108
112utils::ValidValue<std::string> getNotifSourceForUpdateTrigger(
113 const ReportDescriptor * rd);
114
118utils::ValidValue<std::string> getNotifSourceForStopTrigger(
119 const ReportDescriptor * rd);
120
121} // namespace app
122} // namespace sparta
123
Describes reports to instantiate and tracks their instantiations.
Macros for handling exponential backoff.