Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
allow to have TI data for popEvent
authorFrederic Suter <frederic.suter@cc.in2p3.fr>
Wed, 25 Apr 2018 15:23:19 +0000 (17:23 +0200)
committerFrederic Suter <frederic.suter@cc.in2p3.fr>
Wed, 25 Apr 2018 15:23:19 +0000 (17:23 +0200)
src/instr/instr_paje_types.cpp
src/instr/instr_paje_types.hpp

index c77cef2..7504907 100644 (file)
@@ -80,6 +80,11 @@ void StateType::popEvent()
   events_.push_back(new StateEvent(issuer_, this, PAJE_PopState, nullptr, nullptr));
 }
 
+void StateType::popEvent(TIData* extra)
+{
+  events_.push_back(new StateEvent(issuer_, this, PAJE_PopState, nullptr, extra));
+}
+
 VariableType::VariableType(std::string name, std::string color, Type* father) : Type(name, name, color, father)
 {
   XBT_DEBUG("VariableType %s(%lld), child of %s(%lld)", get_cname(), get_id(), father->get_cname(), father->get_id());
index 696bfda..71a08d3 100644 (file)
@@ -95,6 +95,7 @@ public:
   void pushEvent(std::string value_name);
   void pushEvent(std::string value_name, TIData* extra);
   void popEvent();
+  void popEvent(TIData* extra);
 };
 }
 }