sc_event.hh (13132:1fb4a87f550f) | sc_event.hh (13206:c944ef4abb48) |
---|---|
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 --- 27 unchanged lines hidden (view full) --- 36 37#include "sc_port.hh" 38#include "sc_time.hh" 39 40namespace sc_gem5 41{ 42 43class Event; | 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 --- 27 unchanged lines hidden (view full) --- 36 37#include "sc_port.hh" 38#include "sc_time.hh" 39 40namespace sc_gem5 41{ 42 43class Event; |
44class SensitivityEventAndList; 45class SensitivityEventOrList; | 44class DynamicSensitivityEventAndList; 45class DynamicSensitivityEventOrList; |
46 47} 48 49namespace sc_core 50{ 51 52class sc_event; 53class sc_event_and_expr; --- 57 unchanged lines hidden (view full) --- 111 sc_event_and_list &operator &= (const sc_event &); 112 sc_event_and_list &operator &= (const sc_event_and_list &); 113 114 sc_event_and_expr operator & (const sc_event &) const; 115 sc_event_and_expr operator & (const sc_event_and_list &); 116 117 private: 118 friend class sc_event_and_expr; | 46 47} 48 49namespace sc_core 50{ 51 52class sc_event; 53class sc_event_and_expr; --- 57 unchanged lines hidden (view full) --- 111 sc_event_and_list &operator &= (const sc_event &); 112 sc_event_and_list &operator &= (const sc_event_and_list &); 113 114 sc_event_and_expr operator & (const sc_event &) const; 115 sc_event_and_expr operator & (const sc_event_and_list &); 116 117 private: 118 friend class sc_event_and_expr; |
119 friend class sc_gem5::SensitivityEventAndList; | 119 friend class sc_gem5::DynamicSensitivityEventAndList; |
120 121 explicit sc_event_and_list(bool auto_delete); 122 123 void insert(sc_event const &e); 124 void insert(sc_event_and_list const &eal); 125 126 std::set<const sc_event *> events; 127 bool autoDelete; --- 15 unchanged lines hidden (view full) --- 143 sc_event_or_list &operator |= (const sc_event &); 144 sc_event_or_list &operator |= (const sc_event_or_list &); 145 146 sc_event_or_expr operator | (const sc_event &) const; 147 sc_event_or_expr operator | (const sc_event_or_list &) const; 148 149 private: 150 friend class sc_event_or_expr; | 120 121 explicit sc_event_and_list(bool auto_delete); 122 123 void insert(sc_event const &e); 124 void insert(sc_event_and_list const &eal); 125 126 std::set<const sc_event *> events; 127 bool autoDelete; --- 15 unchanged lines hidden (view full) --- 143 sc_event_or_list &operator |= (const sc_event &); 144 sc_event_or_list &operator |= (const sc_event_or_list &); 145 146 sc_event_or_expr operator | (const sc_event &) const; 147 sc_event_or_expr operator | (const sc_event_or_list &) const; 148 149 private: 150 friend class sc_event_or_expr; |
151 friend class sc_gem5::SensitivityEventOrList; | 151 friend class sc_gem5::DynamicSensitivityEventOrList; |
152 153 explicit sc_event_or_list(bool auto_delete); 154 155 void insert(sc_event const &e); 156 void insert(sc_event_or_list const &eol); 157 158 std::set<const sc_event *> events; 159 bool autoDelete; --- 92 unchanged lines hidden --- | 152 153 explicit sc_event_or_list(bool auto_delete); 154 155 void insert(sc_event const &e); 156 void insert(sc_event_or_list const &eol); 157 158 std::set<const sc_event *> events; 159 bool autoDelete; --- 92 unchanged lines hidden --- |