1 /* Copyright (c) 2010-2021. The SimGrid Team. All rights reserved. */
3 /* This program is free software; you can redistribute it and/or modify it
4 * under the terms of the license (GNU LGPL) which comes with this package. */
6 #ifndef INSTR_PAJE_VALUES_HPP
7 #define INSTR_PAJE_VALUES_HPP
9 #include "src/instr/instr_private.hpp"
16 long long int id_ = new_paje_id();
22 static xbt::signal<void(const EntityValue&)> on_creation;
23 explicit EntityValue(const std::string& name, const std::string& color, Type* father);
25 long long int get_id() const { return id_; }
26 std::string get_name() const { return name_; }
27 const char* get_cname() const { return name_.c_str(); }
28 std::string get_color() const { return color_; }
29 Type* get_father() const { return father_; }
32 } // namespace simgrid