SH::ShHostHostTransfer Class Reference

Inheritance diagram for SH::ShHostHostTransfer:

Inheritance graph
[legend]
Collaboration diagram for SH::ShHostHostTransfer:

Collaboration graph
[legend]
List of all members.

Public Member Functions

bool transfer (const ShStorage *from, ShStorage *to)
 Returns true if the transfer succeeded.
int cost (const ShStorage *from, const ShStorage *to)
 Returns -1 if transfer impossible, otherwise the cost of transfer.

Detailed Description

Definition at line 340 of file ShMemory.cpp.


Member Function Documentation

int SH::ShHostHostTransfer::cost const ShStorage from,
const ShStorage to
[inline, virtual]
 

Returns -1 if transfer impossible, otherwise the cost of transfer.

Todo:
Perhaps this needs more information, e.g. size of the storages.

Implements SH::ShTransfer.

Definition at line 371 of file ShMemory.cpp.


The documentation for this class was generated from the following file:
Generated on Thu Feb 16 14:56:23 2006 for Sh by  doxygen 1.4.6