X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7adf7d3cc45bf13462b257c7e3bc8a2eae2bf981..0c33ee7f67d9a69bef7396ef12bbccecbb0868b1:/src/instr/instr_paje_types.hpp diff --git a/src/instr/instr_paje_types.hpp b/src/instr/instr_paje_types.hpp index c487ed0e29..8306af0d35 100644 --- a/src/instr/instr_paje_types.hpp +++ b/src/instr/instr_paje_types.hpp @@ -20,6 +20,7 @@ class LinkType; class StateType; class VariableType; class StateEvent; +class VariableEvent; class Type { long long int id_; @@ -55,12 +56,19 @@ public: class ContainerType : public Type { public: + ContainerType(std::string name) : Type(name, name, "", nullptr){}; ContainerType(std::string name, Type* father); }; class VariableType : public Type { + std::vector events_; + public: VariableType(std::string name, std::string color, Type* father); + ~VariableType(); + void setEvent(double timestamp, Container* container, double value); + void addEvent(double timestamp, Container* container, double value); + void subEvent(double timestamp, Container* container, double value); }; class ValueType : public Type {