object.hh (13179:7445c43d036b) | object.hh (13268:9802f3e0a6ae) |
---|---|
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 --- 99 unchanged lines hidden (view full) --- 108std::string pickUniqueName(::sc_core::sc_object *parent, std::string name); 109 110extern Objects topLevelObjects; 111extern Objects allObjects; 112 113sc_core::sc_object *findObject( 114 const char *name, const Objects &objects=topLevelObjects); 115 | 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 --- 99 unchanged lines hidden (view full) --- 108std::string pickUniqueName(::sc_core::sc_object *parent, std::string name); 109 110extern Objects topLevelObjects; 111extern Objects allObjects; 112 113sc_core::sc_object *findObject( 114 const char *name, const Objects &objects=topLevelObjects); 115 |
116sc_core::sc_object *pickParentObj(); 117void pushParentObj(sc_core::sc_object *obj); 118void popParentObj(); 119 |
|
116} // namespace sc_gem5 117 118#endif //__SYSTEMC_CORE_OBJECT_HH__ | 120} // namespace sc_gem5 121 122#endif //__SYSTEMC_CORE_OBJECT_HH__ |