remove connectAll() and connect() code since it isn't used anymore. (The python does...
authorAli Saidi <saidi@eecs.umich.edu>
Tue, 31 Oct 2006 18:23:49 +0000 (13:23 -0500)
committerAli Saidi <saidi@eecs.umich.edu>
Tue, 31 Oct 2006 18:23:49 +0000 (13:23 -0500)
--HG--
extra : convert_revision : e16a1ff59d4522703b155c2e68379a3072e8f47f

src/sim/sim_object.cc
src/sim/sim_object.hh

index d12b06b7ad106b4a40fe0b42f8d0eea050d0c81b..8fc8fe58f3c02da3bc8418bda0dcb95e3d8d3c19 100644 (file)
@@ -91,11 +91,6 @@ SimObject::SimObject(const string &_name)
     state = Running;
 }
 
-void
-SimObject::connect()
-{
-}
-
 void
 SimObject::init()
 {
@@ -159,21 +154,6 @@ SimObject::regAllStats()
     Stats::registerResetCallback(&StatResetCB);
 }
 
-//
-// static function: call connect() on all SimObjects.
-//
-void
-SimObject::connectAll()
-{
-    SimObjectList::iterator i = simObjectList.begin();
-    SimObjectList::iterator end = simObjectList.end();
-
-    for (; i != end; ++i) {
-        SimObject *obj = *i;
-        obj->connect();
-    }
-}
-
 //
 // static function: call init() on all SimObjects.
 //
index 32807b69d608feac0700de2f95b95e623c8f814a..93802e2479a6f3e7956001a93dc84b39633cf9f4 100644 (file)
@@ -101,9 +101,7 @@ class SimObject : public Serializable, protected StartupCallback
     // initialization pass of all objects.
     // Gets invoked after construction, before unserialize.
     virtual void init();
-    virtual void connect();
     static void initAll();
-    static void connectAll();
 
     // register statistics for this object
     virtual void regStats();