object.hh (12955:9c8bf6a5f2e3) object.hh (12984:02f20eeeb8ce)
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

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

94 sc_core::sc_object *_sc_obj;
95
96 std::string _basename;
97 std::string _name;
98
99 Objects children;
100 Events events;
101 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

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

94 sc_core::sc_object *_sc_obj;
95
96 std::string _basename;
97 std::string _name;
98
99 Objects children;
100 Events events;
101 sc_core::sc_object *parent;
102 ObjectsIt parentIt;
103
104 sc_core::sc_attr_cltn cltn;
105};
106
107extern Objects topLevelObjects;
108extern Objects allObjects;
109
110sc_core::sc_object *findObject(
111 const char *name, const Objects &objects=topLevelObjects);
112
113} // namespace sc_gem5
114
115#endif //__SYSTEMC_CORE_OBJECT_HH__
102
103 sc_core::sc_attr_cltn cltn;
104};
105
106extern Objects topLevelObjects;
107extern Objects allObjects;
108
109sc_core::sc_object *findObject(
110 const char *name, const Objects &objects=topLevelObjects);
111
112} // namespace sc_gem5
113
114#endif //__SYSTEMC_CORE_OBJECT_HH__