-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathverboseMethods.h
32 lines (26 loc) · 901 Bytes
/
verboseMethods.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*-----------------------------------------------------------------------------
* Class: verboseMethods.h
* Author: Ricardo N. Guntur <[email protected]>
* Course: Operating Systems -- Professor Allan Gottlieb
-----------------------------------------------------------------------------*/
#ifndef LAB_2_TESTS_VERBOSEMETHODS_H
#define LAB_2_TESTS_VERBOSEMETHODS_H
#include <sstream>
#include <vector>
#include <iostream>
#include <string>
#include "schedulerMethods.h"
using namespace std;
//Debugging class
class verboseMethods {
static bool is_verbose;
public:
//verboseMethods();
static void setVerbosity(bool debug);
void log(string message);
void log(const char *message, int var);
void log(const char *message, string str);
void print(int currentCycle, vector<Process> process_vector);
bool getVerbosity();
};
#endif //LAB_2_TESTS_VERBOSEMETHODS_H