Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
make the Actors extendable (that was easy)
authorMartin Quinson <martin.quinson@loria.fr>
Wed, 15 Feb 2017 22:03:02 +0000 (23:03 +0100)
committerMartin Quinson <martin.quinson@loria.fr>
Wed, 15 Feb 2017 23:40:55 +0000 (00:40 +0100)
include/simgrid/s4u/Actor.hpp

index 11d682c..2a768f3 100644 (file)
@@ -18,6 +18,7 @@
 
 #include <boost/intrusive_ptr.hpp>
 
+#include <xbt/Extendable.hpp>
 #include <xbt/base.h>
 #include <xbt/functional.hpp>
 #include <xbt/string.hpp>
@@ -131,7 +132,9 @@ namespace s4u {
  */
 
 /** @brief Simulation Agent */
-XBT_PUBLIC_CLASS Actor {
+XBT_PUBLIC_CLASS Actor : public simgrid::xbt::Extendable<Actor>
+{
+
   friend Mailbox;
   friend simgrid::simix::ActorImpl;
   friend simgrid::kernel::activity::MailboxImpl;