X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/40c50e73054c04f97b5e5a618f1676eb5c3c9658..5d37103da397672aff379d7dc01186068bfc1498:/examples/cxx/comm_time/CommTimeTask.hpp diff --git a/examples/cxx/comm_time/CommTimeTask.hpp b/examples/cxx/comm_time/CommTimeTask.hpp deleted file mode 100644 index 87a6eeade6..0000000000 --- a/examples/cxx/comm_time/CommTimeTask.hpp +++ /dev/null @@ -1,40 +0,0 @@ -#ifndef COMMTIME_TASK_HPP -#define COMMTIME_TASK_HPP - -#include -using namespace SimGrid::Msg; - -class CommTimeTask : public Task -{ - MSG_DECLARE_DYNAMIC(CommTimeTask); - -public: - - CommTimeTask() - :Task(NULL, 0.0, 0.0){} - - // Default constructor. - CommTimeTask(const char* name, double computeDuration, double messageSize) - throw (InvalidArgumentException, NullPointerException) - :Task(name, computeDuration, messageSize){} - - // Destructor - virtual ~CommTimeTask() - throw(MsgException){} - - void setTime(double timeVal) - { - this->timeVal = timeVal; - } - - double getTime() - { - return timeVal; - } - -private : - - double timeVal; -}; - -#endif // !COMMTIME_TASK_HPP