GreenCloud Simulator
Main Page
Classes
Files
File List
File Members
greencloud
resdemand.h
Go to the documentation of this file.
1
/*
2
* resdemand.h
3
*
4
* @date Sep 5, 2013
5
* @author Guzek:Mateusz
6
*/
7
8
#ifndef RESDEMAND_H_
9
#define RESDEMAND_H_
10
11
12
#include <stdlib.h>
13
#include <vector>
14
#include "
resource.h
"
15
16
class
DcResource
;
18
class
ResDemand
:
public
Resource
{
19
public
:
20
21
std::vector <Capacity *>
capacity_location
;
23
std::vector <double>
current_performance
;
25
/*Indexes of the used Computing resource*/
26
ResDemand
(
Resource
& res);
27
ResDemand
(
Resource
& res,
DcResource
* svr);
28
DcResource
*
supported_virtual_resource
;
29
};
30
31
#endif
/* RESDEMAND_H_ */
ResDemand::ResDemand
ResDemand(Resource &res)
Definition:
resdemand.cc:11
ResDemand
Definition:
resdemand.h:18
ResDemand::supported_virtual_resource
DcResource * supported_virtual_resource
Definition:
resdemand.h:28
resource.h
Resource
Definition:
resource.h:82
ResDemand::current_performance
std::vector< double > current_performance
Definition:
resdemand.h:23
ResDemand::capacity_location
std::vector< Capacity * > capacity_location
Definition:
resdemand.h:21
DcResource
Definition:
dcresource.h:20
Generated on Sat Jan 30 2016 10:58:35 for GreenCloud Simulator by
1.8.11