30 #include <unordered_map>
85 class EventStack :
public std::vector<PinChangedEvent>
103 EventStack() : m_count(0), m_sticky(false) {;}
109 void send_events(
Module* m);
112 static std::unordered_map<Module*,EventStack*> s_event_stack;
114 static int s_bulk_depth;
155 static void discard(Module* m);
static void discard(Module *m)
PinChangedEvent(Module *m, PinEvent pev, u32 id)
friend bool pin_event_order(const PinChangedEvent &a, const PinChangedEvent &b)
Module * get_module() const
PinChangedEventScope(Module *m)
@ PinsReload
group deleted
@ PinTypeChange
pin renamed
@ GroupReorder
changed PinDirection attribute of group (like input)
@ PinDirChange
changed PinType attribute of pin (like data)
@ PinCreate
moved group to a new position within containing module
@ GroupTypeChange
pin group renamed
@ PinRename
pin assigned to new group
@ PinAssignToGroup
new pin created
@ PinDelete
moved pin to a new position within containing group
@ GroupRename
new pin group created
@ GroupDirChange
changed PinType attribute of group (like data)
@ PinReorder
changed PinDirection attribute of pin (like input)
bool pin_event_order(const PinChangedEvent &a, const PinChangedEvent &b)