X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/997eaf52ad0ae1eb34820b135c7ba884b2a17f3c..7e047e6499ba84c7b948c6b699df2875fc765914:/src/bindings/rubyDag/rb_SD_task.h diff --git a/src/bindings/rubyDag/rb_SD_task.h b/src/bindings/rubyDag/rb_SD_task.h deleted file mode 100644 index 8121cb892d..0000000000 --- a/src/bindings/rubyDag/rb_SD_task.h +++ /dev/null @@ -1,56 +0,0 @@ -/* Copyright (c) 2010. The SimGrid Team. - * All rights reserved. */ - -/* This program is free software; you can redistribute it and/or modify it - * under the terms of the license (GNU LGPL) which comes with this package. */ - -#ifndef RB_SD_TASK_H -#define RB_SD_TASK_H - -#include -#include -#include "xbt/sysdep.h" - - -// Free Method -static void SD_task_free(SD_task_t tk); // needed by ruby while wrapping - -//destroy -static void rb_SD_task_destory(VALUE Class, VALUE task); - -// New Method -static VALUE rb_SD_task_new(VALUE Class, VALUE name, VALUE amount); //data set to NULL - -//Get Name -static VALUE rb_SD_task_name(VALUE Class, VALUE task); - -// Schedule Task -static void rb_SD_task_schedule(VALUE Class, VALUE task, - VALUE workstation_nb, - VALUE workstation_list, VALUE comp_amount, - VALUE comm_amount, VALUE rate); - -// unschedule Task -static void rb_SD_task_unschedule(VALUE Class, VALUE task); - -// task dependency Add ( name & data set to NULL) -static void rb_SD_task_add_dependency(VALUE Class, VALUE task_src, - VALUE task_dst); - -// task execution time -static VALUE rb_SD_task_execution_time(VALUE Class, VALUE task, - VALUE workstation_nb, - VALUE workstation_list, - VALUE comp_amount, - VALUE comm_amount, VALUE rate); - -// task start time -static VALUE rb_SD_task_start_time(VALUE Class, VALUE task); - -// task finish time -static VALUE rb_SD_task_finish_time(VALUE Class, VALUE task); - -// simulation -static VALUE rb_SD_simulate(VALUE Class, VALUE how_long); - -#endif