|
cosi::Commodity Class Reference#include <Commodity.h>
List of all members.
|
Public Member Functions |
| Commodity () |
virtual | ~Commodity () |
void | Set (Commodity C) |
Commodity | Get () |
void | SetValue (std::string SourceName, std::string DestName, int SourceId, int DestId, Bandwidth AverageBandwidth, RealLatency L) |
void | SetValue (std::string SourceName, std::string DestName, int SourceId, int DestId, double AverageBandwidthValue, double Lvalue) |
std::string | GetSourceName () const |
std::string | GetDestName () const |
int | GetSourceId () const |
int | GetDestId () const |
Bandwidth | GetAverageBandwidth () const |
RealLatency | GetMaximumLatency () const |
double | GetAverageBandwidthValue () |
double | GetMaximumLatencyValue () |
bool | operator< (const Commodity &pC) const |
bool | operator== (const Commodity &pC) const |
Commodity | operator+ (Commodity pC) |
Static Public Attributes |
static std::string | sQuantityName |
static std::string | sQuantityType |
Private Attributes |
std::string | mSourceName |
std::string | mDestName |
int | mSourceId |
int | mDestId |
Bandwidth | mAverageBandwidth |
RealLatency | mMaximumLatency |
Friends |
std::ostream & | operator<< (std::ostream &pOs, const Commodity &pC) |
Constructor & Destructor Documentation
cosi::Commodity::Commodity |
( |
|
) |
|
cosi::Commodity::~Commodity |
( |
|
) |
[virtual] |
Member Function Documentation
void cosi::Commodity::SetValue |
( |
std::string |
SourceName, |
|
|
std::string |
DestName, |
|
|
int |
SourceId, |
|
|
int |
DestId, |
|
|
Bandwidth |
AverageBandwidth, |
|
|
RealLatency |
L | |
|
) |
| | |
void cosi::Commodity::SetValue |
( |
std::string |
SourceName, |
|
|
std::string |
DestName, |
|
|
int |
SourceId, |
|
|
int |
DestId, |
|
|
double |
AverageBandwidthValue, |
|
|
double |
Lvalue | |
|
) |
| | |
std::string cosi::Commodity::GetSourceName |
( |
|
) |
const |
std::string cosi::Commodity::GetDestName |
( |
|
) |
const |
int cosi::Commodity::GetSourceId |
( |
|
) |
const |
int cosi::Commodity::GetDestId |
( |
|
) |
const |
Bandwidth cosi::Commodity::GetAverageBandwidth |
( |
|
) |
const |
RealLatency cosi::Commodity::GetMaximumLatency |
( |
|
) |
const |
double cosi::Commodity::GetAverageBandwidthValue |
( |
|
) |
|
double cosi::Commodity::GetMaximumLatencyValue |
( |
|
) |
|
bool cosi::Commodity::operator< |
( |
const Commodity & |
pC |
) |
const |
bool cosi::Commodity::operator== |
( |
const Commodity & |
pC |
) |
const |
Friends And Related Function Documentation
std::ostream& operator<< |
( |
std::ostream & |
pOs, |
|
|
const Commodity & |
pC | |
|
) |
| | [friend] |
Member Data Documentation
The documentation for this class was generated from the following files:
Generated on Sun Sep 7 18:37:46 2008 for COSI by
1.5.4
|