- LinkType(std::string name, std::string alias, Type* father);
- void start_event(Container* startContainer, std::string value, std::string key);
- void start_event(Container* startContainer, std::string value, std::string key, int size);
- void end_event(Container* endContainer, std::string value, std::string key);
+ static xbt::signal<void(LinkType&, Type&, Type&)> on_creation;
+ LinkType(const std::string& name, Type* source, Type* dest, const std::string& alias, Type* father)
+ : ValueType(PAJE_DefineLinkType, name, alias, father)
+ {
+ on_creation(*this, *source, *dest);
+ }
+ void start_event(Container* startContainer, const std::string& value, const std::string& key);
+ void start_event(Container* startContainer, const std::string& value, const std::string& key, int size);
+ void end_event(Container* endContainer, const std::string& value, const std::string& key);