SimGrid
3.18
Versatile Simulation of Distributed Systems
|
SURF Host interface class.
An host represents a machine with a aggregation of a Cpu, a RoutingEdge and a Storage
#include <HostImpl.hpp>
Public Member Functions | |
HostImpl (s4u::Host *host) | |
virtual | ~HostImpl ()=default |
virtual void | getAttachedStorageList (std::vector< const char *> *storages) |
Get the vector of storages (by names) attached to the Host. More... | |
simgrid::s4u::Host * | getHost () |
![]() | |
PropertyHolder ()=default | |
~PropertyHolder () | |
const char * | getProperty (std::string key) |
Return the property associated to the provided key (or nullptr if not existing) More... | |
void | setProperty (std::string id, std::string value) |
Change the value of a given key in the property set. More... | |
std::map< std::string, std::string > * | getProperties () |
Return the whole set of properties. More... | |
Public Attributes | |
std::map< std::string, simgrid::surf::StorageImpl * > | storage_ |
simgrid::s4u::Host * | piface_ = nullptr |
|
explicit |
|
virtualdefault |
|
virtual |
Get the vector of storages (by names) attached to the Host.
|
inline |
std::map<std::string, simgrid::surf::StorageImpl*> simgrid::surf::HostImpl::storage_ |
simgrid::s4u::Host* simgrid::surf::HostImpl::piface_ = nullptr |