Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

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 ()
 Returns -1 if transfer impossible, otherwise the cost of transfer.

Detailed Description

Definition at line 321 of file ShMemory.cpp.


Member Function Documentation

int SH::ShHostHostTransfer::cost  )  [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 350 of file ShMemory.cpp.


The documentation for this class was generated from the following file:
Generated on Wed Jun 15 18:15:47 2005 for Sh by  doxygen 1.4.3-20050530