2
3
4
5
6
7
8
9
10
11
12
13
14
15
17
18
19
20
24#include "data_management/GraphTreeObject.h"
25#include "data_management/DataIO.hpp"
26#include "architecture/EventLogger.h"
27#include "core/clockwerkerrors.h"
28#include "core/macros.h"
29#include "architecture/Time.h"
85 bool _started =
false;
Class for inter-object communication.
Definition DataIO.hpp:46
const T & operator()()
Overloaded operator to return value of DataIO object.
Definition DataIO.hpp:129
Base class for object organization.
Definition GraphTreeObject.h:87
The time manager class is a class to manage various time variables. It maintains 4 times – base time,...
Definition TimeManager.h:38
void updateStep(const Time &step)
Function to increment step start and end time.
Definition TimeManager.cpp:26
DataIO< Time > step_start_time
Definition TimeManager.h:62
DataIO< Time > base_time
This is the exact current time as the scheduler steps forward.
Definition TimeManager.h:66
TimeManager()
Base constructor – time manager should initialize to zeros and then be set.
Definition TimeManager.cpp:20
bool wallClockIsStarted()
Function to return whether the wall clock timer is started.
Definition TimeManager.h:77
DataIO< Time > step_end_time
This is the time at the end of a given scheduler step.
Definition TimeManager.h:64
void stepTime(const Time &step)
Function to increment all times.
Definition TimeManager.cpp:37
Time * _start_step_ptr
Pointers to our time objects.
Definition TimeManager.h:80
Time operator()()
Function to return base time by call for easy access.
Definition TimeManager.h:54
virtual Time wallClockTimer()
Function to return the wall clock time since run start.
Definition TimeManager.h:73
Wrapper to manage and convert time as timespce.
Definition Time.h:45
Time()
Default, copy constructors and default destructor.
Definition Time.h:48