src/sim/sim_object.cc
//
// SimObject constructor: used to maintain static simObjectList
//
SimObject constructor: used to maintain static simObjectList
SimObject constructor : used to maintain static simObjectList
SimObject::SimObject(const Params &p)
    : EventManager(getEventQueue(p.eventq_index)),
      statistics::Group(nullptr), Named(p.name),
      _params(p)
{
#ifdef DEBUG
    doDebugBreak = false;
#endif
    simObjectList.push_back(this);
    probeManager = new ProbeManager(this);
}
SimObject :: SimObject ( const Params & p ) : EventManager ( getEventQueue ( p . eventq_index ) ) , statistics :: Group ( nullptr ) , Named ( p . name ) , _params ( p ) { #ifdef DEBUG doDebugBreak = false ; #endif simObjectList . push_back ( this ) ; probeManager = new ProbeManager ( this ) ; }
SimObject constructor: used to maintain static simObjectList
SimObject constructor : used to maintain static simObjectList