}
void Host::turnOn() {
- p_inferior->on();
+ p_inferior->turnOn();
}
void Host::turnOff() {
- p_inferior->off();
+ p_inferior->turnOff();
}
bool Host::isOn() {
- return sg_host_get_state(p_inferior);
+ return sg_host_is_on(p_inferior);
}
boost::unordered_map<std::string, Storage&> &Host::mountedStorages() {
if (mounts == NULL) {
mounts = new boost::unordered_map<std::string, Storage&> ();
- xbt_dict_t dict = simcall_host_get_mounted_storage_list(p_inferior);
+ xbt_dict_t dict = p_inferior->getMountedStorageList();
xbt_dict_cursor_t cursor;
char *mountname;