X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/cdf6a962eb4e88efbed3df9c41343adabcf09e6c..e1b4987a80f98fb1266086561cefef20c1993a6b:/src/instr/instr_paje_values.hpp diff --git a/src/instr/instr_paje_values.hpp b/src/instr/instr_paje_values.hpp index 9014e608b9..cec347fed1 100644 --- a/src/instr/instr_paje_values.hpp +++ b/src/instr/instr_paje_values.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2010-2019. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2010-2020. The SimGrid Team. All rights 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. */ @@ -19,12 +19,16 @@ class EntityValue { Type* father_; public: + static xbt::signal on_creation; explicit EntityValue(const std::string& name, const std::string& color, Type* father); - const char* get_cname() { return name_.c_str(); } - long long int get_id() { return id_; } - void print(); + + long long int get_id() const { return id_; } + std::string get_name() const { return name_; } + const char* get_cname() const { return name_.c_str(); } + std::string get_color() const { return color_; } + Type* get_father() const { return father_; } }; -} -} +} // namespace instr +} // namespace simgrid #endif