event.hh (12962:004cc9133bd6) event.hh (12988:df70e73818e4)
1/*
2 * Copyright 2018 Google, Inc.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are
6 * met: redistributions of source code must retain the above copyright
7 * notice, this list of conditions and the following disclaimer;
8 * redistributions in binary form must reproduce the above copyright

--- 89 unchanged lines hidden (view full) ---

98 private:
99 sc_core::sc_event *_sc_event;
100
101 std::string _basename;
102 std::string _name;
103 bool _inHierarchy;
104
105 sc_core::sc_object *parent;
1/*
2 * Copyright 2018 Google, Inc.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are
6 * met: redistributions of source code must retain the above copyright
7 * notice, this list of conditions and the following disclaimer;
8 * redistributions in binary form must reproduce the above copyright

--- 89 unchanged lines hidden (view full) ---

98 private:
99 sc_core::sc_event *_sc_event;
100
101 std::string _basename;
102 std::string _name;
103 bool _inHierarchy;
104
105 sc_core::sc_object *parent;
106 EventsIt parentIt;
107
108 void delayedNotify();
109 EventWrapper<Event, &Event::delayedNotify> delayedNotifyEvent;
110
111 mutable std::set<Sensitivity *> sensitivities;
112};
113
114extern Events topLevelEvents;
115extern Events allEvents;
116
117EventsIt findEvent(const std::string &name);
118
119} // namespace sc_gem5
120
121#endif //__SYSTEMC_CORE_EVENT_HH__
106
107 void delayedNotify();
108 EventWrapper<Event, &Event::delayedNotify> delayedNotifyEvent;
109
110 mutable std::set<Sensitivity *> sensitivities;
111};
112
113extern Events topLevelEvents;
114extern Events allEvents;
115
116EventsIt findEvent(const std::string &name);
117
118} // namespace sc_gem5
119
120#endif //__SYSTEMC_CORE_EVENT_HH__