* @brief SURF Host model interface class
* @details A model is an object which handle the interactions between its Resources and its Actions
*/
-class HostModel : public Model{
+class HostModel : public Model {
public:
HostModel() : Model() {}
- ~HostModel() {}
+ ~HostModel() override {}
Host *createHost(const char *name, NetCard *net, Cpu *cpu, xbt_dict_t props);
void addTraces() override {DIE_IMPOSSIBLE;}
virtual void adjustWeightOfDummyCpuActions();
virtual Action *executeParallelTask(int host_nb,
- sg_host_t *host_list,
- double *flops_amount,
- double *bytes_amount,
- double rate)=0;
+ sg_host_t *host_list,
+ double *flops_amount,
+ double *bytes_amount,
+ double rate);
bool shareResourcesIsIdempotent() override {return true;}
};
virtual int fileMove(surf_file_t fd, const char* fullpath);
bool isUsed() override {DIE_IMPOSSIBLE;} // FIXME: Host should not be a Resource
- void updateState(tmgr_trace_event_t event_type, double value, double date) override
+ void updateState(tmgr_trace_iterator_t event_type, double value, double date) override
{THROW_IMPOSSIBLE;} // FIXME: Host should not be a Resource
public: