-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathInfrastructure.hpp
More file actions
executable file
·60 lines (45 loc) · 1.38 KB
/
Infrastructure.hpp
File metadata and controls
executable file
·60 lines (45 loc) · 1.38 KB
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
#ifndef INFRASTRUCTURE_HPP
#define INFRASTRUCTURE_HPP
#include "ForwardDeclaration.hpp"
#include "Scheduler.hpp"
//#include "Database.hpp"
#include "Analyst.hpp"
//#include "Event.hpp"
//#include "OntologyRepository.hpp"
//#include "IO_Reporter.hpp"
//#include "Input.hpp"
#include "Node.hpp" //For the UserNode
class Infrastructure {
public:
Scheduler* scheduler_ptr;
OntologyRepository *onto_repository_ptr;
unsigned int agent_id, user_node_id ; //, query_id, response_id;
InputParameters *param_ptr;
IO_Reporter *IO_Reporter_ptr;
//UserNode* user_node_ptr;
struct capacity_data
{
unsigned int edge_list;
} provisioned_capacity;
std::vector<ResourceNode *> list_of_resource_nodes;
std::vector<RouterNode *> list_of_router_nodes;
std::vector<UserNode *> list_of_user_nodes;
//std::map<unsigned int, Message*> list_of_messages;
//std::map<unsigned int, Query*> list_of_queries;
//std::map<unsigned int, Response*> list_of_responses;
//std::set< Message*> list_of_messages;
Analyst analyst;
Database *database_ptr;
Infrastructure();
//Infrastructure(OntologyRepository &passed_onto_repositiory) {onto_repositiory_ptr = &passed_onto_repositiory;}
#ifdef DEBUG
unsigned int event_id;
#endif
~Infrastructure();
/*
#ifdef DEBUG_FAULT
void print_list_of_queries(unsigned int start_position);
#endif
*/
};
#endif