Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
this has been bugging me for a while
[simgrid.git] / src / instr / instr_paje_containers.hpp
index 688abeb2fad4e54e316694da7ab77fcb1a38254e..828024a97c3f499d883a0b5a23bb671ab0c925e5 100644 (file)
@@ -7,10 +7,14 @@
 #define INSTR_PAJE_CONTAINERS_HPP
 
 #include "src/instr/instr_private.hpp"
+#include <string>
 
 namespace simgrid {
 namespace instr {
 class Type;
+class LinkType;
+class StateType;
+class VariableType;
 
 class Container {
   long long int id_;
@@ -33,7 +37,11 @@ public:
   void logCreation();
   void logDestruction();
 
-  static Container* getRootContainer();
+  StateType* getState(std::string name);
+  LinkType* getLink(std::string name);
+  VariableType* getVariable(std::string name);
+  void createChild(std::string name, std::string type_name);
+  static Container* getRoot();
 };
 
 class NetZoneContainer : public Container {