2
3
4
5
6
7
8
9
10
11
12
13
14
15
17
18
19
20
21#ifndef MONITORS_RATE_MONITOR_H
22#define MONITORS_RATE_MONITOR_H
24#include "architecture/Executive.h"
25#include "architecture/Tasks.h"
26#include "architecture/Time.h"
27#include "data_management/GraphTreeObject.h"
28#include "data_management/DataIO.hpp"
29#include "core/clockwerkerrors.h"
30#include "simulation/SimulationSteps.h"
45 RateMonitor(clockwerk::
Task &pnt,
const std::string &m_name=
"rate_monitor")
47 RateMonitor(clockwerk::
Executive &e,
const std::string &m_name=
"rate_monitor")
49 RateMonitor(clockwerk::
Task &pnt,
int schedule_slot,
const std::string &m_name=
"rate_monitor")
51 RateMonitor(clockwerk::
Executive &e,
int schedule_slot,
const std::string &m_name=
"rate_monitor")
DataIO(GraphTreeObject *data_parent, std::string data_name, T initial_value)
Constructor for the DataIO object.
Definition DataIO.hpp:134
Central control mechanism to run simulations and software.
Definition Executive.h:43
Base class implementation of the monitor.
Definition Tasks.h:212
Monitor(Executive &executive, int schedule_slot=0, const std::string &m_name="Unnamed")
Executive-based constructor for the task.
Definition Tasks.h:232
Monitor(Task &pnt, int schedule_slot=0, const std::string &m_name="Unnamed")
Task-based constructor for the task. Auto-assigns executive.
Definition Tasks.h:224
This is the base implementation of the task class.
Definition Tasks.h:68
Wrapper to manage and convert time as timespce.
Definition Time.h:45
Monitor to trigger at a particular rate.
Definition RateMonitor.h:42
RateMonitor(clockwerk::Task &pnt, const std::string &m_name="rate_monitor")
Overloaded onstructors for the model object – requires executive and (optional) name.
Definition RateMonitor.h:45
int execute()
Function to check our current (base) time against our rate conditions.
Definition RateMonitor.cpp:23
#define SIGNAL(NAME, TYPE, INITIAL_VALUE)
Definition macros.h:87
#define START_PARAMS
Definition macros.h:96
#define END_OUTPUTS
Definition macros.h:90
#define END_PARAMS
Definition macros.h:98
#define START_OUTPUTS
Definition macros.h:88
#define END_INPUTS
Definition macros.h:94
#define START_INPUTS
Definition macros.h:92
Class to propagate CR3BP dynamics in characteristic units.
Definition ConfigurationWriter.cpp:18
clockwerk::DataIO< clockwerk::Time > next_trigger_time
This is the next time at which the monitor will trigger.
Definition RateMonitor.h:73
clockwerk::DataIO< clockwerk::Time > rate
This is the rate at which the monitor will trigger.
Definition RateMonitor.h:63