ContainerType* Type::createRootType()
{
- rootType = static_cast<ContainerType*>(new simgrid::instr::Type("0", "0", "", nullptr));
+ rootType = new ContainerType("0");
return rootType;
}
class ContainerType : public Type {
public:
+ ContainerType(std::string name) : Type(name, name, "", nullptr){};
ContainerType(std::string name, Type* father);
};
e_event_type eventType_;
PajeEvent(Container* container, Type* type, double timestamp, e_event_type eventType)
: container(container), type(type), timestamp_(timestamp), eventType_(eventType){};
- virtual void print() = 0;
virtual ~PajeEvent();
+ virtual void print() = 0;
void insertIntoBuffer();
};