// ***** Actor creation *****
/** Retrieve a reference to myself */
- static ActorPtr self();
+ static Actor* self();
/** Signal to others that a new actor has been created **/
static xbt::signal<void(Actor&)> on_creation;
/** Retrieve the property value (or nullptr if not set) */
std::unordered_map<std::string, std::string>*
- get_properties(); // FIXME: do not export the map, but only the keys or something
- const char* get_property(const std::string& key);
+ get_properties() const; // FIXME: do not export the map, but only the keys or something
+ const char* get_property(const std::string& key) const;
void set_property(const std::string& key, const std::string& value);
#ifndef DOXYGEN