1/* 2 * Copyright (c) 2001-2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 87 unchanged lines hidden (view full) --- 96 97 virtual ~SimObject() {} 98 99 virtual const std::string name() const { return params()->name; } 100 101 // initialization pass of all objects. 102 // Gets invoked after construction, before unserialize. 103 virtual void init(); |
104 static void initAll(); |
105 106 // register statistics for this object 107 virtual void regStats(); 108 virtual void regFormulas(); 109 virtual void resetStats(); 110 111 // static: call reg_stats on all SimObjects 112 static void regAllStats(); --- 31 unchanged lines hidden --- |