event.hh (12988:df70e73818e4) | event.hh (13063:c9905ead0041) |
---|---|
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 --- 23 unchanged lines hidden (view full) --- 32 33#include <set> 34#include <string> 35#include <vector> 36 37#include "sim/eventq.hh" 38#include "systemc/core/list.hh" 39#include "systemc/core/object.hh" | 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 --- 23 unchanged lines hidden (view full) --- 32 33#include <set> 34#include <string> 35#include <vector> 36 37#include "sim/eventq.hh" 38#include "systemc/core/list.hh" 39#include "systemc/core/object.hh" |
40#include "systemc/core/sched_event.hh" |
|
40#include "systemc/ext/core/sc_prim.hh" 41#include "systemc/ext/core/sc_time.hh" 42 43namespace sc_core 44{ 45 46class sc_event; 47 --- 51 unchanged lines hidden (view full) --- 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 | 41#include "systemc/ext/core/sc_prim.hh" 42#include "systemc/ext/core/sc_time.hh" 43 44namespace sc_core 45{ 46 47class sc_event; 48 --- 51 unchanged lines hidden (view full) --- 100 sc_core::sc_event *_sc_event; 101 102 std::string _basename; 103 std::string _name; 104 bool _inHierarchy; 105 106 sc_core::sc_object *parent; 107 |
107 void delayedNotify(); 108 EventWrapper<Event, &Event::delayedNotify> delayedNotifyEvent; | 108 ScEvent delayedNotify; |
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__ | 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__ |