X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/2371d0c1060589bd7b8757f47974ceaa906e0dba..13ab86ee48bea707ffb0041659f65dac2351c6d5:/src/cxx/Object.hpp diff --git a/src/cxx/Object.hpp b/src/cxx/Object.hpp index 660f4eb0fc..d44ff2b655 100644 --- a/src/cxx/Object.hpp +++ b/src/cxx/Object.hpp @@ -1,4 +1,16 @@ - +/* + * Object.hpp + * + * This file contains the declaration of the wrapper class of the native MSG task type. + * + * Copyright 2006,2007 Martin Quinson, Malek Cherier + * All right 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 MSG_OBJECT_H #define MSG_OBJECT_H @@ -27,7 +39,7 @@ namespace SimGrid public: \ static Class class##class_name; \ virtual Class* getClass() const; \ - static Object* createObject(); \ + static Object* createObject() \ // The runtime class implementation. #define MSG_IMPLEMENT_CLASS(class_name, base_class_name, pfn,class_init) \ @@ -227,6 +239,8 @@ namespace SimGrid unsigned int count; }; + typedef Object* ObjectPtr; + // Constructor (Add the class in the list). inline DeclaringClass::DeclaringClass(Class* c)