#include <ShMemory.hpp>
Inheritance diagram for SH::ShTransfer:

Public Member Functions | |
| virtual | ~ShTransfer () |
| virtual bool | transfer (const ShStorage *from, ShStorage *to)=0 |
| Returns true if the transfer succeeded. | |
| virtual int | cost ()=0 |
| Returns -1 if transfer impossible, otherwise the cost of transfer. | |
Protected Member Functions | |
| ShTransfer (const std::string &from, const std::string &to) | |
A transfer specifies the cost and manner of transferring data from one storage to another. Static instances of these should be created for any possible storage transfers. Use the ShStorage::addTransfer() function to add a transfer to the list.
Definition at line 114 of file ShMemory.hpp.
|
|
Returns -1 if transfer impossible, otherwise the cost of transfer.
Implemented in SH::ShHostHostTransfer. |
1.4.3-20050530