//--------------------------------------------------
class PajeEvent {
+protected:
+ Container* container;
+ Type* type;
+
public:
double timestamp_;
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();
};
//--------------------------------------------------
class SetVariableEvent : public PajeEvent {
-private:
- Container* container;
- Type* type;
double value;
public:
};
class AddVariableEvent : public PajeEvent {
-private:
- Container* container;
- Type* type;
double value;
public:
//--------------------------------------------------
class SubVariableEvent : public PajeEvent {
-private:
- Container* container;
- Type* type;
double value;
public:
//--------------------------------------------------
class SetStateEvent : public PajeEvent {
-private:
- Container* container;
- Type* type;
Value* value;
const char* filename;
int linenumber;
};
class PushStateEvent : public PajeEvent {
-public:
- Container* container;
- Type* type;
Value* value;
int size;
const char* filename;
};
class PopStateEvent : public PajeEvent {
- Container* container;
- Type* type;
-
public:
PopStateEvent(double timestamp, Container* container, Type* type);
void print() override;
};
class ResetStateEvent : public PajeEvent {
- Container* container;
- Type* type;
-
public:
ResetStateEvent(double timestamp, Container* container, Type* type);
void print() override;
};
class StartLinkEvent : public PajeEvent {
- Container* container_;
- Type* type_;
Container* sourceContainer_;
std::string value_;
std::string key_;
};
class EndLinkEvent : public PajeEvent {
- Container* container;
- Type* type;
Container* destContainer;
std::string value;
std::string key;
};
class NewEvent : public PajeEvent {
-public:
- Container* container;
- Type* type;
Value* val;
public: