Get rid of the printExtraOutput stuff
--HG-- extra : convert_revision : d82718ad4b3c5dd56a99c727e78b39917f9d4541
This commit is contained in:
parent
f299bb01ac
commit
13483c98be
|
@ -83,14 +83,6 @@ SimObject::resetStats()
|
|||
{
|
||||
}
|
||||
|
||||
//
|
||||
// no default extra output
|
||||
//
|
||||
void
|
||||
SimObject::printExtraOutput(ostream &os)
|
||||
{
|
||||
}
|
||||
|
||||
//
|
||||
// static function:
|
||||
// call regStats() on all SimObjects and then regFormulas() on all
|
||||
|
@ -161,21 +153,6 @@ SimObject::resetAllStats()
|
|||
}
|
||||
}
|
||||
|
||||
//
|
||||
// static function: call printExtraOutput() on all SimObjects.
|
||||
//
|
||||
void
|
||||
SimObject::printAllExtraOutput(ostream &os)
|
||||
{
|
||||
SimObjectList::iterator i = simObjectList.begin();
|
||||
SimObjectList::iterator end = simObjectList.end();
|
||||
|
||||
for (; i != end; ++i) {
|
||||
SimObject *obj = *i;
|
||||
obj->printExtraOutput(os);
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
// static function: serialize all SimObjects.
|
||||
//
|
||||
|
|
|
@ -74,19 +74,12 @@ class SimObject : public Serializable
|
|||
virtual void regFormulas();
|
||||
virtual void resetStats();
|
||||
|
||||
// print extra results for this object not covered by registered
|
||||
// statistics (called at end of simulation)
|
||||
virtual void printExtraOutput(std::ostream&);
|
||||
|
||||
// static: call reg_stats on all SimObjects
|
||||
static void regAllStats();
|
||||
|
||||
// static: call resetStats on all SimObjects
|
||||
static void resetAllStats();
|
||||
|
||||
// static: call printExtraOutput on all SimObjects
|
||||
static void printAllExtraOutput(std::ostream&);
|
||||
|
||||
// static: call nameOut() & serialize() on all SimObjects
|
||||
static void serializeAll(std::ostream &);
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue